Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/selftests/bpf/
Dtest_sock.c31 enum bpf_attach_type attach_type; member
329 enum bpf_attach_type attach_type) in load_sock_prog()
350 enum bpf_attach_type attach_type) in attach_sock_prog()
Dtest_sysctl.c32 enum bpf_attach_type attach_type; member
Dtest_sock_addr.c69 enum bpf_attach_type attach_type; member
/Linux-v5.15/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.c38 enum bpf_prog_type attach_type; member
Dsockopt_inherit.c141 enum bpf_attach_type attach_type; in prog_attach() local
Dsockopt.c21 enum bpf_attach_type attach_type; member
/Linux-v5.15/tools/bpf/bpftool/
Dcgroup.c49 static int show_bpf_prog(int id, enum bpf_attach_type attach_type, in show_bpf_prog()
382 enum bpf_attach_type attach_type; in do_attach() local
442 enum bpf_attach_type attach_type; in do_detach() local
Dlink.c71 static void show_link_attach_type_json(__u32 attach_type, json_writer_t *wtr) in show_link_attach_type_json()
189 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.c939 enum bpf_attach_type *attach_type, in parse_attach_detach_args()
973 enum bpf_attach_type attach_type; in do_attach() local
995 enum bpf_attach_type attach_type; in do_detach() local
/Linux-v5.15/include/linux/
Dbpf-netns.h16 to_netns_bpf_attach_type(enum bpf_attach_type attach_type) in to_netns_bpf_attach_type()
Dbpf-cgroup.h58 to_cgroup_bpf_attach_type(enum bpf_attach_type attach_type) in to_cgroup_bpf_attach_type()
/Linux-v5.15/kernel/bpf/
Dsyscall.c1937 enum bpf_prog_type *attach_type, bool attach_drv) in bpf_prog_get_ok()
1951 static struct bpf_prog *__bpf_prog_get(u32 ufd, enum bpf_prog_type *attach_type, in __bpf_prog_get()
2596 enum bpf_attach_type attach_type; member
3071 enum bpf_attach_type attach_type) in bpf_prog_attach_check_attach_type()
3094 attach_type_to_prog_type(enum bpf_attach_type attach_type) in attach_type_to_prog_type()
Dcgroup.c84 enum bpf_attach_type attach_type) in bpf_cgroup_storages_link()
1322 enum cgroup_bpf_attach_type attach_type) in __cgroup_bpf_prog_array_is_empty()
/Linux-v5.15/include/uapi/linux/
Dbpf.h87 __u32 attach_type; /* program attach type (enum bpf_attach_type) */ member
1350 __u32 attach_type; member
1401 __u32 attach_type; member
1443 __u32 attach_type; /* attach type */ member
5618 __u32 attach_type; member
5624 __u32 attach_type; member
5637 __u32 attach_type; member
/Linux-v5.15/tools/include/uapi/linux/
Dbpf.h87 __u32 attach_type; /* program attach type (enum bpf_attach_type) */ member
1350 __u32 attach_type; member
1401 __u32 attach_type; member
1443 __u32 attach_type; /* attach type */ member
5618 __u32 attach_type; member
5624 __u32 attach_type; member
5637 __u32 attach_type; member
/Linux-v5.15/tools/lib/bpf/
Dlibbpf.c8093 static char *libbpf_get_type_names(bool attach_type) in libbpf_get_type_names()
8284 void btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type, in btf_get_kernel_prefix_kind()
8324 enum bpf_attach_type attach_type) in find_attach_btf_id()
8334 enum bpf_attach_type attach_type) in libbpf_find_vmlinux_btf_id()
8392 enum bpf_attach_type attach_type, in find_kernel_btf_id()
8430 enum bpf_attach_type attach_type = prog->expected_attach_type; in libbpf_find_attach_btf_id() local
8484 enum bpf_attach_type *attach_type) in libbpf_attach_type_by_name()
8799 enum bpf_attach_type attach_type = attr->expected_attach_type; in bpf_prog_load_xattr() local
9555 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-v5.15/net/core/
Dfilter.c7904 enum bpf_attach_type attach_type) in __sock_filter_check_attach_type()