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

12

/linux-master/include/linux/
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);
H A Dbpf-netns.h10 to_netns_bpf_attach_type(enum bpf_attach_type attach_type)
H A Dbpf.h1451 enum bpf_attach_type saved_dst_attach_type;
1546 enum bpf_attach_type expected_attach_type; /* For some prog types */
1620 enum bpf_attach_type attach_type;
2350 enum bpf_attach_type attach_type);
/linux-master/include/uapi/linux/
H A Dbpf.h110 __u32 attach_type; /* program attach type (enum bpf_attach_type) */
305 * attach the program to, and must be one of *bpf_attach_type*
1061 enum bpf_attach_type { enum
/linux-master/kernel/bpf/
H A Dbtf.c5802 enum bpf_attach_type attach_type)
6157 enum bpf_attach_type atype = prog->expected_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)
H A Dnet_namespace.c14 enum bpf_attach_type type;
482 enum bpf_attach_type type;
H A Dsyscall.c2526 enum bpf_attach_type expected_attach_type,
3899 attach_type_to_prog_type(enum bpf_attach_type attach_type)
3972 enum bpf_attach_type attach_type)
H A Dtoken.c271 enum bpf_attach_type attach_type)
H A Dtrampoline.c109 enum bpf_attach_type eatype = prog->expected_attach_type;
H A Dverifier.c8830 enum bpf_attach_type eatype = env->prog->expected_attach_type;
19587 enum bpf_attach_type eatype = prog->expected_attach_type;
/linux-master/net/core/
H A Dfilter.c8710 enum bpf_attach_type attach_type)
/linux-master/samples/bpf/
H A Dtest_cgrp2_attach.c137 enum bpf_attach_type type;
/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 Dcommon.c1062 const char *bpf_attach_type_input_str(enum bpf_attach_type t)
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 Dnet.c455 const enum bpf_attach_type loc)
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/tools/include/uapi/linux/
H A Dbpf.h110 __u32 attach_type; /* program attach type (enum bpf_attach_type) */
305 * attach the program to, and must be one of *bpf_attach_type*
1061 enum bpf_attach_type { enum
/linux-master/tools/lib/bpf/
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 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 Dgen_loader.c527 enum bpf_attach_type type)
H A Dlibbpf.c390 enum bpf_attach_type expected_attach_type;
455 enum bpf_attach_type expected_attach_type;
9152 enum bpf_attach_type bpf_program__get_expected_attach_type(const struct bpf_program *prog);
9154 enum bpf_attach_type bpf_program__expected_attach_type(const struct bpf_program *prog)
9160 enum bpf_attach_type type)
9342 enum bpf_attach_type exp_attach_type,
9518 enum bpf_attach_type *expected_attach_type)
9543 const char *libbpf_bpf_attach_type_str(enum bpf_attach_type t)
9708 void btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type,
9749 enum bpf_attach_type attach_typ
[all...]

Completed in 718 milliseconds

12