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
1767
enum bpf_attach_type saved_dst_attach_type;
include/linux/bpf.h
1885
enum bpf_attach_type expected_attach_type; /* For some prog types */
include/linux/bpf.h
1921
enum bpf_attach_type attach_type;
include/linux/bpf.h
2193
static inline bool is_tracing_multi(enum bpf_attach_type type)
include/linux/bpf.h
2354
enum bpf_attach_type attach_type);
include/linux/bpf.h
2359
enum bpf_attach_type attach_type)
include/linux/bpf.h
2886
enum bpf_attach_type attach_type);
include/linux/bpf.h
2889
enum bpf_attach_type attach_type, bool sleepable);
include/linux/bpf.h
2892
enum bpf_attach_type attach_type, u64 cookie);
include/linux/bpf.h
2915
enum bpf_attach_type attach_type);
include/linux/bpf.h
297
enum bpf_attach_type expected_attach_type;
include/linux/bpf.h
3306
struct bpf_prog *prog, enum bpf_attach_type attach_type)
include/linux/bpf.h
3312
enum bpf_attach_type attach_type, bool sleepable)
include/linux/bpf.h
3318
enum bpf_attach_type attach_type, u64 cookie)
kernel/bpf/btf.c
6219
enum bpf_attach_type attach_type)
kernel/bpf/btf.c
6617
enum bpf_attach_type atype = prog->expected_attach_type;
kernel/bpf/cgroup.c
1173
struct bpf_cgroup_link *link, enum bpf_attach_type type,
kernel/bpf/cgroup.c
1236
enum bpf_attach_type type, u64 revision)
kernel/bpf/cgroup.c
1253
enum bpf_attach_type type = attr->query.attach_type;
kernel/bpf/cgroup.c
183
bpf_cgroup_atype_find(enum bpf_attach_type attach_type, u32 attach_btf_id)
kernel/bpf/cgroup.c
234
bpf_cgroup_atype_find(enum bpf_attach_type attach_type, u32 attach_btf_id)
kernel/bpf/cgroup.c
258
enum bpf_attach_type type,
kernel/bpf/cgroup.c
301
enum bpf_attach_type attach_type)
kernel/bpf/cgroup.c
809
enum bpf_attach_type type, u32 flags, u32 id_or_fd,
kernel/bpf/cgroup.c
930
enum bpf_attach_type type,
kernel/bpf/fixups.c
1484
enum bpf_attach_type eatype = prog->expected_attach_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
2726
enum bpf_attach_type expected_attach_type,
kernel/bpf/syscall.c
3295
enum bpf_attach_type attach_type, bool sleepable)
kernel/bpf/syscall.c
3309
enum bpf_attach_type attach_type)
kernel/bpf/syscall.c
3316
enum bpf_attach_type attach_type, u64 cookie)
kernel/bpf/syscall.c
3693
enum bpf_attach_type attach_type)
kernel/bpf/syscall.c
4354
enum bpf_attach_type attach_type)
kernel/bpf/syscall.c
4453
attach_type_to_prog_type(enum bpf_attach_type attach_type)
kernel/bpf/syscall.c
4530
enum bpf_attach_type attach_type)
kernel/bpf/syscall.c
4600
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
1025
enum bpf_attach_type attach_type)
kernel/bpf/trampoline.c
1078
enum bpf_attach_type attach_type)
kernel/bpf/trampoline.c
179
enum bpf_attach_type eatype = prog->expected_attach_type;
kernel/bpf/verifier.c
8455
enum bpf_attach_type eatype = env->prog->expected_attach_type;
net/core/filter.c
9082
enum bpf_attach_type attach_type)
net/core/sock_map.c
1520
static int sock_map_prog_attach_check(enum bpf_attach_type attach_type,
net/core/sock_map.c
1879
enum bpf_attach_type attach_type;
tools/bpf/bpftool/cgroup.c
141
static int show_bpf_prog(int id, enum bpf_attach_type attach_type,
tools/bpf/bpftool/cgroup.c
214
static int count_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type)
tools/bpf/bpftool/cgroup.c
247
static int show_effective_bpf_progs(int cgroup_fd, enum bpf_attach_type type,
tools/bpf/bpftool/cgroup.c
272
static int show_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type,
tools/bpf/bpftool/cgroup.c
322
static int show_bpf_progs(int cgroup_fd, enum bpf_attach_type type,
tools/bpf/bpftool/cgroup.c
562
enum bpf_attach_type attach_type;
tools/bpf/bpftool/cgroup.c
622
enum bpf_attach_type attach_type;
tools/bpf/bpftool/cgroup.c
88
static enum bpf_attach_type parse_attach_type(const char *str)
tools/bpf/bpftool/cgroup.c
91
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
1044
int bpf_prog_query_opts(int target, enum bpf_attach_type type,
tools/lib/bpf/bpf.c
1073
int bpf_prog_query(int target_fd, enum bpf_attach_type type, __u32 query_flags,
tools/lib/bpf/bpf.c
687
int bpf_prog_attach(int prog_fd, int target_fd, enum bpf_attach_type type,
tools/lib/bpf/bpf.c
697
int bpf_prog_attach_opts(int prog_fd, int target, enum bpf_attach_type type,
tools/lib/bpf/bpf.c
735
int bpf_prog_detach_opts(int prog_fd, int target, enum bpf_attach_type type,
tools/lib/bpf/bpf.c
772
int bpf_prog_detach(int target_fd, enum bpf_attach_type type)
tools/lib/bpf/bpf.c
777
int bpf_prog_detach2(int prog_fd, int target_fd, enum bpf_attach_type type)
tools/lib/bpf/bpf.c
783
enum bpf_attach_type attach_type,
tools/lib/bpf/bpf.h
360
enum bpf_attach_type type, unsigned int flags);
tools/lib/bpf/bpf.h
361
LIBBPF_API int bpf_prog_detach(int attachable_fd, enum bpf_attach_type type);
tools/lib/bpf/bpf.h
363
enum bpf_attach_type type);
tools/lib/bpf/bpf.h
402
enum bpf_attach_type type,
tools/lib/bpf/bpf.h
418
enum bpf_attach_type type,
tools/lib/bpf/bpf.h
484
enum bpf_attach_type attach_type,
tools/lib/bpf/bpf.h
655
LIBBPF_API int bpf_prog_query_opts(int target, enum bpf_attach_type type,
tools/lib/bpf/bpf.h
657
LIBBPF_API int bpf_prog_query(int target_fd, enum bpf_attach_type type,
tools/lib/bpf/bpf.h
95
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
639
enum bpf_attach_type type)
tools/lib/bpf/libbpf.c
10197
enum bpf_attach_type exp_attach_type,
tools/lib/bpf/libbpf.c
10373
enum bpf_attach_type *expected_attach_type)
tools/lib/bpf/libbpf.c
10398
const char *libbpf_bpf_attach_type_str(enum bpf_attach_type t)
tools/lib/bpf/libbpf.c
10565
void btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type,
tools/lib/bpf/libbpf.c
10606
enum bpf_attach_type attach_type)
tools/lib/bpf/libbpf.c
10616
enum bpf_attach_type attach_type)
tools/lib/bpf/libbpf.c
10673
enum bpf_attach_type attach_type,
tools/lib/bpf/libbpf.c
10729
enum bpf_attach_type attach_type = prog->expected_attach_type;
tools/lib/bpf/libbpf.c
10769
enum bpf_attach_type *attach_type)
tools/lib/bpf/libbpf.c
12270
enum bpf_attach_type attach_type;
tools/lib/bpf/libbpf.c
13026
enum bpf_attach_type attach_type;
tools/lib/bpf/libbpf.c
13734
enum bpf_attach_type attach_type;
tools/lib/bpf/libbpf.c
432
enum bpf_attach_type expected_attach_type;
tools/lib/bpf/libbpf.c
502
enum bpf_attach_type expected_attach_type;
tools/lib/bpf/libbpf.c
7775
static inline bool is_tracing_multi(enum bpf_attach_type type)
tools/lib/bpf/libbpf.c
9859
enum bpf_attach_type bpf_program__get_expected_attach_type(const struct bpf_program *prog);
tools/lib/bpf/libbpf.c
9861
enum bpf_attach_type bpf_program__expected_attach_type(const struct bpf_program *prog)
tools/lib/bpf/libbpf.c
9867
enum bpf_attach_type type)
tools/lib/bpf/libbpf.h
1009
enum bpf_attach_type type);
tools/lib/bpf/libbpf.h
2048
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
992
LIBBPF_API enum bpf_attach_type
tools/lib/bpf/libbpf_internal.h
441
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
310
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/cgroup_preorder.c
120
enum bpf_attach_type 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
636
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
378
static void test_sockmap_skb_verdict_attach(enum bpf_attach_type first,
tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
379
enum bpf_attach_type second)
tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
453
static void test_sockmap_progs_query(enum bpf_attach_type attach_type)
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c
313
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
1153
enum bpf_attach_type *attach_type)
tools/testing/selftests/bpf/veristat.c
1167
enum bpf_attach_type attach_type;
tools/testing/selftests/bpf/veristat.c
1283
enum bpf_attach_type attach_type;
tools/testing/selftests/bpf/veristat.c
2642
enum bpf_attach_type attach_type = 0;