/linux-master/kernel/bpf/ |
H A D | verifier.c | 8830 enum bpf_attach_type eatype = env->prog->expected_attach_type; 19587 enum bpf_attach_type eatype = prog->expected_attach_type;
|
H A D | syscall.c | 2526 enum bpf_attach_type expected_attach_type, 3899 attach_type_to_prog_type(enum bpf_attach_type attach_type) 3972 enum bpf_attach_type attach_type)
|
H A D | trampoline.c | 109 enum bpf_attach_type eatype = prog->expected_attach_type;
|
H A D | token.c | 271 enum bpf_attach_type attach_type)
|
H A D | cgroup.c | 138 bpf_cgroup_atype_find(enum bpf_attach_type attach_type, u32 attach_btf_id) 184 bpf_cgroup_atype_find(enum bpf_attach_type attach_type, u32 attach_btf_id) 208 enum bpf_attach_type type, 251 enum bpf_attach_type attach_type) 610 enum bpf_attach_type type, u32 flags) 727 enum bpf_attach_type type, 951 struct bpf_cgroup_link *link, enum bpf_attach_type type) 1009 enum bpf_attach_type type) 1026 enum bpf_attach_type type = attr->query.attach_type;
|
H A D | btf.c | 5802 enum bpf_attach_type attach_type) 6157 enum bpf_attach_type atype = prog->expected_attach_type;
|
/linux-master/include/linux/ |
H A D | bpf.h | 1451 enum bpf_attach_type saved_dst_attach_type; 1546 enum bpf_attach_type expected_attach_type; /* For some prog types */ 1620 enum bpf_attach_type attach_type; 2350 enum bpf_attach_type attach_type);
|
H A D | bpf-cgroup.h | 39 to_cgroup_bpf_attach_type(enum bpf_attach_type attach_type) 106 enum bpf_attach_type type; 175 enum bpf_attach_type type);
|
/linux-master/tools/lib/bpf/ |
H A D | libbpf.c | 390 enum bpf_attach_type expected_attach_type; 455 enum bpf_attach_type expected_attach_type; 9152 enum bpf_attach_type bpf_program__get_expected_attach_type(const struct bpf_program *prog); 9154 enum bpf_attach_type bpf_program__expected_attach_type(const struct bpf_program *prog) 9160 enum bpf_attach_type type) 9342 enum bpf_attach_type exp_attach_type, 9518 enum bpf_attach_type *expected_attach_type) 9543 const char *libbpf_bpf_attach_type_str(enum bpf_attach_type t) 9708 void btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type, 9749 enum bpf_attach_type attach_typ [all...] |
H A D | libbpf_internal.h | 410 void btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type,
|
H A D | libbpf.h | 59 * returned for unknown **bpf_attach_type** values. 61 LIBBPF_API const char *libbpf_bpf_attach_type_str(enum bpf_attach_type t); 304 enum bpf_attach_type *expected_attach_type); 306 enum bpf_attach_type *attach_type); 308 enum bpf_attach_type attach_type); 869 LIBBPF_API enum bpf_attach_type 886 enum bpf_attach_type type); 1840 enum bpf_attach_type exp_attach_type,
|
H A D | bpf.h | 77 enum bpf_attach_type expected_attach_type; 331 enum bpf_attach_type type, unsigned int flags); 332 LIBBPF_API int bpf_prog_detach(int attachable_fd, enum bpf_attach_type type); 334 enum bpf_attach_type type); 373 enum bpf_attach_type type, 389 enum bpf_attach_type type, 444 enum bpf_attach_type attach_type, 614 LIBBPF_API int bpf_prog_query_opts(int target, enum bpf_attach_type type, 616 LIBBPF_API int bpf_prog_query(int target_fd, enum bpf_attach_type type,
|
H A D | bpf.c | 629 int bpf_prog_attach(int prog_fd, int target_fd, enum bpf_attach_type type, 639 int bpf_prog_attach_opts(int prog_fd, int target, enum bpf_attach_type type, 677 int bpf_prog_detach_opts(int prog_fd, int target, enum bpf_attach_type type, 714 int bpf_prog_detach(int target_fd, enum bpf_attach_type type) 719 int bpf_prog_detach2(int prog_fd, int target_fd, enum bpf_attach_type type) 725 enum bpf_attach_type attach_type, 928 int bpf_prog_query_opts(int target, enum bpf_attach_type type, 957 int bpf_prog_query(int target_fd, enum bpf_attach_type type, __u32 query_flags,
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_verifier.c | 163 enum bpf_attach_type expected_attach_type;
|
H A D | test_sock_addr.c | 68 enum bpf_attach_type expected_attach_type; 69 enum bpf_attach_type attach_type;
|
H A D | veristat.c | 855 enum bpf_attach_type *attach_type) 869 enum bpf_attach_type attach_type; 938 enum bpf_attach_type attach_type;
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | libbpf_str.c | 18 * Test case to check that all bpf_attach_type variants are covered by 32 /* find enum bpf_attach_type and enumerate each value */ 33 id = btf__find_by_name_kind(btf, "bpf_attach_type", BTF_KIND_ENUM); 40 enum bpf_attach_type attach_type = (enum bpf_attach_type)e->val;
|
H A D | ctx_rewrite.c | 34 enum bpf_attach_type expected_attach_type; 689 enum bpf_attach_type expected_attach_type;
|
H A D | sockmap_basic.c | 274 static void test_sockmap_skb_verdict_attach(enum bpf_attach_type first, 275 enum bpf_attach_type second) 315 static void test_sockmap_progs_query(enum bpf_attach_type attach_type)
|
H A D | sockmap_listen.c | 310 enum bpf_attach_type atype;
|
H A D | sockopt.c | 27 enum bpf_attach_type attach_type; 28 enum bpf_attach_type expected_attach_type; 934 enum bpf_attach_type expected_attach_type)
|
/linux-master/tools/include/uapi/linux/ |
H A D | bpf.h | 110 __u32 attach_type; /* program attach type (enum bpf_attach_type) */ 305 * attach the program to, and must be one of *bpf_attach_type* 1061 enum bpf_attach_type { enum
|
/linux-master/tools/bpf/bpftool/ |
H A D | prog.c | 68 static enum bpf_attach_type parse_attach_type(const char *str) 70 enum bpf_attach_type type; 1033 enum bpf_attach_type *attach_type, 1067 enum bpf_attach_type attach_type; 1089 enum bpf_attach_type attach_type; 1448 enum bpf_attach_type *expected_attach_type) 1519 enum bpf_attach_type expected_attach_type;
|
/linux-master/net/core/ |
H A D | filter.c | 8710 enum bpf_attach_type attach_type)
|
/linux-master/include/uapi/linux/ |
H A D | bpf.h | 110 __u32 attach_type; /* program attach type (enum bpf_attach_type) */ 305 * attach the program to, and must be one of *bpf_attach_type* 1061 enum bpf_attach_type { enum
|