Home
last modified time | relevance | path

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

/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()
/tools/include/uapi/linux/
Dbpf.h91 enum bpf_cmd { enum
/tools/lib/bpf/
Dbpf.c62 static inline int sys_bpf(enum bpf_cmd cmd, union bpf_attr *attr, in sys_bpf()
/tools/perf/
Dbuiltin-trace.c710 static const char *bpf_cmd[] = { variable
714 static DEFINE_STRARRAY(bpf_cmd, "BPF_");
918 .arg = { [0] = STRARRAY(cmd, bpf_cmd), }, },