Home
last modified time | relevance | path

Searched refs:bpf_cmd (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dnetif_receive_skb.c174 TEST_BTF_C(str, enum bpf_cmd, 0, BPF_MAP_CREATE); in BPF_PROG()
175 TEST_BTF(str, enum bpf_cmd, 0, "(enum bpf_cmd)BPF_MAP_CREATE", 0); in BPF_PROG()
176 TEST_BTF(str, enum bpf_cmd, BTF_F_NONAME, "BPF_MAP_CREATE", in BPF_PROG()
178 TEST_BTF(str, enum bpf_cmd, BTF_F_NONAME|BTF_F_ZERO, in BPF_PROG()
181 TEST_BTF(str, enum bpf_cmd, BTF_F_ZERO, "(enum bpf_cmd)BPF_MAP_CREATE", in BPF_PROG()
183 TEST_BTF(str, enum bpf_cmd, BTF_F_NONAME|BTF_F_ZERO, in BPF_PROG()
185 TEST_BTF_C(str, enum bpf_cmd, 0, 2000); in BPF_PROG()
186 TEST_BTF(str, enum bpf_cmd, BTF_F_NONAME, "2000", 2000); in BPF_PROG()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dbtf_dump.c534 TEST_BTF_DUMP_DATA_C(btf, d, "enum", str, enum bpf_cmd, BTF_F_COMPACT, in test_btf_dump_enum_data()
536 TEST_BTF_DUMP_DATA(btf, d, "enum", str, enum bpf_cmd, BTF_F_COMPACT, in test_btf_dump_enum_data()
538 TEST_BTF_DUMP_DATA(btf, d, "enum", str, enum bpf_cmd, in test_btf_dump_enum_data()
542 TEST_BTF_DUMP_DATA(btf, d, "enum", str, enum bpf_cmd, 0, in test_btf_dump_enum_data()
545 TEST_BTF_DUMP_DATA(btf, d, "enum", str, enum bpf_cmd, in test_btf_dump_enum_data()
548 TEST_BTF_DUMP_DATA(btf, d, "enum", str, enum bpf_cmd, in test_btf_dump_enum_data()
552 TEST_BTF_DUMP_DATA(btf, d, "enum", str, enum bpf_cmd, in test_btf_dump_enum_data()
555 TEST_BTF_DUMP_DATA_C(btf, d, "enum", str, enum bpf_cmd, BTF_F_COMPACT, 2000); in test_btf_dump_enum_data()
556 TEST_BTF_DUMP_DATA(btf, d, "enum", str, enum bpf_cmd, in test_btf_dump_enum_data()
559 TEST_BTF_DUMP_DATA(btf, d, "enum", str, enum bpf_cmd, 0, in test_btf_dump_enum_data()
[all …]
/linux-6.1.9/tools/lib/bpf/
Dskel_internal.h71 static inline int skel_sys_bpf(enum bpf_cmd cmd, union bpf_attr *attr, in skel_sys_bpf()
Dbpf.c72 static inline int sys_bpf(enum bpf_cmd cmd, union bpf_attr *attr, in sys_bpf()
78 static inline int sys_bpf_fd(enum bpf_cmd cmd, union bpf_attr *attr, in sys_bpf_fd()
/linux-6.1.9/tools/include/uapi/linux/
Dbpf.h865 enum bpf_cmd { enum
/linux-6.1.9/include/uapi/linux/
Dbpf.h865 enum bpf_cmd { enum
/linux-6.1.9/tools/perf/
Dbuiltin-trace.c710 static const char *bpf_cmd[] = { variable
722 static DEFINE_STRARRAY(bpf_cmd, "BPF_");
926 .arg = { [0] = STRARRAY(cmd, bpf_cmd), }, },