Home
last modified time | relevance | path

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

/linux-5.10/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_socket_cookie.c132 enum bpf_attach_type attach_type; in run_test() local
Dtest_sysctl.c32 enum bpf_attach_type attach_type; member
Dtest_sock_addr.c65 enum bpf_attach_type attach_type; member
/linux-5.10/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_sk.c168 enum bpf_attach_type attach_type; in prog_attach() local
Dsockopt_inherit.c141 enum bpf_attach_type attach_type; in prog_attach() local
Dsockopt.c21 enum bpf_attach_type attach_type; member
/linux-5.10/tools/bpf/bpftool/
Dcgroup.c48 static int show_bpf_prog(int id, enum bpf_attach_type attach_type, in show_bpf_prog()
381 enum bpf_attach_type attach_type; in do_attach() local
441 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.c541 static int do_attach_detach_xdp(int progfd, enum net_attach_type attach_type, in do_attach_detach_xdp()
560 enum net_attach_type attach_type; in do_attach() local
614 enum net_attach_type attach_type; in do_detach() local
Dprog.c926 enum bpf_attach_type *attach_type, in parse_attach_detach_args()
960 enum bpf_attach_type attach_type; in do_attach() local
982 enum bpf_attach_type attach_type; in do_detach() local
/linux-5.10/include/linux/
Dbpf-netns.h16 to_netns_bpf_attach_type(enum bpf_attach_type attach_type) in to_netns_bpf_attach_type()
/linux-5.10/kernel/bpf/
Dsyscall.c1893 enum bpf_prog_type *attach_type, bool attach_drv) in bpf_prog_get_ok()
1907 static struct bpf_prog *__bpf_prog_get(u32 ufd, enum bpf_prog_type *attach_type, in __bpf_prog_get()
2501 enum bpf_attach_type attach_type; member
2887 enum bpf_attach_type attach_type) in bpf_prog_attach_check_attach_type()
2910 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()
1288 enum bpf_attach_type attach_type) in __cgroup_bpf_prog_array_is_empty()
/linux-5.10/tools/include/uapi/linux/
Dbpf.h81 __u32 attach_type; /* program attach type */ member
571 __u32 attach_type; member
622 __u32 attach_type; member
664 __u32 attach_type; /* attach type */ member
4433 __u32 attach_type; member
4437 __u32 attach_type; member
4450 __u32 attach_type; member
/linux-5.10/include/uapi/linux/
Dbpf.h81 __u32 attach_type; /* program attach type */ member
571 __u32 attach_type; member
622 __u32 attach_type; member
664 __u32 attach_type; /* attach type */ member
4433 __u32 attach_type; member
4437 __u32 attach_type; member
4450 __u32 attach_type; member
/linux-5.10/tools/lib/bpf/
Dlibbpf.c8402 static char *libbpf_get_type_names(bool attach_type) in libbpf_get_type_names()
8611 enum bpf_attach_type attach_type) in __find_vmlinux_btf_id()
8634 enum bpf_attach_type attach_type) in libbpf_find_vmlinux_btf_id()
8685 enum bpf_attach_type attach_type = prog->expected_attach_type; in libbpf_find_attach_btf_id() local
8712 enum bpf_attach_type *attach_type) in libbpf_attach_type_by_name()
9006 enum bpf_attach_type attach_type = attr->expected_attach_type; in bpf_prog_load_xattr() local
9632 enum bpf_attach_type attach_type; in bpf_program__attach_fd() local
Dbpf.c586 enum bpf_attach_type attach_type, in bpf_link_create()
/linux-5.10/net/core/
Dfilter.c7649 enum bpf_attach_type attach_type) in __sock_filter_check_attach_type()