Symbol: bpf_attach_type
include/linux/bpf-cgroup.h
171
enum bpf_attach_type type);
include/linux/bpf-cgroup.h
39
to_cgroup_bpf_attach_type(enum bpf_attach_type attach_type)
include/linux/bpf-netns.h
10
to_netns_bpf_attach_type(enum bpf_attach_type attach_type)
include/linux/bpf.h
1682
enum bpf_attach_type saved_dst_attach_type;
include/linux/bpf.h
1794
enum bpf_attach_type expected_attach_type; /* For some prog types */
include/linux/bpf.h
1830
enum bpf_attach_type attach_type;
include/linux/bpf.h
2227
enum bpf_attach_type attach_type);
include/linux/bpf.h
2232
enum bpf_attach_type attach_type)
include/linux/bpf.h
2763
enum bpf_attach_type attach_type);
include/linux/bpf.h
2766
enum bpf_attach_type attach_type, bool sleepable);
include/linux/bpf.h
2789
enum bpf_attach_type attach_type);
include/linux/bpf.h
293
enum bpf_attach_type expected_attach_type;
include/linux/bpf.h
3122
struct bpf_prog *prog, enum bpf_attach_type attach_type)
include/linux/bpf.h
3128
enum bpf_attach_type attach_type, bool sleepable)
kernel/bpf/btf.c
6152
enum bpf_attach_type attach_type)
kernel/bpf/btf.c
6557
enum bpf_attach_type atype = prog->expected_attach_type;
kernel/bpf/cgroup.c
1136
struct bpf_cgroup_link *link, enum bpf_attach_type type,
kernel/bpf/cgroup.c
1199
enum bpf_attach_type type, u64 revision)
kernel/bpf/cgroup.c
1216
enum bpf_attach_type type = attr->query.attach_type;
kernel/bpf/cgroup.c
167
bpf_cgroup_atype_find(enum bpf_attach_type attach_type, u32 attach_btf_id)
kernel/bpf/cgroup.c
213
bpf_cgroup_atype_find(enum bpf_attach_type attach_type, u32 attach_btf_id)
kernel/bpf/cgroup.c
237
enum bpf_attach_type type,
kernel/bpf/cgroup.c
280
enum bpf_attach_type attach_type)
kernel/bpf/cgroup.c
788
enum bpf_attach_type type, u32 flags, u32 id_or_fd,
kernel/bpf/cgroup.c
909
enum bpf_attach_type type,
kernel/bpf/local_storage.c
580
enum bpf_attach_type type)
kernel/bpf/net_namespace.c
481
enum bpf_attach_type type;
kernel/bpf/syscall.c
2654
enum bpf_attach_type expected_attach_type,
kernel/bpf/syscall.c
3193
enum bpf_attach_type attach_type, bool sleepable)
kernel/bpf/syscall.c
3207
enum bpf_attach_type attach_type)
kernel/bpf/syscall.c
3591
enum bpf_attach_type attach_type)
kernel/bpf/syscall.c
4246
enum bpf_attach_type attach_type)
kernel/bpf/syscall.c
4340
attach_type_to_prog_type(enum bpf_attach_type attach_type)
kernel/bpf/syscall.c
4414
enum bpf_attach_type attach_type)
kernel/bpf/syscall.c
4484
static bool is_cgroup_prog_type(enum bpf_prog_type ptype, enum bpf_attach_type atype,
kernel/bpf/token.c
255
enum bpf_attach_type attach_type)
kernel/bpf/trampoline.c
139
enum bpf_attach_type eatype = prog->expected_attach_type;
kernel/bpf/trampoline.c
926
enum bpf_attach_type attach_type)
kernel/bpf/trampoline.c
979
enum bpf_attach_type attach_type)
kernel/bpf/verifier.c
10133
enum bpf_attach_type eatype = env->prog->expected_attach_type;
kernel/bpf/verifier.c
23400
enum bpf_attach_type eatype = prog->expected_attach_type;
net/core/filter.c
8963
enum bpf_attach_type attach_type)
net/core/sock_map.c
1846
enum bpf_attach_type attach_type;
tools/bpf/bpftool/cgroup.c
134
static int show_bpf_prog(int id, enum bpf_attach_type attach_type,
tools/bpf/bpftool/cgroup.c
207
static int count_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type)
tools/bpf/bpftool/cgroup.c
240
static int show_effective_bpf_progs(int cgroup_fd, enum bpf_attach_type type,
tools/bpf/bpftool/cgroup.c
265
static int show_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type,
tools/bpf/bpftool/cgroup.c
315
static int show_bpf_progs(int cgroup_fd, enum bpf_attach_type type,
tools/bpf/bpftool/cgroup.c
550
enum bpf_attach_type attach_type;
tools/bpf/bpftool/cgroup.c
610
enum bpf_attach_type attach_type;
tools/bpf/bpftool/cgroup.c
81
static enum bpf_attach_type parse_attach_type(const char *str)
tools/bpf/bpftool/cgroup.c
84
enum bpf_attach_type type;
tools/bpf/bpftool/common.c
1164
const char *bpf_attach_type_input_str(enum bpf_attach_type t)
tools/bpf/bpftool/main.h
274
const char *bpf_attach_type_input_str(enum bpf_attach_type t);
tools/bpf/bpftool/net.c
465
const enum bpf_attach_type loc)
tools/bpf/bpftool/prog.c
1041
enum bpf_attach_type *attach_type,
tools/bpf/bpftool/prog.c
1075
enum bpf_attach_type attach_type;
tools/bpf/bpftool/prog.c
1097
enum bpf_attach_type attach_type;
tools/bpf/bpftool/prog.c
1502
enum bpf_attach_type *expected_attach_type)
tools/bpf/bpftool/prog.c
1573
enum bpf_attach_type expected_attach_type;
tools/bpf/bpftool/prog.c
69
static enum bpf_attach_type parse_attach_type(const char *str)
tools/bpf/bpftool/prog.c
71
enum bpf_attach_type type;
tools/lib/bpf/bpf.c
1008
int bpf_prog_query(int target_fd, enum bpf_attach_type type, __u32 query_flags,
tools/lib/bpf/bpf.c
632
int bpf_prog_attach(int prog_fd, int target_fd, enum bpf_attach_type type,
tools/lib/bpf/bpf.c
642
int bpf_prog_attach_opts(int prog_fd, int target, enum bpf_attach_type type,
tools/lib/bpf/bpf.c
680
int bpf_prog_detach_opts(int prog_fd, int target, enum bpf_attach_type type,
tools/lib/bpf/bpf.c
717
int bpf_prog_detach(int target_fd, enum bpf_attach_type type)
tools/lib/bpf/bpf.c
722
int bpf_prog_detach2(int prog_fd, int target_fd, enum bpf_attach_type type)
tools/lib/bpf/bpf.c
728
enum bpf_attach_type attach_type,
tools/lib/bpf/bpf.c
979
int bpf_prog_query_opts(int target, enum bpf_attach_type type,
tools/lib/bpf/bpf.h
345
enum bpf_attach_type type, unsigned int flags);
tools/lib/bpf/bpf.h
346
LIBBPF_API int bpf_prog_detach(int attachable_fd, enum bpf_attach_type type);
tools/lib/bpf/bpf.h
348
enum bpf_attach_type type);
tools/lib/bpf/bpf.h
387
enum bpf_attach_type type,
tools/lib/bpf/bpf.h
403
enum bpf_attach_type type,
tools/lib/bpf/bpf.h
463
enum bpf_attach_type attach_type,
tools/lib/bpf/bpf.h
634
LIBBPF_API int bpf_prog_query_opts(int target, enum bpf_attach_type type,
tools/lib/bpf/bpf.h
636
LIBBPF_API int bpf_prog_query(int target_fd, enum bpf_attach_type type,
tools/lib/bpf/bpf.h
80
enum bpf_attach_type expected_attach_type;
tools/lib/bpf/bpf_gen_internal.h
71
void bpf_gen__record_attach_target(struct bpf_gen *gen, const char *name, enum bpf_attach_type type);
tools/lib/bpf/gen_loader.c
607
enum bpf_attach_type type)
tools/lib/bpf/libbpf.c
10113
enum bpf_attach_type *expected_attach_type)
tools/lib/bpf/libbpf.c
10138
const char *libbpf_bpf_attach_type_str(enum bpf_attach_type t)
tools/lib/bpf/libbpf.c
10305
void btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type,
tools/lib/bpf/libbpf.c
10346
enum bpf_attach_type attach_type)
tools/lib/bpf/libbpf.c
10356
enum bpf_attach_type attach_type)
tools/lib/bpf/libbpf.c
10413
enum bpf_attach_type attach_type,
tools/lib/bpf/libbpf.c
10469
enum bpf_attach_type attach_type = prog->expected_attach_type;
tools/lib/bpf/libbpf.c
10509
enum bpf_attach_type *attach_type)
tools/lib/bpf/libbpf.c
12008
enum bpf_attach_type attach_type;
tools/lib/bpf/libbpf.c
12467
enum bpf_attach_type attach_type;
tools/lib/bpf/libbpf.c
13154
enum bpf_attach_type attach_type;
tools/lib/bpf/libbpf.c
427
enum bpf_attach_type expected_attach_type;
tools/lib/bpf/libbpf.c
497
enum bpf_attach_type expected_attach_type;
tools/lib/bpf/libbpf.c
9716
enum bpf_attach_type bpf_program__get_expected_attach_type(const struct bpf_program *prog);
tools/lib/bpf/libbpf.c
9718
enum bpf_attach_type bpf_program__expected_attach_type(const struct bpf_program *prog)
tools/lib/bpf/libbpf.c
9724
enum bpf_attach_type type)
tools/lib/bpf/libbpf.c
9937
enum bpf_attach_type exp_attach_type,
tools/lib/bpf/libbpf.h
2008
enum bpf_attach_type exp_attach_type,
tools/lib/bpf/libbpf.h
353
enum bpf_attach_type *expected_attach_type);
tools/lib/bpf/libbpf.h
355
enum bpf_attach_type *attach_type);
tools/lib/bpf/libbpf.h
357
enum bpf_attach_type attach_type);
tools/lib/bpf/libbpf.h
86
LIBBPF_API const char *libbpf_bpf_attach_type_str(enum bpf_attach_type t);
tools/lib/bpf/libbpf.h
952
LIBBPF_API enum bpf_attach_type
tools/lib/bpf/libbpf.h
969
enum bpf_attach_type type);
tools/lib/bpf/libbpf_internal.h
429
void btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type,
tools/lib/bpf/libbpf_legacy.h
131
LIBBPF_API enum bpf_attach_type bpf_program__get_expected_attach_type(const struct bpf_program *prog);
tools/lib/bpf/skel_internal.h
305
enum bpf_attach_type attach_type)
tools/testing/selftests/bpf/prog_tests/cgroup_mprog_ordering.c
10
enum bpf_attach_type prog_p_atype, prog_p2_atype;
tools/testing/selftests/bpf/prog_tests/cgroup_preorder.c
10
enum bpf_attach_type prog_c_atype, prog_c2_atype, prog_p_atype, prog_p2_atype;
tools/testing/selftests/bpf/prog_tests/ctx_rewrite.c
35
enum bpf_attach_type expected_attach_type;
tools/testing/selftests/bpf/prog_tests/ctx_rewrite.c
637
enum bpf_attach_type expected_attach_type;
tools/testing/selftests/bpf/prog_tests/libbpf_str.c
40
enum bpf_attach_type attach_type = (enum bpf_attach_type)e->val;
tools/testing/selftests/bpf/prog_tests/section_names.c
12
enum bpf_attach_type expected_attach_type;
tools/testing/selftests/bpf/prog_tests/section_names.c
16
enum bpf_attach_type attach_type;
tools/testing/selftests/bpf/prog_tests/section_names.c
210
enum bpf_attach_type expected_attach_type;
tools/testing/selftests/bpf/prog_tests/section_names.c
234
enum bpf_attach_type attach_type;
tools/testing/selftests/bpf/prog_tests/sock_addr.c
354
enum bpf_attach_type attach_type;
tools/testing/selftests/bpf/prog_tests/sock_addr.c
378
enum bpf_attach_type attach_type, \
tools/testing/selftests/bpf/prog_tests/sock_addr.c
410
enum bpf_attach_type attach_type, \
tools/testing/selftests/bpf/prog_tests/sock_addr.c
63
enum bpf_attach_type attach_type,
tools/testing/selftests/bpf/prog_tests/sock_create.c
17
enum bpf_attach_type attach_type;
tools/testing/selftests/bpf/prog_tests/sock_create.c
18
enum bpf_attach_type expected_attach_type;
tools/testing/selftests/bpf/prog_tests/sock_create.c
256
enum bpf_attach_type expected_attach_type)
tools/testing/selftests/bpf/prog_tests/sock_post_bind.c
14
enum bpf_attach_type attach_type;
tools/testing/selftests/bpf/prog_tests/sock_post_bind.c
15
enum bpf_attach_type expected_attach_type;
tools/testing/selftests/bpf/prog_tests/sock_post_bind.c
281
enum bpf_attach_type expected_attach_type)
tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
377
static void test_sockmap_skb_verdict_attach(enum bpf_attach_type first,
tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
378
enum bpf_attach_type second)
tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
452
static void test_sockmap_progs_query(enum bpf_attach_type attach_type)
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c
312
enum bpf_attach_type atype;
tools/testing/selftests/bpf/prog_tests/sockmap_redir.c
128
enum bpf_attach_type *attach_type,
tools/testing/selftests/bpf/prog_tests/sockmap_redir.c
419
enum bpf_attach_type attach_type;
tools/testing/selftests/bpf/prog_tests/sockopt.c
28
enum bpf_attach_type attach_type;
tools/testing/selftests/bpf/prog_tests/sockopt.c
29
enum bpf_attach_type expected_attach_type;
tools/testing/selftests/bpf/prog_tests/sockopt.c
966
enum bpf_attach_type expected_attach_type)
tools/testing/selftests/bpf/prog_tests/test_sysctl.c
1533
enum bpf_attach_type atype = test->attach_type;
tools/testing/selftests/bpf/prog_tests/test_sysctl.c
18
enum bpf_attach_type attach_type;
tools/testing/selftests/bpf/prog_tests/xdp_devmap_attach.c
111
static void test_xdp_devmap_tailcall(enum bpf_attach_type prog_dev,
tools/testing/selftests/bpf/prog_tests/xdp_devmap_attach.c
112
enum bpf_attach_type prog_tail,
tools/testing/selftests/bpf/progs/verifier_global_ptr_args.c
273
__weak int subprog_enum_untrusted(enum bpf_attach_type *p __arg_untrusted)
tools/testing/selftests/bpf/test_verifier.c
159
enum bpf_attach_type expected_attach_type;
tools/testing/selftests/bpf/veristat.c
1151
enum bpf_attach_type *attach_type)
tools/testing/selftests/bpf/veristat.c
1165
enum bpf_attach_type attach_type;
tools/testing/selftests/bpf/veristat.c
1273
enum bpf_attach_type attach_type;
tools/testing/selftests/bpf/veristat.c
2651
enum bpf_attach_type attach_type = 0;