Home
last modified time | relevance | path

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

/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.c860 enum bpf_attach_type *attach_type) in guess_prog_type_by_ctx_name()
874 enum bpf_attach_type attach_type; in guess_prog_type_by_ctx_name() member
943 enum bpf_attach_type attach_type; in fixup_obj() local
/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
/tools/bpf/bpftool/
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
Dnet.c640 static int do_attach_detach_xdp(int progfd, enum net_attach_type attach_type, in do_attach_detach_xdp()
657 static int get_tcx_type(enum net_attach_type attach_type) in get_tcx_type()
669 static int do_attach_tcx(int progfd, enum net_attach_type attach_type, int ifindex) in do_attach_tcx()
676 static int do_detach_tcx(int targetfd, enum net_attach_type attach_type) in do_detach_tcx()
685 enum net_attach_type attach_type; in do_attach() local
752 enum net_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
/tools/lib/bpf/
Dskel_internal.h290 enum bpf_attach_type attach_type) in skel_link_create()
Dlibbpf.c9659 static char *libbpf_get_type_names(bool attach_type) in libbpf_get_type_names()
9885 void btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type, in btf_get_kernel_prefix_kind()
9926 enum bpf_attach_type attach_type) in find_attach_btf_id()
9936 enum bpf_attach_type attach_type) in libbpf_find_vmlinux_btf_id()
9993 enum bpf_attach_type attach_type, in find_kernel_btf_id()
10049 enum bpf_attach_type attach_type = prog->expected_attach_type; in libbpf_find_attach_btf_id() local
10089 enum bpf_attach_type *attach_type) in libbpf_attach_type_by_name()
11535 enum bpf_attach_type attach_type; in bpf_program__attach_kprobe_multi_opts() local
12667 enum bpf_attach_type attach_type; in bpf_program_attach_fd() local
Dbpf.c725 enum bpf_attach_type attach_type, in bpf_link_create()
/tools/include/uapi/linux/
Dbpf.h110 __u32 attach_type; /* program attach type (enum bpf_attach_type) */ member
1597 __u32 attach_type; member
1654 __u32 attach_type; member
1722 __u32 attach_type; /* attach type */ member
6635 __u32 attach_type; member
6641 __u32 attach_type; member
6669 __u32 attach_type; member
6734 __u32 attach_type; member
6738 __u32 attach_type; member
6742 __u32 attach_type; member