Searched refs:bpf_attach_type (Results 1 - 25 of 40) sorted by relevance

12

/linux-master/tools/bpf/bpftool/
H A Dcgroup.c45 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 Dmain.h258 * returned for unknown bpf_attach_type values.
260 const char *bpf_attach_type_input_str(enum bpf_attach_type t);
H A Dprog.c68 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 Dbpf-netns.h10 to_netns_bpf_attach_type(enum bpf_attach_type attach_type)
H A Dbpf-cgroup.h39 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 Dlibbpf_legacy.h131 LIBBPF_API enum bpf_attach_type bpf_program__get_expected_attach_type(const struct bpf_program *prog);
H A Dbpf.h77 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 Dbpf_gen_internal.h68 void bpf_gen__record_attach_target(struct bpf_gen *gen, const char *name, enum bpf_attach_type type);
H A Dlibbpf.h59 * 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 Dbpf.c629 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 Dskel_internal.h290 enum bpf_attach_type attach_type)
H A Dlibbpf_internal.h410 void btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type,
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dsection_names.c12 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 Dlibbpf_str.c18 * 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 Dctx_rewrite.c34 enum bpf_attach_type expected_attach_type;
689 enum bpf_attach_type expected_attach_type;
H A Dsockopt.c27 enum bpf_attach_type attach_type;
28 enum bpf_attach_type expected_attach_type;
934 enum bpf_attach_type expected_attach_type)
H A Dsockmap_basic.c274 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 Dtest_sock.c29 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 Dtest_sock_addr.c68 enum bpf_attach_type expected_attach_type;
69 enum bpf_attach_type attach_type;
H A Dveristat.c855 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 Dtest_cgrp2_attach.c137 enum bpf_attach_type type;
/linux-master/kernel/bpf/
H A Dnet_namespace.c14 enum bpf_attach_type type;
482 enum bpf_attach_type type;
H A Dtoken.c271 enum bpf_attach_type attach_type)
H A Dcgroup.c138 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 Dlocal_storage.c576 enum bpf_attach_type type)

Completed in 492 milliseconds

12