Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/tools/bpf/bpftool/
Dcgroup.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()
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()
Dprog.c84 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/
Dbpf-cgroup.h56 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 …]
Dbpf-netns.h16 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/
Dbpf.h76 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,
Dlibbpf.h172 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;
Dbpf.c533 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()
Dlibbpf.c208 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/
Dsection_names.c12 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()
Dsockopt_multi.c7 enum bpf_attach_type attach_type; in prog_attach()
36 enum bpf_attach_type attach_type; in prog_detach()
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()
Dsockopt_sk.c168 enum bpf_attach_type attach_type; in prog_attach()
Dsockopt_inherit.c141 enum bpf_attach_type attach_type; in prog_attach()
/kernel/linux/linux-5.10/kernel/bpf/
Dcgroup.c41 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 …]
Dnet_namespace.c13 enum bpf_attach_type type;
481 enum bpf_attach_type type; in netns_bpf_link_create()
Dlocal_storage.c581 enum bpf_attach_type type) in bpf_cgroup_storage_link()
Dsyscall.c1988 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/
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;
1551 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;
/kernel/linux/linux-5.10/samples/bpf/
Dtest_cgrp2_attach.c132 enum bpf_attach_type type; in main()
/kernel/linux/linux-5.10/Documentation/bpf/
Dmap_cgroup_storage.rst80 __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/
Dbpf.h130 enum bpf_attach_type { enum
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dbpf.h180 enum bpf_attach_type { enum

12