| /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/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/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, \
|
| H A D | audit.h | 176 #define DEFINE_AUDIT_DATA(NAME, T, C, X) \ argument 178 struct apparmor_audit_data NAME = { \ 183 .common.apparmor_audit_data = &NAME, \
|
| /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/Documentation/ABI/stable/ |
| H A D | configfs-nvmet | 34 What: /config/nvmet/ports/N/referrals/NAME/addr_adrfam 35 What: /config/nvmet/ports/N/referrals/NAME/addr_portid 36 What: /config/nvmet/ports/N/referrals/NAME/addr_traddr 37 What: /config/nvmet/ports/N/referrals/NAME/addr_trsvcid 38 What: /config/nvmet/ports/N/referrals/NAME/addr_trtype 39 What: /config/nvmet/ports/N/referrals/NAME/addr_treq 40 What: /config/nvmet/ports/N/referrals/NAME/enable 109 What: /config/nvmet/subsystems/NAME/attr_allow_any_host 118 What: /config/nvmet/subsystems/NAME/namespaces/NSID/device_path 119 What: /config/nvmet/subsystems/NAME/namespaces/NSID/device_nguid [all …]
|
| /linux/tools/include/uapi/linux/ |
| H A D | stddef.h | 32 #define __struct_group(TAG, NAME, ATTRS, MEMBERS...) \ argument 35 struct __struct_group_tag(TAG) { MEMBERS } ATTRS NAME; \ 53 #define __DECLARE_FLEX_ARRAY(TYPE, NAME) \ argument 55 struct { } __empty_ ## NAME; \ 56 TYPE NAME[]; \
|
| /linux/kernel/sched/ext/ |
| H A D | types.h | 155 #define __SCX_CMASK_DEFINE(NAME, BASE, NR_CIDS, ALLOC_CIDS) \ argument 156 _DEFINE_FLEX(struct scx_cmask, NAME, bits, SCX_CMASK_NR_WORDS(ALLOC_CIDS), \ 170 #define SCX_CMASK_DEFINE(NAME, BASE, NR_CIDS) \ argument 171 __SCX_CMASK_DEFINE(NAME, BASE, NR_CIDS, NR_CIDS) 184 #define SCX_CMASK_DEFINE_SHARD(NAME, BASE, NR_CIDS) \ argument 185 __SCX_CMASK_DEFINE(NAME, BASE, NR_CIDS, SCX_CID_SHARD_MAX_CPUS)
|
| /linux/arch/loongarch/include/asm/ |
| H A D | inst.h | 550 #define DEF_EMIT_REG0I15_FORMAT(NAME, OP) \ argument 551 static inline void emit_##NAME(union loongarch_instruction *insn, \ 564 #define DEF_EMIT_REG0I26_FORMAT(NAME, OP) \ in DEF_EMIT_REG0I15_FORMAT() argument 565 static inline void emit_##NAME(union loongarch_instruction *insn, \ in DEF_EMIT_REG0I15_FORMAT() 582 #define DEF_EMIT_REG1I20_FORMAT(NAME, OP) \ argument 583 static inline void emit_##NAME(union loongarch_instruction *insn, \ 595 #define DEF_EMIT_REG2_FORMAT(NAME, OP) \ argument 596 static inline void emit_##NAME(union loongarch_instruction *insn, \ 611 #define DEF_EMIT_REG2I5_FORMAT(NAME, OP) \ argument 612 static inline void emit_##NAME(union loongarch_instruction *insn, \ [all …]
|
| /linux/scripts/livepatch/ |
| H A D | klp-build | 187 NAME="$(basename "$OUTFILE")" 188 NAME="${NAME%.ko}" 189 NAME="$(module_name_string "$NAME")" 297 [[ -v NAME ]] && return 0 300 NAME="$(basename "${PATCHES[0]}")" 301 NAME="${NAME%.*}" 303 NAME [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/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"
|
| H A D | fw_filesystem.sh | 45 if echo -n "nope-$NAME" >"$DIR"/trigger_request 2> /dev/null; then 60 if ! echo -n "$NAME" >"$DIR"/trigger_request ; then 78 if ! echo -n "$NAME" >"$DIR"/trigger_async_request ; then 105 if ! echo -n "nope-$NAME" >"$DIR"/trigger_request_platform ; then 500 config_set_name $NAME 509 config_set_name $NAME
|
| /linux/fs/xfs/ |
| H A D | xfs_mount.h | 417 #define __XFS_HAS_FEAT(name, NAME) \ argument 420 return mp->m_features & XFS_FEAT_ ## NAME; \ 424 #define __XFS_ADD_FEAT(name, NAME) \ argument 425 __XFS_HAS_FEAT(name, NAME); \ 428 mp->m_features |= XFS_FEAT_ ## NAME; \ 496 #define __XFS_HAS_V4_FEAT(name, NAME) \ argument 500 (mp->m_features & XFS_FEAT_ ## NAME); \ 503 #define __XFS_ADD_V4_FEAT(name, NAME) \ argument 504 __XFS_HAS_V4_FEAT(name, NAME); \ 508 mp->m_features |= XFS_FEAT_ ## NAME; \ [all …]
|
| /linux/tools/perf/tests/ |
| H A D | thread-map.c | 19 #define NAME (const char *) "perf" 20 #define NAMEUL (unsigned long) NAME macro 40 !strcmp(perf_thread_map__comm(map, 0), NAME)); in test__thread_map() 72 TEST_ASSERT_VAL("wrong comm", !strcmp(map->entries[0].comm, NAME)); in process_event() 82 !strcmp(perf_thread_map__comm(threads, 0), NAME)); in process_event()
|
| /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/security/bpf/ |
| H A D | hooks.c | 13 #define LSM_HOOK(RET, DEFAULT, NAME, ...) \ argument 14 LSM_HOOK_INIT(NAME, bpf_lsm_##NAME),
|
| /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/scripts/ |
| H A D | patch-kernel | 203 NAME=`grep ^NAME $sourcedir/Makefile` 204 NAME=${NAME##*=} 206 echo "Current kernel version is $VERSION.$PATCHLEVEL.$SUBLEVEL${EXTRAVERSION} ($NAME)"
|
| /linux/tools/bpf/bpftool/Documentation/ |
| H A D | bpftool-net.rst | 26 | **bpftool** **net** { **show** | **list** } [ **dev** *NAME* ] 27 | **bpftool** **net attach** *ATTACH_TYPE* *PROG* **dev** *NAME* [ **overwrite** | **prepend** ] 28 | **bpftool** **net detach** *ATTACH_TYPE* **dev** *NAME* 36 bpftool net { show | list } [ dev *NAME* ] 61 bpftool net attach *ATTACH_TYPE* *PROG* dev *NAME* [ overwrite | prepend ] 62 Attach bpf program *PROG* to network interface *NAME* with type specified 81 bpftool net detach *ATTACH_TYPE* dev *NAME* 82 Detach bpf program attached to network interface *NAME* with type specified
|
| /linux/kernel/bpf/ |
| H A D | bpf_lsm.c | 24 #define LSM_HOOK(RET, DEFAULT, NAME, ...) \ argument 25 __weak noinline RET bpf_lsm_##NAME(__VA_ARGS__) \ 33 #define LSM_HOOK(RET, DEFAULT, NAME, ...) BTF_ID(func, bpf_lsm_##NAME) argument 433 #define LSM_HOOK_void(DEFAULT, NAME, ...) BTF_ID(func, bpf_lsm_##NAME) in BTF_ID() argument 434 #define LSM_HOOK_int(DEFAULT, NAME, ...) /* nothing */ in BTF_ID() argument 435 #define LSM_HOOK(RET, DEFAULT, NAME, ...) LSM_HOOK_##RET(DEFAULT, NAME, __VA_ARGS__) in BTF_ID() argument
|
| /linux/tools/net/ynl/ |
| H A D | Makefile | 65 NAME=$$(basename $$spec) ; \ 68 echo "ok $$N $$NAME schema validation" ; \ 70 echo "not ok $$N $$NAME schema validation" ; \
|
| /linux/tools/testing/selftests/ftrace/test.d/dynevent/ |
| H A D | btf_probe_event.tc | 34 NAME=`echo $line | sed 's/.*name=\([^ ]*\) .*/\1/'` 36 if grep -q "myevent:.*name=\"${NAME}\" count=$COUNT" trace; then
|