Searched refs:bpf_attach_type (Results 1 - 25 of 40) sorted by last modified time

12

/linux-master/kernel/bpf/
H A Dverifier.c8830 enum bpf_attach_type eatype = env->prog->expected_attach_type;
19587 enum bpf_attach_type eatype = prog->expected_attach_type;
H A Dsyscall.c2526 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 Dtrampoline.c109 enum bpf_attach_type eatype = prog->expected_attach_type;
H A Dtoken.c271 enum bpf_attach_type attach_type)
H A Dcgroup.c138 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 Dbtf.c5802 enum bpf_attach_type attach_type)
6157 enum bpf_attach_type atype = prog->expected_attach_type;
/linux-master/include/linux/
H A Dbpf.h1451 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 Dbpf-cgroup.h39 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 Dlibbpf.c390 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 Dlibbpf_internal.h410 void btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type,
H A Dlibbpf.h59 * 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 Dbpf.h77 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 Dbpf.c629 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 Dtest_verifier.c163 enum bpf_attach_type expected_attach_type;
H A Dtest_sock_addr.c68 enum bpf_attach_type expected_attach_type;
69 enum bpf_attach_type attach_type;
H A Dveristat.c855 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 Dlibbpf_str.c18 * 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 Dctx_rewrite.c34 enum bpf_attach_type expected_attach_type;
689 enum bpf_attach_type expected_attach_type;
H A Dsockmap_basic.c274 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 Dsockmap_listen.c310 enum bpf_attach_type atype;
H A Dsockopt.c27 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 Dbpf.h110 __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 Dprog.c68 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 Dfilter.c8710 enum bpf_attach_type attach_type)
/linux-master/include/uapi/linux/
H A Dbpf.h110 __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

Completed in 464 milliseconds

12