| /kernel/linux/linux-5.10/tools/bpf/bpftool/ |
| D | cgroup.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() 49 static int show_bpf_prog(int id, enum bpf_attach_type attach_type, in show_bpf_prog() 91 static int count_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type) in count_attached_bpf_progs() 106 enum bpf_attach_type type; in cgroup_has_attached_progs() 123 static int show_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type, in show_attached_bpf_progs() 166 enum bpf_attach_type type; in do_show() 245 enum bpf_attach_type type; in do_show_tree_fn() 382 enum bpf_attach_type attach_type; in do_attach() 442 enum bpf_attach_type attach_type; in do_detach()
|
| D | prog.c | 84 static enum bpf_attach_type parse_attach_type(const char *str) in parse_attach_type() 86 enum bpf_attach_type type; in parse_attach_type() 928 enum bpf_attach_type *attach_type, in parse_attach_detach_args() 962 enum bpf_attach_type attach_type; in do_attach() 984 enum bpf_attach_type attach_type; in do_detach() 1344 enum bpf_attach_type *expected_attach_type) in get_prog_type_by_name() 1368 enum bpf_attach_type expected_attach_type; in load_with_options()
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | bpf-cgroup.h | 56 enum bpf_attach_type type; 99 enum bpf_attach_type type, u32 flags); 102 enum bpf_attach_type type); 109 struct bpf_cgroup_link *link, enum bpf_attach_type type, 112 enum bpf_attach_type type); 118 enum bpf_attach_type type); 121 enum bpf_attach_type type); 125 enum bpf_attach_type type, 130 enum bpf_attach_type type); 133 short access, enum bpf_attach_type type); [all …]
|
| D | bpf-netns.h | 16 to_netns_bpf_attach_type(enum bpf_attach_type attach_type) in to_netns_bpf_attach_type()
|
| /kernel/linux/linux-5.10/tools/lib/bpf/ |
| D | bpf.h | 76 enum bpf_attach_type expected_attach_type; 163 enum bpf_attach_type type, unsigned int flags); 165 enum bpf_attach_type type, 167 LIBBPF_API int bpf_prog_detach(int attachable_fd, enum bpf_attach_type type); 169 enum bpf_attach_type type); 182 enum bpf_attach_type attach_type, 234 LIBBPF_API int bpf_prog_query(int target_fd, enum bpf_attach_type type,
|
| D | libbpf.h | 172 enum bpf_attach_type *expected_attach_type); 174 enum bpf_attach_type *attach_type); 176 enum bpf_attach_type attach_type); 368 LIBBPF_API enum bpf_attach_type 372 enum bpf_attach_type type); 488 enum bpf_attach_type expected_attach_type;
|
| D | bpf.c | 533 int bpf_prog_attach(int prog_fd, int target_fd, enum bpf_attach_type type, in bpf_prog_attach() 544 enum bpf_attach_type type, in bpf_prog_attach_xattr() 562 int bpf_prog_detach(int target_fd, enum bpf_attach_type type) in bpf_prog_detach() 573 int bpf_prog_detach2(int prog_fd, int target_fd, enum bpf_attach_type type) in bpf_prog_detach2() 586 enum bpf_attach_type attach_type, in bpf_link_create() 655 int bpf_prog_query(int target_fd, enum bpf_attach_type type, __u32 query_flags, in bpf_prog_query()
|
| D | libbpf.c | 208 enum bpf_attach_type expected_attach_type; 277 enum bpf_attach_type expected_attach_type; 8258 enum bpf_attach_type 8265 enum bpf_attach_type type) in bpf_program__set_expected_attach_type() 8513 enum bpf_attach_type *expected_attach_type) in libbpf_prog_type_by_name() 8695 enum bpf_attach_type attach_type) in __find_vmlinux_btf_id() 8718 enum bpf_attach_type attach_type) in libbpf_find_vmlinux_btf_id() 8769 enum bpf_attach_type attach_type = prog->expected_attach_type; in libbpf_find_attach_btf_id() 8796 enum bpf_attach_type *attach_type) in libbpf_attach_type_by_name() 9090 enum bpf_attach_type attach_type = attr->expected_attach_type; in bpf_prog_load_xattr() [all …]
|
| /kernel/linux/linux-5.10/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 | 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_sk.c | 168 enum bpf_attach_type attach_type; in prog_attach()
|
| D | sockopt_inherit.c | 141 enum bpf_attach_type attach_type; in prog_attach()
|
| /kernel/linux/linux-5.10/kernel/bpf/ |
| D | cgroup.c | 41 enum bpf_attach_type type, in bpf_cgroup_storages_alloc() 84 enum bpf_attach_type attach_type) in bpf_cgroup_storages_link() 199 enum bpf_attach_type type) in hierarchy_allows_attach() 228 enum bpf_attach_type type, in compute_effective_progs() 272 enum bpf_attach_type type, in activate_effective_progs() 331 enum bpf_attach_type type) in update_effective_progs() 436 enum bpf_attach_type type, u32 flags) in __cgroup_bpf_attach() 523 enum bpf_attach_type type, in replace_effective_prog() 668 enum bpf_attach_type type) in purge_effective_progs() 724 struct bpf_cgroup_link *link, enum bpf_attach_type type) in __cgroup_bpf_detach() [all …]
|
| D | net_namespace.c | 13 enum bpf_attach_type type; 481 enum bpf_attach_type type; in netns_bpf_link_create()
|
| D | local_storage.c | 581 enum bpf_attach_type type) in bpf_cgroup_storage_link()
|
| D | syscall.c | 1988 enum bpf_attach_type expected_attach_type, in bpf_prog_load_check_attach() 2522 enum bpf_attach_type attach_type; 2910 enum bpf_attach_type attach_type) in bpf_prog_attach_check_attach_type() 2933 attach_type_to_prog_type(enum bpf_attach_type attach_type) in attach_type_to_prog_type()
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
| 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; 1551 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;
|
| /kernel/linux/linux-5.10/samples/bpf/ |
| D | test_cgrp2_attach.c | 132 enum bpf_attach_type type; in main()
|
| /kernel/linux/linux-5.10/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)
|
| /kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
| D | bpf.h | 130 enum bpf_attach_type { enum
|
| /kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
| D | bpf.h | 180 enum bpf_attach_type { enum
|