Searched refs:bpf_attach_type (Results 1 - 25 of 40) sorted by relevance
12
/linux-master/tools/bpf/bpftool/ |
H A D | cgroup.c | 45 static enum bpf_attach_type parse_attach_type(const char *str) 48 enum bpf_attach_type type; 98 static int show_bpf_prog(int id, enum bpf_attach_type attach_type, 171 static int count_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type) 186 enum bpf_attach_type type; 204 static int show_effective_bpf_progs(int cgroup_fd, enum bpf_attach_type type, 229 static int show_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type, 279 static int show_bpf_progs(int cgroup_fd, enum bpf_attach_type type, 289 enum bpf_attach_type type; 371 enum bpf_attach_type typ [all...] |
H A D | main.h | 258 * returned for unknown bpf_attach_type values. 260 const char *bpf_attach_type_input_str(enum bpf_attach_type t);
|
H A D | prog.c | 68 static enum bpf_attach_type parse_attach_type(const char *str) 70 enum bpf_attach_type type; 1033 enum bpf_attach_type *attach_type, 1067 enum bpf_attach_type attach_type; 1089 enum bpf_attach_type attach_type; 1448 enum bpf_attach_type *expected_attach_type) 1519 enum bpf_attach_type expected_attach_type;
|
/linux-master/include/linux/ |
H A D | bpf-netns.h | 10 to_netns_bpf_attach_type(enum bpf_attach_type attach_type)
|
H A D | bpf-cgroup.h | 39 to_cgroup_bpf_attach_type(enum bpf_attach_type attach_type) 106 enum bpf_attach_type type; 175 enum bpf_attach_type type);
|
/linux-master/tools/lib/bpf/ |
H A D | libbpf_legacy.h | 131 LIBBPF_API enum bpf_attach_type bpf_program__get_expected_attach_type(const struct bpf_program *prog);
|
H A 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,
|
H A D | bpf_gen_internal.h | 68 void bpf_gen__record_attach_target(struct bpf_gen *gen, const char *name, enum bpf_attach_type type);
|
H A D | libbpf.h | 59 * returned for unknown **bpf_attach_type** values. 61 LIBBPF_API const char *libbpf_bpf_attach_type_str(enum bpf_attach_type t); 304 enum bpf_attach_type *expected_attach_type); 306 enum bpf_attach_type *attach_type); 308 enum bpf_attach_type attach_type); 869 LIBBPF_API enum bpf_attach_type 886 enum bpf_attach_type type); 1840 enum bpf_attach_type exp_attach_type,
|
H A D | bpf.c | 629 int bpf_prog_attach(int prog_fd, int target_fd, enum bpf_attach_type type, 639 int bpf_prog_attach_opts(int prog_fd, int target, enum bpf_attach_type type, 677 int bpf_prog_detach_opts(int prog_fd, int target, enum bpf_attach_type type, 714 int bpf_prog_detach(int target_fd, enum bpf_attach_type type) 719 int bpf_prog_detach2(int prog_fd, int target_fd, enum bpf_attach_type type) 725 enum bpf_attach_type attach_type, 928 int bpf_prog_query_opts(int target, enum bpf_attach_type type, 957 int bpf_prog_query(int target_fd, enum bpf_attach_type type, __u32 query_flags,
|
H A D | skel_internal.h | 290 enum bpf_attach_type attach_type)
|
H A D | libbpf_internal.h | 410 void btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type,
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A 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; 234 enum bpf_attach_type attach_type;
|
H A D | libbpf_str.c | 18 * Test case to check that all bpf_attach_type variants are covered by 32 /* find enum bpf_attach_type and enumerate each value */ 33 id = btf__find_by_name_kind(btf, "bpf_attach_type", BTF_KIND_ENUM); 40 enum bpf_attach_type attach_type = (enum bpf_attach_type)e->val;
|
H A D | ctx_rewrite.c | 34 enum bpf_attach_type expected_attach_type; 689 enum bpf_attach_type expected_attach_type;
|
H A D | sockopt.c | 27 enum bpf_attach_type attach_type; 28 enum bpf_attach_type expected_attach_type; 934 enum bpf_attach_type expected_attach_type)
|
H A D | sockmap_basic.c | 274 static void test_sockmap_skb_verdict_attach(enum bpf_attach_type first, 275 enum bpf_attach_type second) 315 static void test_sockmap_progs_query(enum bpf_attach_type attach_type)
|
/linux-master/tools/testing/selftests/bpf/ |
H A 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) 408 enum bpf_attach_type attach_type)
|
H A D | test_sock_addr.c | 68 enum bpf_attach_type expected_attach_type; 69 enum bpf_attach_type attach_type;
|
H A D | veristat.c | 855 enum bpf_attach_type *attach_type) 869 enum bpf_attach_type attach_type; 938 enum bpf_attach_type attach_type;
|
/linux-master/samples/bpf/ |
H A D | test_cgrp2_attach.c | 137 enum bpf_attach_type type;
|
/linux-master/kernel/bpf/ |
H A D | net_namespace.c | 14 enum bpf_attach_type type; 482 enum bpf_attach_type type;
|
H A D | token.c | 271 enum bpf_attach_type attach_type)
|
H A D | cgroup.c | 138 bpf_cgroup_atype_find(enum bpf_attach_type attach_type, u32 attach_btf_id) 184 bpf_cgroup_atype_find(enum bpf_attach_type attach_type, u32 attach_btf_id) 208 enum bpf_attach_type type, 251 enum bpf_attach_type attach_type) 610 enum bpf_attach_type type, u32 flags) 727 enum bpf_attach_type type, 951 struct bpf_cgroup_link *link, enum bpf_attach_type type) 1009 enum bpf_attach_type type) 1026 enum bpf_attach_type type = attr->query.attach_type;
|
H A D | local_storage.c | 576 enum bpf_attach_type type)
|
Completed in 492 milliseconds
12