Searched refs:bpf_attach_type (Results 1 – 17 of 17) sorted by relevance
/tools/testing/selftests/bpf/ |
D | test_section_names.c | 14 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()
|
D | test_sock.c | 30 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()
|
D | test_socket_cookie.c | 132 enum bpf_attach_type attach_type; in run_test()
|
D | test_sysctl.c | 32 enum bpf_attach_type attach_type; 1528 enum bpf_attach_type atype = test->attach_type; in run_test_case()
|
D | test_sock_addr.c | 64 enum bpf_attach_type expected_attach_type; 65 enum bpf_attach_type attach_type;
|
D | test_verifier.c | 115 enum bpf_attach_type expected_attach_type;
|
/tools/bpf/bpftool/ |
D | cgroup.c | 56 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()
|
D | prog.c | 36 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/ |
D | bpf.h | 75 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,
|
D | libbpf.h | 127 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;
|
D | bpf.c | 462 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()
|
D | libbpf.c | 189 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/ |
D | sockopt_multi.c | 7 enum bpf_attach_type attach_type; in prog_attach() 36 enum bpf_attach_type attach_type; in prog_detach()
|
D | sockopt_sk.c | 136 enum bpf_attach_type attach_type; in prog_attach()
|
D | sockopt_inherit.c | 141 enum bpf_attach_type attach_type; in prog_attach()
|
D | sockopt.c | 21 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/ |
D | bpf.h | 178 enum bpf_attach_type { enum
|