Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsection_names.c16 enum bpf_attach_type attach_type; member
234 enum bpf_attach_type attach_type; in test_attach_type_by_name() local
H A Dsockmap_redir.c128 enum bpf_attach_type *attach_type, in get_redir_params()
419 enum bpf_attach_type attach_type; in test_map() local
H A Dsock_create.c17 enum bpf_attach_type attach_type; member
H A Dbpf_verif_scale.c49 enum bpf_prog_type attach_type, in scale_test()
H A Dlibbpf_str.c40 enum bpf_attach_type attach_type = (enum bpf_attach_type)e->val; in test_libbpf_bpf_attach_type_str() local
H A Dsock_post_bind.c14 enum bpf_attach_type attach_type; member
H A Dtest_sysctl.c18 enum bpf_attach_type attach_type; member
H A Dsockopt.c28 enum bpf_attach_type attach_type; member
H A Dsockmap_basic.c442 static void test_sockmap_progs_query(enum bpf_attach_type attach_type) in test_sockmap_progs_query()
H A Dsock_addr.c354 enum bpf_attach_type attach_type; member
/linux/tools/bpf/bpftool/
H A 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
H A Dcgroup.c134 static int show_bpf_prog(int id, enum bpf_attach_type attach_type, in show_bpf_prog()
550 enum bpf_attach_type attach_type; in do_attach() local
610 enum bpf_attach_type attach_type; in do_detach() local
H A Dlink.c142 static void show_link_attach_type_json(__u32 attach_type, json_writer_t *wtr) in show_link_attach_type_json()
650 static void show_link_attach_type_plain(__u32 attach_type) in show_link_attach_type_plain()
H A Dprog.c1041 enum bpf_attach_type *attach_type, in parse_attach_detach_args()
1075 enum bpf_attach_type attach_type; in do_attach() local
1097 enum bpf_attach_type attach_type; in do_detach() local
/linux/include/linux/
H A Dbpf-netns.h10 to_netns_bpf_attach_type(enum bpf_attach_type attach_type) in to_netns_bpf_attach_type()
H A Dbpf-cgroup.h39 to_cgroup_bpf_attach_type(enum bpf_attach_type attach_type) in to_cgroup_bpf_attach_type()
/linux/kernel/bpf/
H A Dtoken.c271 enum bpf_attach_type attach_type) in bpf_token_allow_prog_type()
H A Dtrampoline.c678 enum bpf_attach_type attach_type) in cgroup_shim_alloc()
731 enum bpf_attach_type attach_type) in bpf_trampoline_link_cgroup_shim()
H A Dsyscall.c2588 enum bpf_prog_type *attach_type, bool attach_drv) in bpf_prog_get_ok()
2602 static struct bpf_prog *__bpf_prog_get(u32 ufd, enum bpf_prog_type *attach_type, in __bpf_prog_get()
3177 enum bpf_attach_type attach_type, bool sleepable) in bpf_link_init_sleepable()
3191 enum bpf_attach_type attach_type) in bpf_link_init()
3554 enum bpf_attach_type attach_type) in bpf_tracing_prog_attach()
4194 enum bpf_attach_type attach_type) in bpf_raw_tp_link_attach()
4288 attach_type_to_prog_type(enum bpf_attach_type attach_type) in attach_type_to_prog_type()
4361 enum bpf_attach_type attach_type) in bpf_prog_attach_check_attach_type()
H A Dcgroup.c167 bpf_cgroup_atype_find(enum bpf_attach_type attach_type, u32 attach_btf_id) in bpf_cgroup_atype_find()
213 bpf_cgroup_atype_find(enum bpf_attach_type attach_type, u32 attach_btf_id) in bpf_cgroup_atype_find()
280 enum bpf_attach_type attach_type) in bpf_cgroup_storages_link()
/linux/include/uapi/linux/
H A Dbpf.h113 __u32 attach_type; /* program attach type (enum bpf_attach_type) */ member
1645 __u32 attach_type; member
1703 __u32 attach_type; member
1771 __u32 attach_type; /* attach type */ member
6710 __u32 attach_type; member
6718 __u32 attach_type; member
6746 __u32 attach_type; member
6812 __u32 attach_type; member
6816 __u32 attach_type; member
6820 __u32 attach_type; member
/linux/tools/include/uapi/linux/
H A Dbpf.h113 __u32 attach_type; /* program attach type (enum bpf_attach_type) */ member
1645 __u32 attach_type; member
1703 __u32 attach_type; member
1771 __u32 attach_type; /* attach type */ member
6710 __u32 attach_type; member
6718 __u32 attach_type; member
6746 __u32 attach_type; member
6812 __u32 attach_type; member
6816 __u32 attach_type; member
6820 __u32 attach_type; member
/linux/tools/lib/bpf/
H A Dskel_internal.h305 enum bpf_attach_type attach_type) in skel_link_create()
H A Dlibbpf.c9815 static char *libbpf_get_type_names(bool attach_type) in libbpf_get_type_names()
10041 void btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type, in btf_get_kernel_prefix_kind()
10082 enum bpf_attach_type attach_type) in find_attach_btf_id()
10092 enum bpf_attach_type attach_type) in libbpf_find_vmlinux_btf_id()
10149 enum bpf_attach_type attach_type, in find_kernel_btf_id()
10205 enum bpf_attach_type attach_type = prog->expected_attach_type; in libbpf_find_attach_btf_id() local
10245 enum bpf_attach_type *attach_type) in libbpf_attach_type_by_name()
11731 enum bpf_attach_type attach_type; in bpf_program__attach_kprobe_multi_opts() local
12192 enum bpf_attach_type attach_type; in bpf_program__attach_uprobe_multi() local
12879 enum bpf_attach_type attach_type; in bpf_program_attach_fd() local
/linux/tools/testing/selftests/bpf/
H A Dveristat.c1151 enum bpf_attach_type *attach_type) in guess_prog_type_by_ctx_name()
1165 enum bpf_attach_type attach_type; in guess_prog_type_by_ctx_name() member
1273 enum bpf_attach_type attach_type; in fixup_obj() local
2651 enum bpf_attach_type attach_type = 0; in parse_stat_value() local

12