| /tools/testing/selftests/bpf/prog_tests/ |
| D | section_names.c | 12 enum bpf_attach_type expected_attach_type; 16 enum bpf_attach_type attach_type; 210 enum bpf_attach_type expected_attach_type; in test_prog_type_by_name() 234 enum bpf_attach_type attach_type; in test_attach_type_by_name()
|
| D | libbpf_str.c | 40 enum bpf_attach_type attach_type = (enum bpf_attach_type)e->val; in test_libbpf_bpf_attach_type_str()
|
| D | sockopt.c | 28 enum bpf_attach_type attach_type; 29 enum bpf_attach_type expected_attach_type; 966 enum bpf_attach_type expected_attach_type) in load_prog()
|
| D | ctx_rewrite.c | 35 enum bpf_attach_type expected_attach_type; 635 enum bpf_attach_type expected_attach_type;
|
| D | sockmap_basic.c | 333 static void test_sockmap_skb_verdict_attach(enum bpf_attach_type first, in test_sockmap_skb_verdict_attach() 334 enum bpf_attach_type second) in test_sockmap_skb_verdict_attach() 408 static void test_sockmap_progs_query(enum bpf_attach_type attach_type) in test_sockmap_progs_query()
|
| D | sock_addr.c | 67 enum bpf_attach_type attach_type, 358 enum bpf_attach_type attach_type; 382 enum bpf_attach_type attach_type, \ 414 enum bpf_attach_type attach_type, \
|
| /tools/lib/bpf/ |
| 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,
|
| D | libbpf_legacy.h | 131 LIBBPF_API enum bpf_attach_type bpf_program__get_expected_attach_type(const struct bpf_program *pro…
|
| D | bpf_gen_internal.h | 68 void bpf_gen__record_attach_target(struct bpf_gen *gen, const char *name, enum bpf_attach_type type…
|
| D | libbpf.h | 61 LIBBPF_API const char *libbpf_bpf_attach_type_str(enum bpf_attach_type t); 315 enum bpf_attach_type *expected_attach_type); 317 enum bpf_attach_type *attach_type); 319 enum bpf_attach_type attach_type); 895 LIBBPF_API enum bpf_attach_type 912 enum bpf_attach_type type); 1896 enum bpf_attach_type exp_attach_type,
|
| D | bpf.c | 629 int bpf_prog_attach(int prog_fd, int target_fd, enum bpf_attach_type type, in bpf_prog_attach() 639 int bpf_prog_attach_opts(int prog_fd, int target, enum bpf_attach_type type, in bpf_prog_attach_opts() 677 int bpf_prog_detach_opts(int prog_fd, int target, enum bpf_attach_type type, in bpf_prog_detach_opts() 714 int bpf_prog_detach(int target_fd, enum bpf_attach_type type) in bpf_prog_detach() 719 int bpf_prog_detach2(int prog_fd, int target_fd, enum bpf_attach_type type) in bpf_prog_detach2() 725 enum bpf_attach_type attach_type, in bpf_link_create() 930 int bpf_prog_query_opts(int target, enum bpf_attach_type type, in bpf_prog_query_opts() 959 int bpf_prog_query(int target_fd, enum bpf_attach_type type, __u32 query_flags, in bpf_prog_query()
|
| D | skel_internal.h | 290 enum bpf_attach_type attach_type) in skel_link_create()
|
| D | libbpf_internal.h | 413 void btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type,
|
| D | libbpf.c | 417 enum bpf_attach_type expected_attach_type; 482 enum bpf_attach_type expected_attach_type; 9324 enum bpf_attach_type bpf_program__get_expected_attach_type(const struct bpf_program *prog); 9326 enum bpf_attach_type bpf_program__expected_attach_type(const struct bpf_program *prog) in bpf_program__expected_attach_type() 9332 enum bpf_attach_type type) in bpf_program__set_expected_attach_type() 9517 enum bpf_attach_type exp_attach_type, in libbpf_register_prog_handler() 9693 enum bpf_attach_type *expected_attach_type) in libbpf_prog_type_by_name() 9718 const char *libbpf_bpf_attach_type_str(enum bpf_attach_type t) in libbpf_bpf_attach_type_str() 9885 void btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type, in btf_get_kernel_prefix_kind() 9926 enum bpf_attach_type attach_type) in find_attach_btf_id() [all …]
|
| D | gen_loader.c | 527 enum bpf_attach_type type) in bpf_gen__record_attach_target()
|
| /tools/bpf/bpftool/ |
| D | cgroup.c | 77 static enum bpf_attach_type parse_attach_type(const char *str) in parse_attach_type() 80 enum bpf_attach_type type; in parse_attach_type() 130 static int show_bpf_prog(int id, enum bpf_attach_type attach_type, in show_bpf_prog() 203 static int count_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type) in count_attached_bpf_progs() 236 static int show_effective_bpf_progs(int cgroup_fd, enum bpf_attach_type type, in show_effective_bpf_progs() 261 static int show_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type, in show_attached_bpf_progs() 311 static int show_bpf_progs(int cgroup_fd, enum bpf_attach_type type, in show_bpf_progs() 546 enum bpf_attach_type attach_type; in do_attach() 606 enum bpf_attach_type attach_type; in do_detach()
|
| D | prog.c | 68 static enum bpf_attach_type parse_attach_type(const char *str) in parse_attach_type() 70 enum bpf_attach_type type; in parse_attach_type() 1040 enum bpf_attach_type *attach_type, in parse_attach_detach_args() 1074 enum bpf_attach_type attach_type; in do_attach() 1096 enum bpf_attach_type attach_type; in do_detach() 1455 enum bpf_attach_type *expected_attach_type) in get_prog_type_by_name() 1526 enum bpf_attach_type expected_attach_type; in load_with_options()
|
| D | main.h | 261 const char *bpf_attach_type_input_str(enum bpf_attach_type t);
|
| D | common.c | 1135 const char *bpf_attach_type_input_str(enum bpf_attach_type t) in bpf_attach_type_input_str()
|
| D | net.c | 462 const enum bpf_attach_type loc) in __show_dev_tc_bpf()
|
| /tools/testing/selftests/bpf/ |
| D | test_sock.c | 29 enum bpf_attach_type expected_attach_type; 30 enum bpf_attach_type attach_type; 388 enum bpf_attach_type attach_type) in load_sock_prog() 408 enum bpf_attach_type attach_type) in attach_sock_prog()
|
| D | test_sysctl.c | 32 enum bpf_attach_type attach_type; 1545 enum bpf_attach_type atype = test->attach_type; in run_test_case()
|
| D | veristat.c | 860 enum bpf_attach_type *attach_type) in guess_prog_type_by_ctx_name() 874 enum bpf_attach_type attach_type; in guess_prog_type_by_ctx_name() 943 enum bpf_attach_type attach_type; in fixup_obj()
|
| D | test_verifier.c | 163 enum bpf_attach_type expected_attach_type;
|
| /tools/include/uapi/linux/ |
| D | bpf.h | 1061 enum bpf_attach_type { enum
|