Home
last modified time | relevance | path

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

/linux-6.1.9/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
Dtest_sock_addr.c68 enum bpf_attach_type attach_type; member
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dsection_names.c16 enum bpf_attach_type attach_type; member
189 enum bpf_attach_type attach_type; in test_attach_type_by_name() local
Dsockopt_multi.c7 enum bpf_attach_type attach_type; in prog_attach() local
36 enum bpf_attach_type attach_type; in prog_detach() local
Dbpf_verif_scale.c50 enum bpf_prog_type attach_type; member
55 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_inherit.c138 enum bpf_attach_type attach_type; in prog_attach() local
Dsockopt.c21 enum bpf_attach_type attach_type; member
Dsockmap_basic.c310 static void test_sockmap_progs_query(enum bpf_attach_type attach_type) in test_sockmap_progs_query()
/linux-6.1.9/tools/bpf/bpftool/
Dcgroup.c96 static int show_bpf_prog(int id, enum bpf_attach_type attach_type, in show_bpf_prog()
512 enum bpf_attach_type attach_type; in do_attach() local
572 enum bpf_attach_type attach_type; in do_detach() local
Dlink.c69 static void show_link_attach_type_json(__u32 attach_type, json_writer_t *wtr) in show_link_attach_type_json()
234 static void show_link_attach_type_plain(__u32 attach_type) in show_link_attach_type_plain()
Dnet.c540 static int do_attach_detach_xdp(int progfd, enum net_attach_type attach_type, in do_attach_detach_xdp()
559 enum net_attach_type attach_type; in do_attach() local
613 enum net_attach_type attach_type; in do_detach() local
Dprog.c1024 enum bpf_attach_type *attach_type, in parse_attach_detach_args()
1058 enum bpf_attach_type attach_type; in do_attach() local
1080 enum bpf_attach_type attach_type; in do_detach() local
/linux-6.1.9/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.h1290 enum bpf_attach_type attach_type; member
/linux-6.1.9/tools/lib/bpf/
Dskel_internal.h290 enum bpf_attach_type attach_type) in skel_link_create()
Dlibbpf.c8704 static char *libbpf_get_type_names(bool attach_type) in libbpf_get_type_names()
8936 void btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type, in btf_get_kernel_prefix_kind()
8977 enum bpf_attach_type attach_type) in find_attach_btf_id()
8987 enum bpf_attach_type attach_type) in libbpf_find_vmlinux_btf_id()
9044 enum bpf_attach_type attach_type, in find_kernel_btf_id()
9083 enum bpf_attach_type attach_type = prog->expected_attach_type; in libbpf_find_attach_btf_id() local
9121 enum bpf_attach_type *attach_type) in libbpf_attach_type_by_name()
11258 enum bpf_attach_type attach_type; in bpf_program__attach_fd() local
Dbpf.c674 enum bpf_attach_type attach_type, in bpf_link_create()
/linux-6.1.9/kernel/bpf/
Dcgroup.c138 bpf_cgroup_atype_find(enum bpf_attach_type attach_type, u32 attach_btf_id) in bpf_cgroup_atype_find()
184 bpf_cgroup_atype_find(enum bpf_attach_type attach_type, u32 attach_btf_id) in bpf_cgroup_atype_find()
251 enum bpf_attach_type attach_type) in bpf_cgroup_storages_link()
Dsyscall.c2234 enum bpf_prog_type *attach_type, bool attach_drv) in bpf_prog_get_ok()
2248 static struct bpf_prog *__bpf_prog_get(u32 ufd, enum bpf_prog_type *attach_type, in __bpf_prog_get()
3369 enum bpf_attach_type attach_type) in bpf_prog_attach_check_attach_type()
3392 attach_type_to_prog_type(enum bpf_attach_type attach_type) in attach_type_to_prog_type()
/linux-6.1.9/tools/include/uapi/linux/
Dbpf.h87 __u32 attach_type; /* program attach type (enum bpf_attach_type) */ member
1404 __u32 attach_type; member
1456 __u32 attach_type; member
1502 __u32 attach_type; /* attach type */ member
6245 __u32 attach_type; member
6251 __u32 attach_type; member
6279 __u32 attach_type; member
/linux-6.1.9/include/uapi/linux/
Dbpf.h87 __u32 attach_type; /* program attach type (enum bpf_attach_type) */ member
1404 __u32 attach_type; member
1456 __u32 attach_type; member
1502 __u32 attach_type; /* attach type */ member
6245 __u32 attach_type; member
6251 __u32 attach_type; member
6279 __u32 attach_type; member
/linux-6.1.9/net/core/
Dfilter.c8436 enum bpf_attach_type attach_type) in __sock_filter_check_attach_type()