arch/alpha/include/asm/io.h
134
#define REMAP1(TYPE, NAME, QUAL) \
arch/alpha/include/asm/io.h
135
static inline TYPE generic_##NAME(QUAL void __iomem *addr) \
arch/alpha/include/asm/io.h
137
return alpha_mv.mv_##NAME(addr); \
arch/alpha/include/asm/io.h
140
#define REMAP2(TYPE, NAME, QUAL) \
arch/alpha/include/asm/io.h
141
static inline void generic_##NAME(TYPE b, QUAL void __iomem *addr) \
arch/alpha/include/asm/io.h
143
alpha_mv.mv_##NAME(b, addr); \
arch/alpha/include/asm/pal.h
18
#define __CALL_PAL_R0(NAME, TYPE) \
arch/alpha/include/asm/pal.h
19
extern inline TYPE NAME(void) \
arch/alpha/include/asm/pal.h
23
"call_pal %1 # " #NAME \
arch/alpha/include/asm/pal.h
25
:"i" (PAL_ ## NAME) \
arch/alpha/include/asm/pal.h
30
#define __CALL_PAL_W1(NAME, TYPE0) \
arch/alpha/include/asm/pal.h
31
extern inline void NAME(TYPE0 arg0) \
arch/alpha/include/asm/pal.h
35
"call_pal %1 # "#NAME \
arch/alpha/include/asm/pal.h
37
: "i"(PAL_ ## NAME), "0"(__r16) \
arch/alpha/include/asm/pal.h
41
#define __CALL_PAL_W2(NAME, TYPE0, TYPE1) \
arch/alpha/include/asm/pal.h
42
extern inline void NAME(TYPE0 arg0, TYPE1 arg1) \
arch/alpha/include/asm/pal.h
47
"call_pal %2 # "#NAME \
arch/alpha/include/asm/pal.h
49
: "i"(PAL_ ## NAME), "0"(__r16), "1"(__r17) \
arch/alpha/include/asm/pal.h
53
#define __CALL_PAL_RW1(NAME, RTYPE, TYPE0) \
arch/alpha/include/asm/pal.h
54
extern inline RTYPE NAME(TYPE0 arg0) \
arch/alpha/include/asm/pal.h
59
"call_pal %2 # "#NAME \
arch/alpha/include/asm/pal.h
61
: "i"(PAL_ ## NAME), "0"(__r16) \
arch/alpha/include/asm/pal.h
66
#define __CALL_PAL_RW2(NAME, RTYPE, TYPE0, TYPE1) \
arch/alpha/include/asm/pal.h
67
extern inline RTYPE NAME(TYPE0 arg0, TYPE1 arg1) \
arch/alpha/include/asm/pal.h
73
"call_pal %3 # "#NAME \
arch/alpha/include/asm/pal.h
75
: "i"(PAL_ ## NAME), "0"(__r16), "1"(__r17) \
arch/alpha/kernel/srm_env.c
200
printk(KERN_INFO "%s: version %s loaded successfully\n", NAME,
arch/alpha/kernel/srm_env.c
214
printk(KERN_INFO "%s: unloaded successfully\n", NAME);
arch/arm64/include/asm/hyp_image.h
29
#define HYP_SECTION_NAME(NAME) .hyp##NAME
arch/arm64/include/asm/hyp_image.h
32
#define HYP_SECTION_SYMBOL_NAME(NAME) \
arch/arm64/include/asm/hyp_image.h
33
HYP_CONCAT(__hyp_section_, HYP_SECTION_NAME(NAME))
arch/arm64/include/asm/hyp_image.h
43
#define BEGIN_HYP_SECTION(NAME) \
arch/arm64/include/asm/hyp_image.h
44
HYP_SECTION_NAME(NAME) : { \
arch/arm64/include/asm/hyp_image.h
45
HYP_SECTION_SYMBOL_NAME(NAME) = .;
arch/arm64/include/asm/hyp_image.h
52
#define HYP_SECTION(NAME) \
arch/arm64/include/asm/hyp_image.h
53
BEGIN_HYP_SECTION(NAME) \
arch/arm64/include/asm/hyp_image.h
54
*(NAME NAME##.*) \
arch/loongarch/include/asm/inst.h
537
#define DEF_EMIT_REG0I15_FORMAT(NAME, OP) \
arch/loongarch/include/asm/inst.h
538
static inline void emit_##NAME(union loongarch_instruction *insn, \
arch/loongarch/include/asm/inst.h
550
#define DEF_EMIT_REG0I26_FORMAT(NAME, OP) \
arch/loongarch/include/asm/inst.h
551
static inline void emit_##NAME(union loongarch_instruction *insn, \
arch/loongarch/include/asm/inst.h
568
#define DEF_EMIT_REG1I20_FORMAT(NAME, OP) \
arch/loongarch/include/asm/inst.h
569
static inline void emit_##NAME(union loongarch_instruction *insn, \
arch/loongarch/include/asm/inst.h
581
#define DEF_EMIT_REG2_FORMAT(NAME, OP) \
arch/loongarch/include/asm/inst.h
582
static inline void emit_##NAME(union loongarch_instruction *insn, \
arch/loongarch/include/asm/inst.h
597
#define DEF_EMIT_REG2I5_FORMAT(NAME, OP) \
arch/loongarch/include/asm/inst.h
598
static inline void emit_##NAME(union loongarch_instruction *insn, \
arch/loongarch/include/asm/inst.h
613
#define DEF_EMIT_REG2I6_FORMAT(NAME, OP) \
arch/loongarch/include/asm/inst.h
614
static inline void emit_##NAME(union loongarch_instruction *insn, \
arch/loongarch/include/asm/inst.h
629
#define DEF_EMIT_REG2I12_FORMAT(NAME, OP) \
arch/loongarch/include/asm/inst.h
630
static inline void emit_##NAME(union loongarch_instruction *insn, \
arch/loongarch/include/asm/inst.h
659
#define DEF_EMIT_REG2I14_FORMAT(NAME, OP) \
arch/loongarch/include/asm/inst.h
660
static inline void emit_##NAME(union loongarch_instruction *insn, \
arch/loongarch/include/asm/inst.h
680
#define DEF_EMIT_REG2I16_FORMAT(NAME, OP) \
arch/loongarch/include/asm/inst.h
681
static inline void emit_##NAME(union loongarch_instruction *insn, \
arch/loongarch/include/asm/inst.h
710
#define DEF_EMIT_REG2BSTRD_FORMAT(NAME, OP) \
arch/loongarch/include/asm/inst.h
711
static inline void emit_##NAME(union loongarch_instruction *insn, \
arch/loongarch/include/asm/inst.h
726
#define DEF_EMIT_REG3_FORMAT(NAME, OP) \
arch/loongarch/include/asm/inst.h
727
static inline void emit_##NAME(union loongarch_instruction *insn, \
arch/loongarch/include/asm/inst.h
777
#define DEF_EMIT_REG3SA2_FORMAT(NAME, OP) \
arch/loongarch/include/asm/inst.h
778
static inline void emit_##NAME(union loongarch_instruction *insn, \
arch/powerpc/kernel/sysfs.c
102
smp_call_function_single(cpu->dev.id, read_##NAME, &val, 1); \
arch/powerpc/kernel/sysfs.c
106
store_##NAME(struct device *dev, struct device_attribute *attr, \
arch/powerpc/kernel/sysfs.c
114
smp_call_function_single(cpu->dev.id, write_##NAME, &val, 1); \
arch/powerpc/kernel/sysfs.c
118
#define SYSFS_PMCSETUP(NAME, ADDRESS) \
arch/powerpc/kernel/sysfs.c
119
__SYSFS_SPRSETUP_READ_WRITE(NAME, ADDRESS, ppc_enable_pmcs()) \
arch/powerpc/kernel/sysfs.c
120
__SYSFS_SPRSETUP_SHOW_STORE(NAME)
arch/powerpc/kernel/sysfs.c
121
#define SYSFS_SPRSETUP(NAME, ADDRESS) \
arch/powerpc/kernel/sysfs.c
122
__SYSFS_SPRSETUP_READ_WRITE(NAME, ADDRESS, ) \
arch/powerpc/kernel/sysfs.c
123
__SYSFS_SPRSETUP_SHOW_STORE(NAME)
arch/powerpc/kernel/sysfs.c
125
#define SYSFS_SPRSETUP_SHOW_STORE(NAME) \
arch/powerpc/kernel/sysfs.c
126
__SYSFS_SPRSETUP_SHOW_STORE(NAME)
arch/powerpc/kernel/sysfs.c
84
#define __SYSFS_SPRSETUP_READ_WRITE(NAME, ADDRESS, EXTRA) \
arch/powerpc/kernel/sysfs.c
85
static void read_##NAME(void *val) \
arch/powerpc/kernel/sysfs.c
89
static void write_##NAME(void *val) \
arch/powerpc/kernel/sysfs.c
95
#define __SYSFS_SPRSETUP_SHOW_STORE(NAME) \
arch/powerpc/kernel/sysfs.c
96
static ssize_t show_##NAME(struct device *dev, \
arch/s390/mm/pgalloc.c
206
#define BASE_ADDR_END_FUNC(NAME, SIZE) \
arch/s390/mm/pgalloc.c
207
static inline unsigned long base_##NAME##_addr_end(unsigned long addr, \
arch/sparc/kernel/sysfs.c
172
#define SHOW_CPUDATA_ULONG_NAME(NAME, MEMBER) \
arch/sparc/kernel/sysfs.c
173
static ssize_t show_##NAME(struct device *dev, \
arch/sparc/kernel/sysfs.c
180
#define SHOW_CPUDATA_UINT_NAME(NAME, MEMBER) \
arch/sparc/kernel/sysfs.c
181
static ssize_t show_##NAME(struct device *dev, \
arch/sparc/kernel/sysfs.c
19
#define SHOW_MMUSTAT_ULONG(NAME) \
arch/sparc/kernel/sysfs.c
20
static ssize_t show_##NAME(struct device *dev, \
arch/sparc/kernel/sysfs.c
24
return sprintf(buf, "%lu\n", p->NAME); \
arch/sparc/kernel/sysfs.c
26
static DEVICE_ATTR(NAME, 0444, show_##NAME, NULL)
drivers/block/null_blk/main.c
344
#define NULLB_DEVICE_ATTR(NAME, TYPE, APPLY) \
drivers/block/null_blk/main.c
346
nullb_device_##NAME##_show(struct config_item *item, char *page) \
drivers/block/null_blk/main.c
349
to_nullb_device(item)->NAME, page); \
drivers/block/null_blk/main.c
352
nullb_device_##NAME##_store(struct config_item *item, const char *page, \
drivers/block/null_blk/main.c
369
dev->NAME = new_value; \
drivers/block/null_blk/main.c
372
CONFIGFS_ATTR(nullb_device_, NAME);
drivers/char/nsc_gpio.c
126
printk(KERN_DEBUG NAME " initializing\n");
drivers/char/nsc_gpio.c
132
printk(KERN_DEBUG NAME " cleanup\n");
drivers/clk/clk-lochnagar.c
46
#define LN_PARENT(NAME) { .name = NAME, .fw_name = NAME }
drivers/clk/clk-lochnagar.c
84
#define LN1_CLK(ID, NAME, REG) \
drivers/clk/clk-lochnagar.c
86
.name = NAME, \
drivers/clk/clk-lochnagar.c
93
#define LN2_CLK(ID, NAME) \
drivers/clk/clk-lochnagar.c
95
.name = NAME, \
drivers/gpib/gpio/gpib_bitbang.c
1185
bb_free_irq(board, &priv->irq_DAV, NAME "_DAV");
drivers/gpib/gpio/gpib_bitbang.c
1186
bb_free_irq(board, &priv->irq_NRFD, NAME "_NRFD");
drivers/gpib/gpio/gpib_bitbang.c
1187
bb_free_irq(board, &priv->irq_NDAC, NAME "_NDAC");
drivers/gpib/gpio/gpib_bitbang.c
1188
bb_free_irq(board, &priv->irq_SRQ, NAME "_SRQ");
drivers/gpib/gpio/gpib_bitbang.c
1278
if (bb_get_irq(board, NAME "_DAV", DAV, &priv->irq_DAV, bb_DAV_interrupt, NULL,
drivers/gpib/gpio/gpib_bitbang.c
1283
if (bb_get_irq(board, NAME "_NRFD", NRFD, &priv->irq_NRFD, bb_NRFD_interrupt, NULL,
drivers/gpib/gpio/gpib_bitbang.c
1288
if (bb_get_irq(board, NAME "_NDAC", NDAC, &priv->irq_NDAC, bb_NDAC_interrupt, NULL,
drivers/gpib/gpio/gpib_bitbang.c
1293
if (bb_get_irq(board, NAME "_SRQ", SRQ, &priv->irq_SRQ, bb_SRQ_interrupt, NULL,
drivers/gpib/gpio/gpib_bitbang.c
1309
.name = NAME,
drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
1057
.name = NAME,
drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
2015
.name = NAME,
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
42
#define DECLARE_ATTR_CAP_CLASS_HELPERS(NAME) \
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
43
enum { NAME##_BITMAP_BITS = NAME##_COUNT * AMDGPU_CAP_ATTR_BITS }; \
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
44
struct NAME##_caps { \
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
45
DECLARE_BITMAP(bmap, NAME##_BITMAP_BITS); \
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
47
static inline unsigned int NAME##_ATTR_START(enum NAME##_cap_id cap) \
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
49
static inline void NAME##_attr_init(struct NAME##_caps *c) \
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
50
{ if (c) bitmap_zero(c->bmap, NAME##_BITMAP_BITS); } \
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
51
static inline int NAME##_attr_set(struct NAME##_caps *c, \
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
52
enum NAME##_cap_id cap, enum amdgpu_cap_attr attr) \
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
56
if (cap >= NAME##_COUNT) \
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
61
NAME##_ATTR_START(cap), AMDGPU_CAP_ATTR_BITS); \
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
64
static inline int NAME##_attr_get(const struct NAME##_caps *c, \
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
65
enum NAME##_cap_id cap, enum amdgpu_cap_attr *out) \
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
70
if (cap >= NAME##_COUNT) \
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
72
v = bitmap_read(c->bmap, NAME##_ATTR_START(cap), AMDGPU_CAP_ATTR_BITS); \
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
76
static inline bool NAME##_cap_is_ro(const struct NAME##_caps *c, enum NAME##_cap_id id) \
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
77
{ enum amdgpu_cap_attr a; return !NAME##_attr_get(c, id, &a) && a == AMDGPU_CAP_ATTR_RO; } \
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
78
static inline bool NAME##_cap_is_wo(const struct NAME##_caps *c, enum NAME##_cap_id id) \
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
79
{ enum amdgpu_cap_attr a; return !NAME##_attr_get(c, id, &a) && a == AMDGPU_CAP_ATTR_WO; } \
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
80
static inline bool NAME##_cap_is_rw(const struct NAME##_caps *c, enum NAME##_cap_id id) \
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
81
{ enum amdgpu_cap_attr a; return !NAME##_attr_get(c, id, &a) && a == AMDGPU_CAP_ATTR_RW; }
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
87
#define DECLARE_ATTR_CAP_CLASS(NAME, LIST_MACRO) \
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
88
enum NAME##_cap_id { LIST_MACRO(_CAP_ENUM_ELEM) NAME##_COUNT }; \
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
89
DECLARE_ATTR_CAP_CLASS_HELPERS(NAME)
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h
233
#define SMU_METRICS_SCALAR(ID, UNIT, TYPEID, NAME) \
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h
234
u64 NAME##_ftype; \
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h
235
SMU_CTYPE(TYPEID) NAME
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h
237
#define SMU_METRICS_ARRAY(ID, UNIT, TYPEID, NAME, SIZE) \
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h
238
u64 NAME##_ftype; \
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h
239
SMU_CTYPE(TYPEID) NAME[SIZE]
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h
242
#define SMU_METRICS_INIT_SCALAR(ID, UNIT, TYPEID, NAME) \
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h
244
obj->NAME##_ftype = \
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h
246
obj->NAME = (SMU_CTYPE(TYPEID)) ~0; \
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h
250
#define SMU_METRICS_INIT_ARRAY(ID, UNIT, TYPEID, NAME, SIZE) \
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h
252
obj->NAME##_ftype = \
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h
254
memset(obj->NAME, 0xFF, sizeof(obj->NAME)); \
drivers/gpu/drm/gma500/psb_intel_sdvo.c
1635
#define CHECK_PROPERTY(name, NAME) \
drivers/gpu/drm/gma500/psb_intel_sdvo.c
1639
cmd = SDVO_CMD_SET_##NAME; \
drivers/gpu/drm/gma500/psb_intel_sdvo.c
2227
#define ENHANCEMENT(name, NAME) do { \
drivers/gpu/drm/gma500/psb_intel_sdvo.c
2229
if (!psb_intel_sdvo_get_value(psb_intel_sdvo, SDVO_CMD_GET_MAX_##NAME, &data_value, 4) || \
drivers/gpu/drm/gma500/psb_intel_sdvo.c
2230
!psb_intel_sdvo_get_value(psb_intel_sdvo, SDVO_CMD_GET_##NAME, &response, 2)) \
drivers/gpu/drm/i915/display/intel_sdvo.c
1460
#define UPDATE_PROPERTY(input, NAME) \
drivers/gpu/drm/i915/display/intel_sdvo.c
1463
intel_sdvo_set_value(intel_sdvo, SDVO_CMD_SET_##NAME, &val, sizeof(val)); \
drivers/gpu/drm/i915/display/intel_sdvo.c
3112
#define _ENHANCEMENT(state_assignment, name, NAME) do { \
drivers/gpu/drm/i915/display/intel_sdvo.c
3114
if (!intel_sdvo_get_value(intel_sdvo, SDVO_CMD_GET_MAX_##NAME, &data_value, 4) || \
drivers/gpu/drm/i915/display/intel_sdvo.c
3115
!intel_sdvo_get_value(intel_sdvo, SDVO_CMD_GET_##NAME, &response, 2)) \
drivers/gpu/drm/i915/display/intel_sdvo.c
3128
#define ENHANCEMENT(state, name, NAME) _ENHANCEMENT((state)->name, name, NAME)
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.h
187
NAME(STAGE_UNUSED), NAME(STAGE_BASE),
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.h
188
NAME(STAGE0), NAME(STAGE1), NAME(STAGE2),
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.h
189
NAME(STAGE3), NAME(STAGE4), NAME(STAGE6),
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.h
199
NAME(VIG0), NAME(VIG1), NAME(VIG2),
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.h
200
NAME(RGB0), NAME(RGB1), NAME(RGB2),
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.h
201
NAME(DMA0), NAME(DMA1),
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.h
202
NAME(VIG3), NAME(RGB3),
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.h
203
NAME(CURSOR0), NAME(CURSOR1),
drivers/gpu/drm/xe/xe_gt.h
23
#define XE_ENGINE_INSTANCES_FROM_MASK(gt, NAME) \
drivers/gpu/drm/xe/xe_gt.h
24
(((gt)->info.engine_mask & XE_HW_ENGINE_##NAME##_MASK) >> XE_HW_ENGINE_##NAME##0)
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
2812
#define define_threshold_key_to_provision_case(TAG, NAME, VER...) \
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
351
#define encode_threshold_config(TAG, NAME, VER...) ({ \
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
575
#define define_threshold_attribute(TAG, NAME, ...) \
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
576
DEFINE_SRIOV_GT_THRESHOLD_DEBUGFS_ATTRIBUTE(NAME, MAKE_XE_GUC_KLV_THRESHOLD_INDEX(TAG));
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
597
#define register_threshold_attribute(TAG, NAME, VER...) ({ \
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
599
debugfs_create_file_unsafe("threshold_" #NAME, 0644, parent, parent, \
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
600
&NAME##_fops); \
drivers/gpu/drm/xe/xe_gt_sriov_pf_monitor.c
139
#define __value(TAG, NAME, ...) , #NAME, data->guc.events[MAKE_XE_GUC_KLV_THRESHOLD_INDEX(TAG)]
drivers/gpu/drm/xe/xe_guc_klv_helpers.c
65
#define define_threshold_key_to_string_case(TAG, NAME, ...) \
drivers/gpu/drm/xe/xe_guc_klv_helpers.c
68
return #NAME;
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
101
#define XE_SRIOV_VF_ATTR(NAME) \
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
102
struct xe_sriov_vf_attr xe_sriov_vf_attr_##NAME = \
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
103
__ATTR(NAME, 0644, xe_sriov_vf_attr_##NAME##_show, xe_sriov_vf_attr_##NAME##_store)
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
105
#define XE_SRIOV_VF_ATTR_RO(NAME) \
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
106
struct xe_sriov_vf_attr xe_sriov_vf_attr_##NAME = \
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
107
__ATTR(NAME, 0444, xe_sriov_vf_attr_##NAME##_show, NULL)
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
109
#define XE_SRIOV_VF_ATTR_WO(NAME) \
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
110
struct xe_sriov_vf_attr xe_sriov_vf_attr_##NAME = \
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
111
__ATTR(NAME, 0200, NULL, xe_sriov_vf_attr_##NAME##_store)
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
115
#define DEFINE_SIMPLE_BULK_PROVISIONING_SRIOV_DEV_ATTR_WO(NAME, ITEM, TYPE) \
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
117
static ssize_t xe_sriov_dev_attr_##NAME##_store(struct xe_device *xe, \
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
131
static XE_SRIOV_DEV_ATTR_WO(NAME)
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
199
#define DEFINE_SIMPLE_PROVISIONING_SRIOV_VF_ATTR(NAME, ITEM, TYPE, FORMAT) \
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
200
static ssize_t xe_sriov_vf_attr_##NAME##_show(struct xe_device *xe, unsigned int vfid, \
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
213
static ssize_t xe_sriov_vf_attr_##NAME##_store(struct xe_device *xe, unsigned int vfid, \
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
227
static XE_SRIOV_VF_ATTR(NAME)
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
298
#define DEFINE_SIMPLE_CONTROL_SRIOV_VF_ATTR(NAME) \
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
300
static ssize_t xe_sriov_vf_attr_##NAME##_store(struct xe_device *xe, unsigned int vfid, \
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
315
err = xe_sriov_pf_control_##NAME##_vf(xe, vfid); \
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
319
static XE_SRIOV_VF_ATTR_WO(NAME)
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
82
#define XE_SRIOV_DEV_ATTR(NAME) \
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
83
struct xe_sriov_dev_attr xe_sriov_dev_attr_##NAME = \
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
84
__ATTR(NAME, 0644, xe_sriov_dev_attr_##NAME##_show, xe_sriov_dev_attr_##NAME##_store)
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
86
#define XE_SRIOV_DEV_ATTR_RO(NAME) \
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
87
struct xe_sriov_dev_attr xe_sriov_dev_attr_##NAME = \
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
88
__ATTR(NAME, 0444, xe_sriov_dev_attr_##NAME##_show, NULL)
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
90
#define XE_SRIOV_DEV_ATTR_WO(NAME) \
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
91
struct xe_sriov_dev_attr xe_sriov_dev_attr_##NAME = \
drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c
92
__ATTR(NAME, 0200, NULL, xe_sriov_dev_attr_##NAME##_store)
drivers/gpu/drm/xe/xe_tile_sriov_pf_debugfs.c
131
#define DEFINE_SRIOV_TILE_CONFIG_DEBUGFS_ATTRIBUTE(NAME, CONFIG, TYPE, FORMAT) \
drivers/gpu/drm/xe/xe_tile_sriov_pf_debugfs.c
133
static int NAME##_set(void *data, u64 val) \
drivers/gpu/drm/xe/xe_tile_sriov_pf_debugfs.c
153
static int NAME##_get(void *data, u64 *val) \
drivers/gpu/drm/xe/xe_tile_sriov_pf_debugfs.c
163
DEFINE_DEBUGFS_ATTRIBUTE(NAME##_fops, NAME##_get, NAME##_set, FORMAT)
drivers/infiniband/hw/usnic/usnic_ib_sysfs.c
201
#define QPN_ATTR_RO(NAME) \
drivers/infiniband/hw/usnic/usnic_ib_sysfs.c
202
struct qpn_attribute qpn_attr_##NAME = __ATTR_RO(NAME)
drivers/input/misc/kxtj9.c
528
{ NAME },
drivers/input/misc/kxtj9.c
536
.name = NAME,
drivers/isdn/capi/capiutil.c
483
cdb = bufprint(cdb, "%-*s = 0x%x\n", slen, NAME, *(u8 *) (cmsg->m + cmsg->l));
drivers/isdn/capi/capiutil.c
487
cdb = bufprint(cdb, "%-*s = 0x%x\n", slen, NAME, *(u16 *) (cmsg->m + cmsg->l));
drivers/isdn/capi/capiutil.c
491
cdb = bufprint(cdb, "%-*s = 0x%lx\n", slen, NAME, *(u32 *) (cmsg->m + cmsg->l));
drivers/isdn/capi/capiutil.c
495
cdb = bufprint(cdb, "%-*s = ", slen, NAME);
drivers/isdn/capi/capiutil.c
511
cdb = bufprint(cdb, "%-*s = default\n", slen, NAME);
drivers/isdn/capi/capiutil.c
515
char *name = NAME;
drivers/mtd/maps/scx200_docflash.c
126
printk(KERN_ERR NAME ": unable to allocate memory for flash mapping\n");
drivers/mtd/maps/scx200_docflash.c
134
printk(KERN_ERR NAME ": invalid size for flash mapping\n");
drivers/mtd/maps/scx200_docflash.c
139
printk(KERN_ERR NAME ": invalid bus width for flash mapping\n");
drivers/mtd/maps/scx200_docflash.c
147
printk(KERN_ERR NAME ": unable to allocate memory for flash mapping\n");
drivers/mtd/maps/scx200_docflash.c
167
printk(KERN_INFO NAME ": DOCCS mapped at %pR, width %d\n",
drivers/mtd/maps/scx200_docflash.c
181
printk(KERN_ERR NAME ": failed to ioremap the flash\n");
drivers/mtd/maps/scx200_docflash.c
188
printk(KERN_ERR NAME ": unable to detect flash\n");
drivers/mtd/maps/scx200_docflash.c
195
printk(KERN_WARNING NAME ": warning, flash mapping is smaller than flash size\n");
drivers/mtd/maps/scx200_docflash.c
84
printk(KERN_DEBUG NAME ": NatSemi SCx200 DOCCS Flash Driver\n");
drivers/net/ethernet/intel/fm10k/fm10k_type.h
103
#define FM10K_EIMR_DISABLE(NAME) ((FM10K_EIMR_ ## NAME) << 0)
drivers/net/ethernet/intel/fm10k/fm10k_type.h
104
#define FM10K_EIMR_ENABLE(NAME) ((FM10K_EIMR_ ## NAME) << 1)
drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c
1303
#define MLXSW_SP_PTP_PORT_STAT(NAME, FIELD) \
drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c
1305
.str = NAME, \
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
298
#define MLXSW_SP_RIF_COUNTER_EXTRACT(NAME) \
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
299
(set->NAME = mlxsw_reg_ricnt_ ## NAME ## _get(ricnt_pl))
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
440
#define LN_FUNC(NAME, TYPE, OP) \
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
441
{ .name = NAME, .type = LN_FTYPE_##TYPE, .op = OP }
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
53
#define LN_PIN_GPIO(REV, ID, NAME, REG, SHIFT, INVERT) \
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
55
.name = NAME, .type = LN_PTYPE_GPIO, .reg = LOCHNAGAR##REV##_##REG, \
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
59
#define LN_PIN_SAIF(REV, ID, NAME) \
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
61
{ .name = NAME, .type = LN_PTYPE_AIF, }
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
69
#define LN1_PIN_GPIO(ID, NAME, REG, SHIFT, INVERT) \
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
70
LN_PIN_GPIO(1, ID, NAME, REG, SHIFT, INVERT)
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
72
#define LN1_PIN_MUX(ID, NAME) \
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
74
{ .name = NAME, .type = LN_PTYPE_MUX, .reg = LOCHNAGAR1_##ID, }
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
78
#define LN2_PIN_GPIO(ID, NAME, REG, SHIFT, INVERT) \
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
79
LN_PIN_GPIO(2, ID, NAME, REG, SHIFT, INVERT)
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
81
#define LN2_PIN_MUX(ID, NAME) \
drivers/pinctrl/cirrus/pinctrl-lochnagar.c
83
{ .name = NAME, .type = LN_PTYPE_MUX, .reg = LOCHNAGAR2_GPIO_##ID, }
drivers/pinctrl/pinctrl-tb10x.c
400
#define DEFPINFUNCGRP(NAME, PORT, MODE, ISGPIO) { \
drivers/pinctrl/pinctrl-tb10x.c
401
.name = __stringify(NAME), \
drivers/pinctrl/pinctrl-tb10x.c
402
.pins = NAME##_pins, .pincnt = ARRAY_SIZE(NAME##_pins), \
drivers/platform/x86/compal-laptop.c
367
#define SIMPLE_MASKED_STORE_SHOW(NAME, ADDR, MASK) \
drivers/platform/x86/compal-laptop.c
368
static ssize_t NAME##_show(struct device *dev, \
drivers/platform/x86/compal-laptop.c
373
static ssize_t NAME##_store(struct device *dev, \
drivers/platform/x86/hp/hp-bioscfg/bioscfg.c
673
if (elements[NAME].type != ACPI_TYPE_STRING) {
drivers/platform/x86/hp/hp-bioscfg/bioscfg.c
677
if (strlen(elements[NAME].string.pointer) == 0) {
drivers/platform/x86/hp/hp-bioscfg/bioscfg.c
688
ret = hp_convert_hexstr_to_str(elements[NAME].string.pointer,
drivers/platform/x86/hp/hp-bioscfg/bioscfg.c
689
elements[NAME].string.length,
drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c
111
[NAME] = ACPI_TYPE_STRING,
drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c
174
case NAME:
drivers/platform/x86/hp/hp-bioscfg/int-attributes.c
124
[NAME] = ACPI_TYPE_STRING,
drivers/platform/x86/hp/hp-bioscfg/order-list-attributes.c
112
[NAME] = ACPI_TYPE_STRING,
drivers/platform/x86/hp/hp-bioscfg/passwdobj-attributes.c
200
[NAME] = ACPI_TYPE_STRING,
drivers/platform/x86/hp/hp-bioscfg/string-attributes.c
115
[NAME] = ACPI_TYPE_STRING,
drivers/watchdog/it8712f_wdt.c
125
if (!request_muxed_region(REG, 2, NAME))
fs/proc/base.c
163
#define NOD(NAME, MODE, IOP, FOP, OP) { \
fs/proc/base.c
164
.name = (NAME), \
fs/proc/base.c
165
.len = sizeof(NAME) - 1, \
fs/proc/base.c
172
#define DIR(NAME, MODE, iops, fops) \
fs/proc/base.c
173
NOD(NAME, (S_IFDIR|(MODE)), &iops, &fops, {} )
fs/proc/base.c
174
#define LNK(NAME, get_link) \
fs/proc/base.c
175
NOD(NAME, (S_IFLNK|S_IRWXUGO), \
fs/proc/base.c
178
#define REG(NAME, MODE, fops) \
fs/proc/base.c
179
NOD(NAME, (S_IFREG|(MODE)), NULL, &fops, {})
fs/proc/base.c
180
#define ONE(NAME, MODE, show) \
fs/proc/base.c
181
NOD(NAME, (S_IFREG|(MODE)), \
fs/proc/base.c
184
#define ATTR(LSMID, NAME, MODE) \
fs/proc/base.c
185
NOD(NAME, (S_IFREG|(MODE)), \
fs/xfs/libxfs/xfs_ag.h
124
#define __XFS_AG_OPSTATE(name, NAME) \
fs/xfs/libxfs/xfs_ag.h
127
return test_bit(XFS_AGSTATE_ ## NAME, &pag->pag_opstate); \
fs/xfs/xfs_mount.h
407
#define __XFS_HAS_FEAT(name, NAME) \
fs/xfs/xfs_mount.h
410
return mp->m_features & XFS_FEAT_ ## NAME; \
fs/xfs/xfs_mount.h
414
#define __XFS_ADD_FEAT(name, NAME) \
fs/xfs/xfs_mount.h
415
__XFS_HAS_FEAT(name, NAME); \
fs/xfs/xfs_mount.h
418
mp->m_features |= XFS_FEAT_ ## NAME; \
fs/xfs/xfs_mount.h
486
#define __XFS_HAS_V4_FEAT(name, NAME) \
fs/xfs/xfs_mount.h
490
(mp->m_features & XFS_FEAT_ ## NAME); \
fs/xfs/xfs_mount.h
493
#define __XFS_ADD_V4_FEAT(name, NAME) \
fs/xfs/xfs_mount.h
494
__XFS_HAS_V4_FEAT(name, NAME); \
fs/xfs/xfs_mount.h
498
mp->m_features |= XFS_FEAT_ ## NAME; \
fs/xfs/xfs_mount.h
585
#define __XFS_IS_OPSTATE(name, NAME) \
fs/xfs/xfs_mount.h
588
return test_bit(XFS_OPSTATE_ ## NAME, &mp->m_opstate); \
fs/xfs/xfs_mount.h
592
return test_and_clear_bit(XFS_OPSTATE_ ## NAME, &mp->m_opstate); \
fs/xfs/xfs_mount.h
596
return test_and_set_bit(XFS_OPSTATE_ ## NAME, &mp->m_opstate); \
fs/xfs/xfs_super.c
121
#define fsparam_dead(NAME) \
fs/xfs/xfs_super.c
122
__fsparam(NULL, (NAME), Op_deprecated, fs_param_deprecated, NULL)
include/acpi/actypes.h
1327
#define ACPI_FLEX_ARRAY(TYPE, NAME) TYPE NAME[0]
include/acpi/platform/acgcc.h
69
#define ACPI_FLEX_ARRAY(TYPE, NAME) \
include/acpi/platform/acgcc.h
71
struct { } __Empty_ ## NAME; \
include/acpi/platform/acgcc.h
72
TYPE NAME[]; \
include/linux/bpf_lsm.h
17
#define LSM_HOOK(RET, DEFAULT, NAME, ...) \
include/linux/bpf_lsm.h
18
RET bpf_lsm_##NAME(__VA_ARGS__);
include/linux/fs.h
2302
#define MODULE_ALIAS_FS(NAME) MODULE_ALIAS("fs-" NAME)
include/linux/fs_parser.h
107
#define __fsparam(TYPE, NAME, OPT, FLAGS, DATA) \
include/linux/fs_parser.h
109
.name = NAME, \
include/linux/fs_parser.h
116
#define fsparam_flag(NAME, OPT) __fsparam(NULL, NAME, OPT, 0, NULL)
include/linux/fs_parser.h
117
#define fsparam_flag_no(NAME, OPT) \
include/linux/fs_parser.h
118
__fsparam(NULL, NAME, OPT, fs_param_neg_with_no, NULL)
include/linux/fs_parser.h
119
#define fsparam_bool(NAME, OPT) __fsparam(fs_param_is_bool, NAME, OPT, 0, NULL)
include/linux/fs_parser.h
120
#define fsparam_u32(NAME, OPT) __fsparam(fs_param_is_u32, NAME, OPT, 0, NULL)
include/linux/fs_parser.h
121
#define fsparam_u32oct(NAME, OPT) \
include/linux/fs_parser.h
122
__fsparam(fs_param_is_u32, NAME, OPT, 0, (void *)8)
include/linux/fs_parser.h
123
#define fsparam_u32hex(NAME, OPT) \
include/linux/fs_parser.h
124
__fsparam(fs_param_is_u32, NAME, OPT, 0, (void *)16)
include/linux/fs_parser.h
125
#define fsparam_s32(NAME, OPT) __fsparam(fs_param_is_s32, NAME, OPT, 0, NULL)
include/linux/fs_parser.h
126
#define fsparam_u64(NAME, OPT) __fsparam(fs_param_is_u64, NAME, OPT, 0, NULL)
include/linux/fs_parser.h
127
#define fsparam_enum(NAME, OPT, array) __fsparam(fs_param_is_enum, NAME, OPT, 0, array)
include/linux/fs_parser.h
128
#define fsparam_string(NAME, OPT) \
include/linux/fs_parser.h
129
__fsparam(fs_param_is_string, NAME, OPT, 0, NULL)
include/linux/fs_parser.h
130
#define fsparam_blob(NAME, OPT) __fsparam(fs_param_is_blob, NAME, OPT, 0, NULL)
include/linux/fs_parser.h
131
#define fsparam_bdev(NAME, OPT) __fsparam(fs_param_is_blockdev, NAME, OPT, 0, NULL)
include/linux/fs_parser.h
132
#define fsparam_path(NAME, OPT) __fsparam(fs_param_is_path, NAME, OPT, 0, NULL)
include/linux/fs_parser.h
133
#define fsparam_fd(NAME, OPT) __fsparam(fs_param_is_fd, NAME, OPT, 0, NULL)
include/linux/fs_parser.h
134
#define fsparam_file_or_string(NAME, OPT) \
include/linux/fs_parser.h
135
__fsparam(fs_param_is_file_or_string, NAME, OPT, 0, NULL)
include/linux/fs_parser.h
136
#define fsparam_uid(NAME, OPT) __fsparam(fs_param_is_uid, NAME, OPT, 0, NULL)
include/linux/fs_parser.h
137
#define fsparam_gid(NAME, OPT) __fsparam(fs_param_is_gid, NAME, OPT, 0, NULL)
include/linux/fs_parser.h
140
#define fsparam_string_empty(NAME, OPT) \
include/linux/fs_parser.h
141
__fsparam(fs_param_is_string, NAME, OPT, fs_param_can_be_empty, NULL)
include/linux/fsnotify_backend.h
517
#define FSNOTIFY_ITER_FUNCS(name, NAME) \
include/linux/fsnotify_backend.h
521
return fsnotify_iter_mark(iter_info, FSNOTIFY_ITER_TYPE_##NAME); \
include/linux/lsm_hooks.h
136
#define LSM_HOOK_INIT(NAME, HOOK) \
include/linux/lsm_hooks.h
138
.scalls = static_calls_table.NAME, \
include/linux/lsm_hooks.h
139
.hook = { .NAME = HOOK } \
include/linux/lsm_hooks.h
39
#define LSM_HOOK(RET, DEFAULT, NAME, ...) RET (*NAME)(__VA_ARGS__);
include/linux/lsm_hooks.h
68
#define LSM_HOOK(RET, DEFAULT, NAME, ...) \
include/linux/lsm_hooks.h
69
struct lsm_static_call NAME[MAX_LSM_COUNT];
include/linux/overflow.h
535
#define DEFINE_FLEX(TYPE, NAME, MEMBER, COUNTER, COUNT) \
include/linux/overflow.h
536
_DEFINE_FLEX(TYPE, NAME, MEMBER, COUNT, = { .COUNTER = COUNT, })
include/linux/seq_buf.h
27
#define DECLARE_SEQ_BUF(NAME, SIZE) \
include/linux/seq_buf.h
28
struct seq_buf NAME = { \
include/linux/stddef.h
109
#define __TRAILING_OVERLAP(TYPE, NAME, FAM, ATTRS, MEMBERS) \
include/linux/stddef.h
111
TYPE NAME; \
include/linux/stddef.h
129
#define TRAILING_OVERLAP(TYPE, NAME, FAM, MEMBERS) \
include/linux/stddef.h
130
__TRAILING_OVERLAP(TYPE, NAME, FAM, /* no attrs */, MEMBERS)
include/linux/stddef.h
47
#define struct_group(NAME, MEMBERS...) \
include/linux/stddef.h
48
__struct_group(/* no tag */, NAME, /* no attrs */, MEMBERS)
include/linux/stddef.h
63
#define struct_group_attr(NAME, ATTRS, MEMBERS...) \
include/linux/stddef.h
64
__struct_group(/* no tag */, NAME, ATTRS, MEMBERS)
include/linux/stddef.h
80
#define struct_group_tagged(TAG, NAME, MEMBERS...) \
include/linux/stddef.h
81
__struct_group(TAG, NAME, /* no attrs */, MEMBERS)
include/linux/stddef.h
93
#define DECLARE_FLEX_ARRAY(TYPE, NAME) \
include/linux/stddef.h
94
__DECLARE_FLEX_ARRAY(TYPE, NAME)
include/media/v4l2-subdev.h
1328
#define __v4l2_subdev_state_gen_call(NAME, _1, ARG, ...) \
include/media/v4l2-subdev.h
1329
__v4l2_subdev_state_get_ ## NAME ## ARG
include/uapi/linux/stddef.h
35
#define __struct_group(TAG, NAME, ATTRS, MEMBERS...) \
include/uapi/linux/stddef.h
38
struct __struct_group_tag(TAG) { MEMBERS } ATTRS NAME; \
include/uapi/linux/stddef.h
56
#define __DECLARE_FLEX_ARRAY(TYPE, NAME) \
include/uapi/linux/stddef.h
58
struct { } __empty_ ## NAME; \
include/uapi/linux/stddef.h
59
TYPE NAME[]; \
kernel/bpf/bpf_lsm.c
24
#define LSM_HOOK(RET, DEFAULT, NAME, ...) \
kernel/bpf/bpf_lsm.c
25
__weak noinline RET bpf_lsm_##NAME(__VA_ARGS__) \
kernel/bpf/bpf_lsm.c
33
#define LSM_HOOK(RET, DEFAULT, NAME, ...) BTF_ID(func, bpf_lsm_##NAME)
lib/alloc_tag.c
18
#define SECTION_START(NAME) (CODETAG_SECTION_START_PREFIX NAME)
lib/alloc_tag.c
19
#define SECTION_STOP(NAME) (CODETAG_SECTION_STOP_PREFIX NAME)
lib/fault-inject.c
361
#define FAULT_CONFIGFS_ATTR_NAMED(NAME, ATTR_NAME, MEMBER, TYPE) \
lib/fault-inject.c
362
static ssize_t fault_##NAME##_show(struct config_item *item, char *page) \
lib/fault-inject.c
366
static ssize_t fault_##NAME##_store(struct config_item *item, const char *page, size_t count) \
lib/fault-inject.c
371
CONFIGFS_ATTR_NAMED(fault_, NAME, ATTR_NAME)
lib/fault-inject.c
373
#define FAULT_CONFIGFS_ATTR(NAME, TYPE) \
lib/fault-inject.c
374
FAULT_CONFIGFS_ATTR_NAMED(NAME, __stringify(NAME), NAME, TYPE)
net/core/net-sysfs.c
1667
#define BQL_ATTR(NAME, FIELD) \
net/core/net-sysfs.c
1668
static ssize_t bql_show_ ## NAME(struct kobject *kobj, \
net/core/net-sysfs.c
1675
static ssize_t bql_set_ ## NAME(struct kobject *kobj, \
net/core/net-sysfs.c
1683
static struct netdev_queue_attribute bql_ ## NAME ## _attribute __ro_after_init \
net/core/net-sysfs.c
1684
= __ATTR(NAME, 0644, \
net/core/net-sysfs.c
1685
bql_show_ ## NAME, bql_set_ ## NAME)
scripts/gcc-plugins/gcc-common.h
150
#define PASS_INFO(NAME, REF, ID, POS) \
scripts/gcc-plugins/gcc-common.h
151
struct register_pass_info NAME##_pass_info = { \
scripts/gcc-plugins/gcc-common.h
152
.pass = make_##NAME##_pass(), \
security/apparmor/apparmorfs.c
1126
#define SEQ_PROFILE_FOPS(NAME) \
security/apparmor/apparmorfs.c
1127
static int seq_profile_ ##NAME ##_open(struct inode *inode, struct file *file)\
security/apparmor/apparmorfs.c
1129
return seq_profile_open(inode, file, seq_profile_ ##NAME ##_show); \
security/apparmor/apparmorfs.c
1132
static const struct file_operations seq_profile_ ##NAME ##_fops = { \
security/apparmor/apparmorfs.c
1134
.open = seq_profile_ ##NAME ##_open, \
security/apparmor/apparmorfs.c
1228
#define SEQ_NS_FOPS(NAME) \
security/apparmor/apparmorfs.c
1229
static int seq_ns_ ##NAME ##_open(struct inode *inode, struct file *file) \
security/apparmor/apparmorfs.c
1231
return single_open(file, seq_ns_ ##NAME ##_show, inode->i_private); \
security/apparmor/apparmorfs.c
1234
static const struct file_operations seq_ns_ ##NAME ##_fops = { \
security/apparmor/apparmorfs.c
1236
.open = seq_ns_ ##NAME ##_open, \
security/apparmor/apparmorfs.c
1318
#define SEQ_RAWDATA_FOPS(NAME) \
security/apparmor/apparmorfs.c
1319
static int seq_rawdata_ ##NAME ##_open(struct inode *inode, struct file *file)\
security/apparmor/apparmorfs.c
1321
return seq_rawdata_open(inode, file, seq_rawdata_ ##NAME ##_show); \
security/apparmor/apparmorfs.c
1324
static const struct file_operations seq_rawdata_ ##NAME ##_fops = { \
security/apparmor/apparmorfs.c
1326
.open = seq_rawdata_ ##NAME ##_open, \
security/apparmor/include/audit.h
176
#define DEFINE_AUDIT_DATA(NAME, T, C, X) \
security/apparmor/include/audit.h
178
struct apparmor_audit_data NAME = { \
security/apparmor/include/audit.h
183
.common.apparmor_audit_data = &NAME, \
security/apparmor/include/net.h
60
#define DEFINE_AUDIT_NET(NAME, OP, CRED, SK, F, T, P) \
security/apparmor/include/net.h
61
struct lsm_network_audit NAME ## _net = { .sk = (SK), \
security/apparmor/include/net.h
63
DEFINE_AUDIT_DATA(NAME, \
security/apparmor/include/net.h
68
NAME.common.u.net = &(NAME ## _net); \
security/apparmor/include/net.h
69
NAME.subj_cred = (CRED); \
security/apparmor/include/net.h
70
NAME.net.type = (T); \
security/apparmor/include/net.h
71
NAME.net.protocol = (P)
security/apparmor/include/net.h
73
#define DEFINE_AUDIT_SK(NAME, OP, CRED, SK) \
security/apparmor/include/net.h
74
DEFINE_AUDIT_NET(NAME, OP, CRED, SK, (SK)->sk_family, (SK)->sk_type, \
security/bpf/hooks.c
11
#define LSM_HOOK(RET, DEFAULT, NAME, ...) \
security/bpf/hooks.c
12
LSM_HOOK_INIT(NAME, bpf_lsm_##NAME),
security/security.c
107
#define LSM_HOOK_TRAMP(NAME, NUM) \
security/security.c
108
&STATIC_CALL_TRAMP(LSM_STATIC_CALL(NAME, NUM))
security/security.c
110
#define LSM_HOOK_TRAMP(NAME, NUM) NULL
security/security.c
116
#define DEFINE_LSM_STATIC_CALL(NUM, NAME, RET, ...) \
security/security.c
117
DEFINE_STATIC_CALL_NULL(LSM_STATIC_CALL(NAME, NUM), \
security/security.c
119
static DEFINE_STATIC_KEY_FALSE(SECURITY_HOOK_ACTIVE_KEY(NAME, NUM));
security/security.c
121
#define LSM_HOOK(RET, DEFAULT, NAME, ...) \
security/security.c
122
LSM_DEFINE_UNROLL(DEFINE_LSM_STATIC_CALL, NAME, RET, __VA_ARGS__)
security/security.c
140
#define INIT_LSM_STATIC_CALL(NUM, NAME) \
security/security.c
142
.key = &STATIC_CALL_KEY(LSM_STATIC_CALL(NAME, NUM)), \
security/security.c
143
.trampoline = LSM_HOOK_TRAMP(NAME, NUM), \
security/security.c
144
.active = &SECURITY_HOOK_ACTIVE_KEY(NAME, NUM), \
security/security.c
146
#define LSM_HOOK(RET, DEFAULT, NAME, ...) \
security/security.c
147
.NAME = { \
security/security.c
148
LSM_DEFINE_UNROLL(INIT_LSM_STATIC_CALL, NAME) \
security/security.c
422
#define LSM_RET_DEFAULT(NAME) (NAME##_default)
security/security.c
423
#define DECLARE_LSM_RET_DEFAULT_void(DEFAULT, NAME)
security/security.c
424
#define DECLARE_LSM_RET_DEFAULT_int(DEFAULT, NAME) \
security/security.c
425
static const int __maybe_unused LSM_RET_DEFAULT(NAME) = (DEFAULT);
security/security.c
426
#define LSM_HOOK(RET, DEFAULT, NAME, ...) \
security/security.c
427
DECLARE_LSM_RET_DEFAULT_##RET(DEFAULT, NAME)
security/security.c
473
#define lsm_for_each_hook(scall, NAME) \
security/security.c
474
for (scall = static_calls_table.NAME; \
security/security.c
475
scall - static_calls_table.NAME < MAX_LSM_COUNT; scall++) \
sound/parisc/harmony.c
71
#define PFX NAME ": "
sound/soc/soc-pcm.c
449
#define __soc_pcm_apply_symmetry(name, NAME) \
sound/soc/soc-pcm.c
456
SNDRV_PCM_HW_PARAM_##NAME,\
tools/arch/loongarch/include/asm/inst.h
159
#define DEF_EMIT_REG2I16_FORMAT(NAME, OP) \
tools/arch/loongarch/include/asm/inst.h
160
static inline void emit_##NAME(union loongarch_instruction *insn, \
tools/include/uapi/linux/stddef.h
33
#define __struct_group(TAG, NAME, ATTRS, MEMBERS...) \
tools/include/uapi/linux/stddef.h
36
struct __struct_group_tag(TAG) { MEMBERS } ATTRS NAME; \
tools/include/uapi/linux/stddef.h
49
#define __DECLARE_FLEX_ARRAY(TYPE, NAME) \
tools/include/uapi/linux/stddef.h
51
struct { } __empty_ ## NAME; \
tools/include/uapi/linux/stddef.h
52
TYPE NAME[]; \
tools/lib/bpf/libbpf_common.h
46
#define ___libbpf_select(NAME, NUM) ___libbpf_cat(NAME, NUM)
tools/lib/bpf/libbpf_common.h
49
#define ___libbpf_overload(NAME, ...) ___libbpf_select(NAME, ___libbpf_cnt(__VA_ARGS__))(__VA_ARGS__)
tools/lib/bpf/libbpf_common.h
64
#define LIBBPF_OPTS(TYPE, NAME, ...) \
tools/lib/bpf/libbpf_common.h
65
struct TYPE NAME = ({ \
tools/lib/bpf/libbpf_common.h
66
memset(&NAME, 0, sizeof(struct TYPE)); \
tools/lib/bpf/libbpf_common.h
80
#define LIBBPF_OPTS_RESET(NAME, ...) \
tools/lib/bpf/libbpf_common.h
82
typeof(NAME) ___##NAME = ({ \
tools/lib/bpf/libbpf_common.h
83
memset(&___##NAME, 0, sizeof(NAME)); \
tools/lib/bpf/libbpf_common.h
84
(typeof(NAME)) { \
tools/lib/bpf/libbpf_common.h
85
.sz = sizeof(NAME), \
tools/lib/bpf/libbpf_common.h
89
memcpy(&NAME, &___##NAME, sizeof(NAME)); \
tools/perf/builtin-diff.c
1712
width = (int) strlen(NAME);
tools/perf/builtin-diff.c
1717
dfmt->header_width, NAME);
tools/perf/tests/thread-map.c
21
#define NAMEUL (unsigned long) NAME
tools/perf/tests/thread-map.c
41
!strcmp(perf_thread_map__comm(map, 0), NAME));
tools/perf/tests/thread-map.c
73
TEST_ASSERT_VAL("wrong comm", !strcmp(map->entries[0].comm, NAME));
tools/perf/tests/thread-map.c
83
!strcmp(perf_thread_map__comm(threads, 0), NAME));
tools/testing/selftests/bpf/benchs/bench_trigger.c
560
#define BENCH_TRIG_KERNEL(KIND, NAME) \
tools/testing/selftests/bpf/benchs/bench_trigger.c
562
.name = "trig-" NAME, \
tools/testing/selftests/bpf/benchs/bench_trigger.c
585
#define BENCH_TRIG_USERMODE(KIND, PRODUCER, NAME) \
tools/testing/selftests/bpf/benchs/bench_trigger.c
587
.name = "trig-" NAME, \
tools/testing/selftests/bpf/prog_tests/cgroup_getset_retval.c
462
#define BPF_RETVAL_HOOK(NAME, SECTION, CTX, EXPECTED_ERR) \
tools/testing/selftests/bpf/prog_tests/cgroup_getset_retval.c
464
.name = #NAME, \
tools/testing/selftests/bpf/prog_tests/dmabuf_iter.c
190
} else if (f % FIELD_COUNT == NAME) {
tools/testing/selftests/bpf/prog_tests/sk_assign.c
211
#define TEST(NAME, FAMILY, TYPE, REWRITE) \
tools/testing/selftests/bpf/prog_tests/sk_assign.c
213
.name = NAME, \
tools/testing/selftests/bpf/progs/bpf_flow.c
23
#define PROG_(NUM, NAME) SEC("flow_dissector") int flow_dissector_##NUM
tools/testing/selftests/bpf/progs/verifier_gotox.c
11
#define DEFINE_SIMPLE_JUMP_TABLE_PROG(NAME, SRC_REG, OFF, IMM, OUTCOME) \
tools/testing/selftests/bpf/progs/verifier_gotox.c
15
__naked void jump_table_ ## NAME(void) \
tools/testing/selftests/bpf/uprobe_multi.c
29
#define DEF(name, idx) int __attribute__((weak)) NAME(name, idx)(void) { return 0; }
tools/testing/selftests/bpf/uprobe_multi.c
30
#define CALL(name, idx) NAME(name, idx)();
tools/testing/selftests/kvm/arm64/set_id_regs.c
47
#define __REG_FTR_BITS(NAME, SIGNED, TYPE, SHIFT, MASK, SAFE_VAL) \
tools/testing/selftests/kvm/arm64/set_id_regs.c
49
.name = #NAME, \