Home
last modified time | relevance | path

Searched defs:attach_type (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.14.4/tools/testing/selftests/bpf/prog_tests/
Dsection_names.c16 enum bpf_attach_type attach_type; member
234 enum bpf_attach_type attach_type; in test_attach_type_by_name() local
Dsock_create.c17 enum bpf_attach_type attach_type; member
Dbpf_verif_scale.c49 enum bpf_prog_type attach_type, in scale_test()
Dlibbpf_str.c40 enum bpf_attach_type attach_type = (enum bpf_attach_type)e->val; in test_libbpf_bpf_attach_type_str() local
Dsock_post_bind.c14 enum bpf_attach_type attach_type; member
Dsockopt.c28 enum bpf_attach_type attach_type; member
Dsockmap_basic.c442 static void test_sockmap_progs_query(enum bpf_attach_type attach_type) in test_sockmap_progs_query()
Dsock_addr.c354 enum bpf_attach_type attach_type; member
/linux-6.14.4/tools/bpf/bpftool/
Dnet.c637 static int do_attach_detach_xdp(int progfd, enum net_attach_type attach_type, in do_attach_detach_xdp()
654 static int get_tcx_type(enum net_attach_type attach_type) in get_tcx_type()
666 static int do_attach_tcx(int progfd, enum net_attach_type attach_type, int ifindex) in do_attach_tcx()
673 static int do_detach_tcx(int targetfd, enum net_attach_type attach_type) in do_detach_tcx()
682 enum net_attach_type attach_type; in do_attach() local
749 enum net_attach_type attach_type; in do_detach() local
Dcgroup.c130 static int show_bpf_prog(int id, enum bpf_attach_type attach_type, in show_bpf_prog()
546 enum bpf_attach_type attach_type; in do_attach() local
606 enum bpf_attach_type attach_type; in do_detach() local
Dlink.c142 static void show_link_attach_type_json(__u32 attach_type, json_writer_t *wtr) in show_link_attach_type_json()
604 static void show_link_attach_type_plain(__u32 attach_type) in show_link_attach_type_plain()
Dprog.c1040 enum bpf_attach_type *attach_type, in parse_attach_detach_args()
1074 enum bpf_attach_type attach_type; in do_attach() local
1096 enum bpf_attach_type attach_type; in do_detach() local
/linux-6.14.4/include/linux/
Dbpf-netns.h10 to_netns_bpf_attach_type(enum bpf_attach_type attach_type) in to_netns_bpf_attach_type()
Dbpf-cgroup.h39 to_cgroup_bpf_attach_type(enum bpf_attach_type attach_type) in to_cgroup_bpf_attach_type()
/linux-6.14.4/kernel/bpf/
Dtoken.c248 enum bpf_attach_type attach_type) in bpf_token_allow_prog_type()
Dcgroup.c155 bpf_cgroup_atype_find(enum bpf_attach_type attach_type, u32 attach_btf_id) in bpf_cgroup_atype_find()
201 bpf_cgroup_atype_find(enum bpf_attach_type attach_type, u32 attach_btf_id) in bpf_cgroup_atype_find()
268 enum bpf_attach_type attach_type) in bpf_cgroup_storages_link()
Dsyscall.c2505 enum bpf_prog_type *attach_type, bool attach_drv) in bpf_prog_get_ok()
2519 static struct bpf_prog *__bpf_prog_get(u32 ufd, enum bpf_prog_type *attach_type, in __bpf_prog_get()
4024 attach_type_to_prog_type(enum bpf_attach_type attach_type) in attach_type_to_prog_type()
4097 enum bpf_attach_type attach_type) in bpf_prog_attach_check_attach_type()
/linux-6.14.4/tools/testing/selftests/bpf/
Dtest_sysctl.c32 enum bpf_attach_type attach_type; member
Dveristat.c1012 enum bpf_attach_type *attach_type) in guess_prog_type_by_ctx_name()
1026 enum bpf_attach_type attach_type; in guess_prog_type_by_ctx_name() member
1133 enum bpf_attach_type attach_type; in fixup_obj() local
1750 enum bpf_attach_type attach_type = 0; in parse_stat_value() local
/linux-6.14.4/tools/include/uapi/linux/
Dbpf.h110 __u32 attach_type; /* program attach type (enum bpf_attach_type) */ member
1607 __u32 attach_type; member
1664 __u32 attach_type; member
1732 __u32 attach_type; /* attach type */ member
6641 __u32 attach_type; member
6647 __u32 attach_type; member
6675 __u32 attach_type; member
6740 __u32 attach_type; member
6744 __u32 attach_type; member
6748 __u32 attach_type; member
/linux-6.14.4/include/uapi/linux/
Dbpf.h110 __u32 attach_type; /* program attach type (enum bpf_attach_type) */ member
1607 __u32 attach_type; member
1664 __u32 attach_type; member
1732 __u32 attach_type; /* attach type */ member
6641 __u32 attach_type; member
6647 __u32 attach_type; member
6675 __u32 attach_type; member
6740 __u32 attach_type; member
6744 __u32 attach_type; member
6748 __u32 attach_type; member
/linux-6.14.4/tools/lib/bpf/
Dskel_internal.h290 enum bpf_attach_type attach_type) in skel_link_create()
Dlibbpf.c9665 static char *libbpf_get_type_names(bool attach_type) in libbpf_get_type_names()
9891 void btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type, in btf_get_kernel_prefix_kind()
9932 enum bpf_attach_type attach_type) in find_attach_btf_id()
9942 enum bpf_attach_type attach_type) in libbpf_find_vmlinux_btf_id()
9999 enum bpf_attach_type attach_type, in find_kernel_btf_id()
10055 enum bpf_attach_type attach_type = prog->expected_attach_type; in libbpf_find_attach_btf_id() local
10095 enum bpf_attach_type *attach_type) in libbpf_attach_type_by_name()
11557 enum bpf_attach_type attach_type; in bpf_program__attach_kprobe_multi_opts() local
12032 enum bpf_attach_type attach_type; in bpf_program__attach_uprobe_multi() local
12718 enum bpf_attach_type attach_type; in bpf_program_attach_fd() local
Dbpf.c726 enum bpf_attach_type attach_type, in bpf_link_create()
/linux-6.14.4/net/core/
Dsock_map.c1712 enum bpf_attach_type attach_type; member
1847 enum bpf_attach_type attach_type; in sock_map_link_create() local

12