Home
last modified time | relevance | path

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

12

/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_sock.c30 enum bpf_attach_type attach_type; member
388 enum bpf_attach_type attach_type) in load_sock_prog()
408 enum bpf_attach_type attach_type) in attach_sock_prog()
Dtest_sysctl.c32 enum bpf_attach_type attach_type; member
Dveristat.c859 enum bpf_attach_type *attach_type) in guess_prog_type_by_ctx_name()
873 enum bpf_attach_type attach_type; in guess_prog_type_by_ctx_name() member
942 enum bpf_attach_type attach_type; in fixup_obj() local
/linux-6.12.1/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
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
Dsockopt.c28 enum bpf_attach_type attach_type; member
Dsockmap_basic.c408 static void test_sockmap_progs_query(enum bpf_attach_type attach_type) in test_sockmap_progs_query()
Dsock_addr.c358 enum bpf_attach_type attach_type; member
/linux-6.12.1/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.c1033 enum bpf_attach_type *attach_type, in parse_attach_detach_args()
1067 enum bpf_attach_type attach_type; in do_attach() local
1089 enum bpf_attach_type attach_type; in do_detach() local
/linux-6.12.1/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()
Dbpf.h1653 enum bpf_attach_type attach_type; member
/linux-6.12.1/kernel/bpf/
Dtoken.c249 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.c2399 enum bpf_prog_type *attach_type, bool attach_drv) in bpf_prog_get_ok()
2413 static struct bpf_prog *__bpf_prog_get(u32 ufd, enum bpf_prog_type *attach_type, in __bpf_prog_get()
3887 attach_type_to_prog_type(enum bpf_attach_type attach_type) in attach_type_to_prog_type()
3960 enum bpf_attach_type attach_type) in bpf_prog_attach_check_attach_type()
/linux-6.12.1/include/uapi/linux/
Dbpf.h110 __u32 attach_type; /* program attach type (enum bpf_attach_type) */ member
1596 __u32 attach_type; member
1653 __u32 attach_type; member
1721 __u32 attach_type; /* attach type */ member
6632 __u32 attach_type; member
6638 __u32 attach_type; member
6666 __u32 attach_type; member
6731 __u32 attach_type; member
6735 __u32 attach_type; member
6739 __u32 attach_type; member
/linux-6.12.1/tools/include/uapi/linux/
Dbpf.h110 __u32 attach_type; /* program attach type (enum bpf_attach_type) */ member
1596 __u32 attach_type; member
1653 __u32 attach_type; member
1721 __u32 attach_type; /* attach type */ member
6632 __u32 attach_type; member
6638 __u32 attach_type; member
6666 __u32 attach_type; member
6731 __u32 attach_type; member
6735 __u32 attach_type; member
6739 __u32 attach_type; member
/linux-6.12.1/tools/lib/bpf/
Dskel_internal.h290 enum bpf_attach_type attach_type) in skel_link_create()
Dlibbpf.c9606 static char *libbpf_get_type_names(bool attach_type) in libbpf_get_type_names()
9832 void btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type, in btf_get_kernel_prefix_kind()
9873 enum bpf_attach_type attach_type) in find_attach_btf_id()
9883 enum bpf_attach_type attach_type) in libbpf_find_vmlinux_btf_id()
9940 enum bpf_attach_type attach_type, in find_kernel_btf_id()
9996 enum bpf_attach_type attach_type = prog->expected_attach_type; in libbpf_find_attach_btf_id() local
10036 enum bpf_attach_type *attach_type) in libbpf_attach_type_by_name()
11482 enum bpf_attach_type attach_type; in bpf_program__attach_kprobe_multi_opts() local
12627 enum bpf_attach_type attach_type; in bpf_program_attach_fd() local
Dbpf.c725 enum bpf_attach_type attach_type, in bpf_link_create()
/linux-6.12.1/net/core/
Dsock_map.c1706 enum bpf_attach_type attach_type; member
1841 enum bpf_attach_type attach_type; in sock_map_link_create() local

12