Home
last modified time | relevance | path

Searched refs:bpf_attach_type (Results 1 – 17 of 17) sorted by relevance

/tools/testing/selftests/bpf/
Dtest_section_names.c14 enum bpf_attach_type expected_attach_type;
18 enum bpf_attach_type attach_type;
151 enum bpf_attach_type expected_attach_type; in test_prog_type_by_name()
183 enum bpf_attach_type attach_type; in test_attach_type_by_name()
Dtest_sock.c30 enum bpf_attach_type expected_attach_type;
31 enum bpf_attach_type attach_type;
329 enum bpf_attach_type attach_type) in load_sock_prog()
350 enum bpf_attach_type attach_type) in attach_sock_prog()
Dtest_socket_cookie.c132 enum bpf_attach_type attach_type; in run_test()
Dtest_sysctl.c32 enum bpf_attach_type attach_type;
1528 enum bpf_attach_type atype = test->attach_type; in run_test_case()
Dtest_sock_addr.c64 enum bpf_attach_type expected_attach_type;
65 enum bpf_attach_type attach_type;
Dtest_verifier.c115 enum bpf_attach_type expected_attach_type;
/tools/bpf/bpftool/
Dcgroup.c56 static enum bpf_attach_type parse_attach_type(const char *str) in parse_attach_type()
58 enum bpf_attach_type type; in parse_attach_type()
107 static int count_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type) in count_attached_bpf_progs()
120 static int show_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type, in show_attached_bpf_progs()
163 enum bpf_attach_type type; in do_show()
230 enum bpf_attach_type type; in do_show_tree_fn()
376 enum bpf_attach_type attach_type; in do_attach()
436 enum bpf_attach_type attach_type; in do_detach()
Dprog.c36 static enum bpf_attach_type parse_attach_type(const char *str) in parse_attach_type()
38 enum bpf_attach_type type; in parse_attach_type()
678 enum bpf_attach_type *attach_type, in parse_attach_detach_args()
712 enum bpf_attach_type attach_type; in do_attach()
734 enum bpf_attach_type attach_type; in do_detach()
1098 enum bpf_attach_type expected_attach_type; in load_with_options()
/tools/lib/bpf/
Dbpf.h75 enum bpf_attach_type expected_attach_type;
126 enum bpf_attach_type type, unsigned int flags);
127 LIBBPF_API int bpf_prog_detach(int attachable_fd, enum bpf_attach_type type);
129 enum bpf_attach_type type);
164 LIBBPF_API int bpf_prog_query(int target_fd, enum bpf_attach_type type,
Dlibbpf.h127 enum bpf_attach_type *expected_attach_type);
129 enum bpf_attach_type *attach_type);
269 enum bpf_attach_type type);
348 enum bpf_attach_type expected_attach_type;
Dbpf.c462 int bpf_prog_attach(int prog_fd, int target_fd, enum bpf_attach_type type, in bpf_prog_attach()
476 int bpf_prog_detach(int target_fd, enum bpf_attach_type type) in bpf_prog_detach()
487 int bpf_prog_detach2(int prog_fd, int target_fd, enum bpf_attach_type type) in bpf_prog_detach2()
499 int bpf_prog_query(int target_fd, enum bpf_attach_type type, __u32 query_flags, in bpf_prog_query()
Dlibbpf.c189 enum bpf_attach_type expected_attach_type;
4457 enum bpf_attach_type type) in bpf_program__set_expected_attach_type()
4485 enum bpf_attach_type expected_attach_type;
4487 enum bpf_attach_type attach_type;
4587 enum bpf_attach_type *expected_attach_type) in libbpf_prog_type_by_name()
4613 enum bpf_attach_type *attach_type) in libbpf_attach_type_by_name()
4642 enum bpf_attach_type *expected_attach_type) in bpf_program__identify_section()
4815 enum bpf_attach_type expected_attach_type; in bpf_prog_load_xattr()
/tools/testing/selftests/bpf/prog_tests/
Dsockopt_multi.c7 enum bpf_attach_type attach_type; in prog_attach()
36 enum bpf_attach_type attach_type; in prog_detach()
Dsockopt_sk.c136 enum bpf_attach_type attach_type; in prog_attach()
Dsockopt_inherit.c141 enum bpf_attach_type attach_type; in prog_attach()
Dsockopt.c21 enum bpf_attach_type attach_type;
22 enum bpf_attach_type expected_attach_type;
853 enum bpf_attach_type expected_attach_type) in load_prog()
/tools/include/uapi/linux/
Dbpf.h178 enum bpf_attach_type { enum