/linux-6.1.9/tools/bpf/bpftool/ |
D | cgroup.c | 43 static enum bpf_attach_type parse_attach_type(const char *str) in parse_attach_type() 46 enum bpf_attach_type type; in parse_attach_type() 96 static int show_bpf_prog(int id, enum bpf_attach_type attach_type, in show_bpf_prog() 169 static int count_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type) in count_attached_bpf_progs() 184 enum bpf_attach_type type; in cgroup_has_attached_progs() 202 static int show_effective_bpf_progs(int cgroup_fd, enum bpf_attach_type type, in show_effective_bpf_progs() 227 static int show_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type, in show_attached_bpf_progs() 277 static int show_bpf_progs(int cgroup_fd, enum bpf_attach_type type, in show_bpf_progs() 287 enum bpf_attach_type type; in do_show() 369 enum bpf_attach_type type; in do_show_tree_fn() [all …]
|
D | prog.c | 66 static enum bpf_attach_type parse_attach_type(const char *str) in parse_attach_type() 68 enum bpf_attach_type type; in parse_attach_type() 1024 enum bpf_attach_type *attach_type, in parse_attach_detach_args() 1058 enum bpf_attach_type attach_type; in do_attach() 1080 enum bpf_attach_type attach_type; in do_detach() 1439 enum bpf_attach_type *expected_attach_type) in get_prog_type_by_name() 1462 enum bpf_attach_type expected_attach_type; in load_with_options()
|
D | main.h | 258 const char *bpf_attach_type_input_str(enum bpf_attach_type t);
|
/linux-6.1.9/tools/lib/bpf/ |
D | bpf.h | 73 enum bpf_attach_type expected_attach_type; 295 enum bpf_attach_type type, unsigned int flags); 297 enum bpf_attach_type type, 299 LIBBPF_API int bpf_prog_detach(int attachable_fd, enum bpf_attach_type type); 301 enum bpf_attach_type type); 330 enum bpf_attach_type attach_type, 385 enum bpf_attach_type type, 387 LIBBPF_API int bpf_prog_query(int target_fd, enum bpf_attach_type type,
|
D | libbpf.h | 61 LIBBPF_API const char *libbpf_bpf_attach_type_str(enum bpf_attach_type t); 238 enum bpf_attach_type *expected_attach_type); 240 enum bpf_attach_type *attach_type); 242 enum bpf_attach_type attach_type); 682 LIBBPF_API enum bpf_attach_type 699 enum bpf_attach_type type); 1509 enum bpf_attach_type exp_attach_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.c | 612 int bpf_prog_attach(int prog_fd, int target_fd, enum bpf_attach_type type, in bpf_prog_attach() 623 enum bpf_attach_type type, in bpf_prog_attach_opts() 644 int bpf_prog_detach(int target_fd, enum bpf_attach_type type) in bpf_prog_detach() 658 int bpf_prog_detach2(int prog_fd, int target_fd, enum bpf_attach_type type) in bpf_prog_detach2() 674 enum bpf_attach_type attach_type, in bpf_link_create() 821 enum bpf_attach_type type, in bpf_prog_query_opts() 848 int bpf_prog_query(int target_fd, enum bpf_attach_type type, __u32 query_flags, in bpf_prog_query()
|
D | bpf_gen_internal.h | 66 void bpf_gen__record_attach_target(struct bpf_gen *gen, const char *name, enum bpf_attach_type type…
|
D | skel_internal.h | 290 enum bpf_attach_type attach_type) in skel_link_create()
|
D | libbpf_internal.h | 371 void btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type,
|
/linux-6.1.9/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; 165 enum bpf_attach_type expected_attach_type; in test_prog_type_by_name() 189 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 | sockmap_basic.c | 269 static void test_sockmap_skb_verdict_attach(enum bpf_attach_type first, in test_sockmap_skb_verdict_attach() 270 enum bpf_attach_type second) in test_sockmap_skb_verdict_attach() 310 static void test_sockmap_progs_query(enum bpf_attach_type attach_type) in test_sockmap_progs_query()
|
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.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()
|
D | sockopt_inherit.c | 138 enum bpf_attach_type attach_type; in prog_attach()
|
/linux-6.1.9/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_sock_addr.c | 67 enum bpf_attach_type expected_attach_type; 68 enum bpf_attach_type attach_type;
|
D | test_sysctl.c | 32 enum bpf_attach_type attach_type; 1545 enum bpf_attach_type atype = test->attach_type; in run_test_case()
|
/linux-6.1.9/include/linux/ |
D | bpf-netns.h | 10 to_netns_bpf_attach_type(enum bpf_attach_type attach_type) in to_netns_bpf_attach_type()
|
D | bpf-cgroup.h | 39 to_cgroup_bpf_attach_type(enum bpf_attach_type attach_type) in to_cgroup_bpf_attach_type() 101 enum bpf_attach_type type; 168 enum bpf_attach_type type);
|
/linux-6.1.9/kernel/bpf/ |
D | cgroup.c | 138 bpf_cgroup_atype_find(enum bpf_attach_type attach_type, u32 attach_btf_id) in bpf_cgroup_atype_find() 184 bpf_cgroup_atype_find(enum bpf_attach_type attach_type, u32 attach_btf_id) in bpf_cgroup_atype_find() 208 enum bpf_attach_type type, in bpf_cgroup_storages_alloc() 251 enum bpf_attach_type attach_type) in bpf_cgroup_storages_link() 610 enum bpf_attach_type type, u32 flags) in __cgroup_bpf_attach() 727 enum bpf_attach_type type, in cgroup_bpf_attach() 950 struct bpf_cgroup_link *link, enum bpf_attach_type type) in __cgroup_bpf_detach() 1008 enum bpf_attach_type type) in cgroup_bpf_detach() 1025 enum bpf_attach_type type = attr->query.attach_type; in __cgroup_bpf_query()
|
D | net_namespace.c | 14 enum bpf_attach_type type; 482 enum bpf_attach_type type; in netns_bpf_link_create()
|
/linux-6.1.9/samples/bpf/ |
D | test_cgrp2_attach.c | 137 enum bpf_attach_type type; in main()
|
/linux-6.1.9/Documentation/bpf/ |
D | map_cgroup_storage.rst | 80 __u32 map_lookup(struct bpf_map *map, __u64 cgrp, enum bpf_attach_type type) 115 __u32 map_lookup(struct bpf_map *map, __u64 cgrp, enum bpf_attach_type type)
|