| /linux/drivers/gpu/drm/amd/amdgpu/ ! |
| H A D | amdgpu_utils.h | 42 #define DECLARE_ATTR_CAP_CLASS_HELPERS(NAME) \ argument 43 enum { NAME##_BITMAP_BITS = NAME##_COUNT * AMDGPU_CAP_ATTR_BITS }; \ 44 struct NAME##_caps { \ 45 DECLARE_BITMAP(bmap, NAME##_BITMAP_BITS); \ 47 static inline unsigned int NAME##_ATTR_START(enum NAME##_cap_id cap) \ 49 static inline void NAME##_attr_init(struct NAME##_caps *c) \ 50 { if (c) bitmap_zero(c->bmap, NAME##_BITMAP_BITS); } \ 51 static inline int NAME##_attr_set(struct NAME##_caps *c, \ 52 enum NAME##_cap_id cap, enum amdgpu_cap_attr attr) \ 56 if (cap >= NAME##_COUNT) \ [all …]
|
| /linux/include/linux/ ! |
| H A D | fs_parser.h | 107 #define __fsparam(TYPE, NAME, OPT, FLAGS, DATA) \ argument 109 .name = NAME, \ 116 #define fsparam_flag(NAME, OPT) __fsparam(NULL, NAME, OPT, 0, NULL) argument 117 #define fsparam_flag_no(NAME, OPT) \ argument 118 __fsparam(NULL, NAME, OPT, fs_param_neg_with_no, NULL) 119 #define fsparam_bool(NAME, OPT) __fsparam(fs_param_is_bool, NAME, OPT, 0, NULL) argument 120 #define fsparam_u32(NAME, OPT) __fsparam(fs_param_is_u32, NAME, OPT, 0, NULL) argument 121 #define fsparam_u32oct(NAME, OPT) \ argument 122 __fsparam(fs_param_is_u32, NAME, OPT, 0, (void *)8) 123 #define fsparam_u32hex(NAME, OPT) \ argument [all …]
|
| H A D | stddef.h | 47 #define struct_group(NAME, MEMBERS...) \ argument 48 __struct_group(/* no tag */, NAME, /* no attrs */, MEMBERS) 63 #define struct_group_attr(NAME, ATTRS, MEMBERS...) \ argument 64 __struct_group(/* no tag */, NAME, ATTRS, MEMBERS) 80 #define struct_group_tagged(TAG, NAME, MEMBERS...) \ argument 81 __struct_group(TAG, NAME, /* no attrs */, MEMBERS) 93 #define DECLARE_FLEX_ARRAY(TYPE, NAME) \ argument 94 __DECLARE_FLEX_ARRAY(TYPE, NAME) 109 #define __TRAILING_OVERLAP(TYPE, NAME, FAM, ATTRS, MEMBERS) \ argument 111 TYPE NAME; \ [all …]
|
| H A D | lsm_hooks.h | 39 #define LSM_HOOK(RET, DEFAULT, NAME, ...) RET (*NAME)(__VA_ARGS__); argument 68 #define LSM_HOOK(RET, DEFAULT, NAME, ...) \ argument 69 struct lsm_static_call NAME[MAX_LSM_COUNT]; 136 #define LSM_HOOK_INIT(NAME, HOOK) \ argument 138 .scalls = static_calls_table.NAME, \ 139 .hook = { .NAME = HOOK } \
|
| /linux/tools/lib/bpf/ ! |
| H A D | libbpf_common.h | 46 #define ___libbpf_select(NAME, NUM) ___libbpf_cat(NAME, NUM) argument 49 #define ___libbpf_overload(NAME, ...) ___libbpf_select(NAME, ___libbpf_cnt(__VA_ARGS__))(__VA_ARGS_… argument 64 #define LIBBPF_OPTS(TYPE, NAME, ...) \ argument 65 struct TYPE NAME = ({ \ 66 memset(&NAME, 0, sizeof(struct TYPE)); \ 80 #define LIBBPF_OPTS_RESET(NAME, ...) \ argument 82 typeof(NAME) ___##NAME = ({ \ 83 memset(&___##NAME, 0, sizeof(NAME)); \ 84 (typeof(NAME)) { \ 85 .sz = sizeof(NAME), \ [all …]
|
| /linux/arch/alpha/include/asm/ ! |
| H A D | pal.h | 18 #define __CALL_PAL_R0(NAME, TYPE) \ argument 19 extern inline TYPE NAME(void) \ 23 "call_pal %1 # " #NAME \ 25 :"i" (PAL_ ## NAME) \ 30 #define __CALL_PAL_W1(NAME, TYPE0) \ argument 31 extern inline void NAME(TYPE0 arg0) \ 35 "call_pal %1 # "#NAME \ 37 : "i"(PAL_ ## NAME), "0"(__r16) \ 41 #define __CALL_PAL_W2(NAME, TYPE0, TYPE1) \ argument 42 extern inline void NAME(TYPE0 arg0, TYPE1 arg1) \ [all …]
|
| /linux/drivers/gpu/drm/msm/disp/mdp5/ ! |
| H A D | mdp5_kms.h | 186 #define NAME(n) [n] = #n in stage2name() macro 187 NAME(STAGE_UNUSED), NAME(STAGE_BASE), in stage2name() 188 NAME(STAGE0), NAME(STAGE1), NAME(STAGE2), in stage2name() 189 NAME(STAGE3), NAME(STAGE4), NAME(STAGE6), in stage2name() 190 #undef NAME in stage2name() 198 #define NAME(n) [SSPP_ ## n] = #n in pipe2name() macro 199 NAME(VIG0), NAME(VIG1), NAME(VIG2), in pipe2name() 200 NAME(RGB0), NAME(RGB1), NAME(RGB2), in pipe2name() 201 NAME(DMA0), NAME(DMA1), in pipe2name() 202 NAME(VIG3), NAME(RGB3), in pipe2name() [all …]
|
| /linux/arch/arm64/include/asm/ ! |
| H A D | hyp_image.h | 29 #define HYP_SECTION_NAME(NAME) .hyp##NAME argument 32 #define HYP_SECTION_SYMBOL_NAME(NAME) \ argument 33 HYP_CONCAT(__hyp_section_, HYP_SECTION_NAME(NAME)) 43 #define BEGIN_HYP_SECTION(NAME) \ argument 44 HYP_SECTION_NAME(NAME) : { \ 45 HYP_SECTION_SYMBOL_NAME(NAME) = .; 52 #define HYP_SECTION(NAME) \ argument 53 BEGIN_HYP_SECTION(NAME) \ 54 *(NAME NAME##.*) \
|
| /linux/drivers/gpu/drm/xe/ ! |
| H A D | xe_sriov_pf_sysfs.c | 82 #define XE_SRIOV_DEV_ATTR(NAME) \ argument 83 struct xe_sriov_dev_attr xe_sriov_dev_attr_##NAME = \ 84 __ATTR(NAME, 0644, xe_sriov_dev_attr_##NAME##_show, xe_sriov_dev_attr_##NAME##_store) 86 #define XE_SRIOV_DEV_ATTR_RO(NAME) \ argument 87 struct xe_sriov_dev_attr xe_sriov_dev_attr_##NAME = \ 88 __ATTR(NAME, 0444, xe_sriov_dev_attr_##NAME##_show, NULL) 90 #define XE_SRIOV_DEV_ATTR_WO(NAME) \ argument 91 struct xe_sriov_dev_attr xe_sriov_dev_attr_##NAME = \ 92 __ATTR(NAME, 0200, NULL, xe_sriov_dev_attr_##NAME##_store) 101 #define XE_SRIOV_VF_ATTR(NAME) \ argument [all …]
|
| /linux/security/apparmor/include/ ! |
| H A D | net.h | 60 #define DEFINE_AUDIT_NET(NAME, OP, CRED, SK, F, T, P) \ argument 61 struct lsm_network_audit NAME ## _net = { .sk = (SK), \ 63 DEFINE_AUDIT_DATA(NAME, \ 68 NAME.common.u.net = &(NAME ## _net); \ 69 NAME.subj_cred = (CRED); \ 70 NAME.net.type = (T); \ 71 NAME.net.protocol = (P) 73 #define DEFINE_AUDIT_SK(NAME, OP, CRED, SK) \ argument 74 DEFINE_AUDIT_NET(NAME, OP, CRED, SK, (SK)->sk_family, (SK)->sk_type, \
|
| /linux/arch/alpha/lib/ ! |
| H A D | callback_srm.S | 59 #define CALLBACK(NAME, CODE, ARG_CNT) \ argument 60 .align 4; .globl callback_##NAME; .ent callback_##NAME; callback_##NAME##: \ 61 ldgp $29,0($27); br $25,srm_dispatch; .word CODE, ARG_CNT; .end callback_##NAME 65 #define CALLBACK(NAME, CODE, ARG_CNT) \ argument 66 .align 3; .globl callback_##NAME; .ent callback_##NAME; callback_##NAME##: \ 67 lda $0,-1($31); ret; .end callback_##NAME
|
| /linux/drivers/mtd/maps/ ! |
| H A D | scx200_docflash.c | 21 #define NAME "scx200_docflash" macro 84 printk(KERN_DEBUG NAME ": NatSemi SCx200 DOCCS Flash Driver\n"); in init_scx200_docflash() 126 printk(KERN_ERR NAME ": unable to allocate memory for flash mapping\n"); in init_scx200_docflash() 134 printk(KERN_ERR NAME ": invalid size for flash mapping\n"); in init_scx200_docflash() 139 printk(KERN_ERR NAME ": invalid bus width for flash mapping\n"); in init_scx200_docflash() 147 printk(KERN_ERR NAME ": unable to allocate memory for flash mapping\n"); in init_scx200_docflash() 167 printk(KERN_INFO NAME ": DOCCS mapped at %pR, width %d\n", in init_scx200_docflash() 181 printk(KERN_ERR NAME ": failed to ioremap the flash\n"); in init_scx200_docflash() 188 printk(KERN_ERR NAME ": unable to detect flash\n"); in init_scx200_docflash() 195 printk(KERN_WARNING NAME ": warning, flash mapping is smaller than flash size\n"); in init_scx200_docflash()
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/ ! |
| H A D | smu_cmn.h | 233 #define SMU_METRICS_SCALAR(ID, UNIT, TYPEID, NAME) \ argument 234 u64 NAME##_ftype; \ 235 SMU_CTYPE(TYPEID) NAME 237 #define SMU_METRICS_ARRAY(ID, UNIT, TYPEID, NAME, SIZE) \ argument 238 u64 NAME##_ftype; \ 239 SMU_CTYPE(TYPEID) NAME[SIZE] 242 #define SMU_METRICS_INIT_SCALAR(ID, UNIT, TYPEID, NAME) \ argument 244 obj->NAME##_ftype = \ 246 obj->NAME = (SMU_CTYPE(TYPEID)) ~0; \ 250 #define SMU_METRICS_INIT_ARRAY(ID, UNIT, TYPEID, NAME, SIZE) \ argument [all …]
|
| /linux/arch/loongarch/include/asm/ ! |
| H A D | inst.h | 537 #define DEF_EMIT_REG0I15_FORMAT(NAME, OP) \ argument 538 static inline void emit_##NAME(union loongarch_instruction *insn, \ 550 #define DEF_EMIT_REG0I26_FORMAT(NAME, OP) \ in DEF_EMIT_REG0I15_FORMAT() argument 551 static inline void emit_##NAME(union loongarch_instruction *insn, \ in DEF_EMIT_REG0I15_FORMAT() 568 #define DEF_EMIT_REG1I20_FORMAT(NAME, OP) \ argument 569 static inline void emit_##NAME(union loongarch_instruction *insn, \ 581 #define DEF_EMIT_REG2_FORMAT(NAME, OP) \ argument 582 static inline void emit_##NAME(union loongarch_instruction *insn, \ 597 #define DEF_EMIT_REG2I5_FORMAT(NAME, OP) \ argument 598 static inline void emit_##NAME(union loongarch_instruction *insn, \ [all …]
|
| /linux/tools/include/uapi/linux/ ! |
| H A D | stddef.h | 33 #define __struct_group(TAG, NAME, ATTRS, MEMBERS...) \ argument 36 struct __struct_group_tag(TAG) { MEMBERS } ATTRS NAME; \ 49 #define __DECLARE_FLEX_ARRAY(TYPE, NAME) \ argument 51 struct { } __empty_ ## NAME; \ 52 TYPE NAME[]; \
|
| /linux/include/uapi/linux/ ! |
| H A D | stddef.h | 35 #define __struct_group(TAG, NAME, ATTRS, MEMBERS...) \ argument 38 struct __struct_group_tag(TAG) { MEMBERS } ATTRS NAME; \ 56 #define __DECLARE_FLEX_ARRAY(TYPE, NAME) \ argument 58 struct { } __empty_ ## NAME; \ 59 TYPE NAME[]; \
|
| /linux/scripts/livepatch/ ! |
| H A D | klp-build | 170 NAME="$(basename "$OUTFILE")" 171 NAME="${NAME%.ko}" 172 NAME="$(module_name_string "$NAME")" 269 [[ -v NAME ]] && return 0 272 NAME="$(basename "${PATCHES[0]}")" 273 NAME="${NAME%.*}" 275 NAME="patch" 278 NAME="livepatch-$NAME" 279 NAME="$(module_name_string "$NAME")" 281 OUTFILE="$NAME.ko" [all …]
|
| /linux/arch/sparc/kernel/ ! |
| H A D | sysfs.c | 19 #define SHOW_MMUSTAT_ULONG(NAME) \ argument 20 static ssize_t show_##NAME(struct device *dev, \ 24 return sprintf(buf, "%lu\n", p->NAME); \ 26 static DEVICE_ATTR(NAME, 0444, show_##NAME, NULL) 172 #define SHOW_CPUDATA_ULONG_NAME(NAME, MEMBER) \ argument 173 static ssize_t show_##NAME(struct device *dev, \ 180 #define SHOW_CPUDATA_UINT_NAME(NAME, MEMBER) \ argument 181 static ssize_t show_##NAME(struct device *dev, \
|
| /linux/fs/xfs/ ! |
| H A D | xfs_mount.h | 407 #define __XFS_HAS_FEAT(name, NAME) \ argument 410 return mp->m_features & XFS_FEAT_ ## NAME; \ 414 #define __XFS_ADD_FEAT(name, NAME) \ argument 415 __XFS_HAS_FEAT(name, NAME); \ 418 mp->m_features |= XFS_FEAT_ ## NAME; \ 486 #define __XFS_HAS_V4_FEAT(name, NAME) \ argument 490 (mp->m_features & XFS_FEAT_ ## NAME); \ 493 #define __XFS_ADD_V4_FEAT(name, NAME) \ argument 494 __XFS_HAS_V4_FEAT(name, NAME); \ 498 mp->m_features |= XFS_FEAT_ ## NAME; \ [all …]
|
| /linux/tools/testing/selftests/firmware/ ! |
| H A D | fw_fallback.sh | 160 DEVPATH="$DIR"/"nope-$NAME"/loading 164 echo -n "nope-$NAME" >"$DIR"/trigger_request 2>/dev/null & 203 load_fw "$NAME" "$0" 212 load_fw "$NAME" "$FW" 220 load_fw_cancel "nope-$NAME" "$FW" 229 load_fw_fallback_with_child "nope-signal-$NAME" "$FW"
|
| /linux/Documentation/admin-guide/aoe/ ! |
| H A D | udev.txt | 19 SUBSYSTEM=="aoe", KERNEL=="discover", NAME="etherd/%k", GROUP="disk", MODE="0220" 20 SUBSYSTEM=="aoe", KERNEL=="err", NAME="etherd/%k", GROUP="disk", MODE="0440" 21 SUBSYSTEM=="aoe", KERNEL=="interfaces", NAME="etherd/%k", GROUP="disk", MODE="0220" 22 SUBSYSTEM=="aoe", KERNEL=="revalidate", NAME="etherd/%k", GROUP="disk", MODE="0220" 23 SUBSYSTEM=="aoe", KERNEL=="flush", NAME="etherd/%k", GROUP="disk", MODE="0220"
|
| /linux/tools/testing/selftests/kmod/ ! |
| H A D | kmod.sh | 331 NAME='\000' 335 printf $NAME >"$DIR"/config_test_driver 342 NAME='\000' 346 printf $NAME >"$DIR"/config_test_fs 359 NAME="nope-$DEFAULT_KMOD_DRIVER" 362 config_set_driver $NAME 370 NAME="nope-$DEFAULT_KMOD_FS" 373 config_set_fs $NAME
|
| /linux/tools/perf/tests/ ! |
| H A D | thread-map.c | 20 #define NAME (const char *) "perf" macro 21 #define NAMEUL (unsigned long) NAME 41 !strcmp(perf_thread_map__comm(map, 0), NAME)); in test__thread_map() 73 TEST_ASSERT_VAL("wrong comm", !strcmp(map->entries[0].comm, NAME)); in process_event() 83 !strcmp(perf_thread_map__comm(threads, 0), NAME)); in process_event()
|
| /linux/drivers/clk/ ! |
| H A D | clk-lochnagar.c | 46 #define LN_PARENT(NAME) { .name = NAME, .fw_name = NAME } argument 84 #define LN1_CLK(ID, NAME, REG) \ argument 86 .name = NAME, \ 93 #define LN2_CLK(ID, NAME) \ argument 95 .name = NAME, \
|
| /linux/include/acpi/platform/ ! |
| H A D | acgcc.h | 69 #define ACPI_FLEX_ARRAY(TYPE, NAME) \ argument 71 struct { } __Empty_ ## NAME; \ 72 TYPE NAME[]; \
|