Home
last modified time | relevance | path

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

/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 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 Dtest_sysctl.c18 enum bpf_attach_type attach_type; member
H A Dsockopt.c29 enum bpf_attach_type attach_type; member
H A Dfill_link_info.c474 enum bpf_attach_type attach_type = bpf_program__expected_attach_type(prog); in verify_tracing_multi_link_info() local
H A Dsock_addr.c354 enum bpf_attach_type attach_type; member
H A Dsockmap_basic.c405 static void test_sockmap_progs_query(enum bpf_attach_type attach_type) in test_sockmap_progs_query()
/linux/tools/bpf/bpftool/
H A Dnet.c643 static int do_attach_detach_xdp(int progfd, enum net_attach_type attach_type, in do_attach_detach_xdp() argument
660 static int get_tcx_type(enum net_attach_type attach_type) in get_tcx_type() argument
672 static int do_attach_tcx(int progfd, enum net_attach_type attach_type, int ifindex, bool prepend) in do_attach_tcx() argument
685 static int do_detach_tcx(int targetfd, enum net_attach_type attach_type) in do_detach_tcx() argument
694 enum net_attach_type attach_type; do_attach() local
778 enum net_attach_type attach_type; do_detach() local
[all...]
H A Dcgroup.c141 static int show_bpf_prog(int id, enum bpf_attach_type attach_type, in show_bpf_prog()
562 enum bpf_attach_type attach_type; in do_attach() local
622 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()
718 static void show_link_attach_type_plain(__u32 attach_type) in show_link_attach_type_plain()
/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.h1920 enum bpf_attach_type attach_type; member
2364 enum bpf_attach_type attach_type) in bpf_trampoline_link_cgroup_shim()
3310 struct bpf_prog *prog, enum bpf_attach_type attach_type) in bpf_link_init()
3316 enum bpf_attach_type attach_type, bool sleepable) in bpf_link_init_sleepable()
3322 enum bpf_attach_type attach_type, u64 cookie) in bpf_tramp_link_init()
/linux/kernel/bpf/
H A Dtoken.c255 enum bpf_attach_type attach_type) in bpf_token_allow_prog_type()
H A Dsyscall.c2651 enum bpf_prog_type *attach_type, bool attach_drv) in bpf_prog_get_ok()
2665 static struct bpf_prog *__bpf_prog_get(u32 ufd, enum bpf_prog_type *attach_type, in __bpf_prog_get()
3231 enum bpf_attach_type attach_type, bool sleepable) in bpf_link_init_sleepable()
3245 enum bpf_attach_type attach_type) in bpf_link_init()
3252 enum bpf_attach_type attach_type, u64 cookie) in bpf_tramp_link_init()
3638 enum bpf_attach_type attach_type) in bpf_tracing_prog_attach()
4299 enum bpf_attach_type attach_type) in bpf_raw_tp_link_attach()
4398 attach_type_to_prog_type(enum bpf_attach_type attach_type) in attach_type_to_prog_type()
4475 enum bpf_attach_type attach_type) in bpf_prog_attach_check_attach_type()
H A Dcgroup.c183 bpf_cgroup_atype_find(enum bpf_attach_type attach_type, u32 attach_btf_id) in bpf_cgroup_atype_find()
234 bpf_cgroup_atype_find(enum bpf_attach_type attach_type, u32 attach_btf_id) in bpf_cgroup_atype_find()
301 enum bpf_attach_type attach_type) in bpf_cgroup_storages_link()
H A Dtrampoline.c1072 enum bpf_attach_type attach_type) in cgroup_shim_alloc()
1125 enum bpf_attach_type attach_type) in bpf_trampoline_link_cgroup_shim()
H A Dbtf.c6220 enum bpf_attach_type attach_type) in btf_validate_prog_ctx_type()
/linux/tools/include/uapi/linux/
H A Dbpf.h113 __u32 attach_type; /* program attach type (enum bpf_attach_type) */ member
1693 __u32 attach_type; member
1751 __u32 attach_type; member
1819 __u32 attach_type; /* attach type */ member
6850 __u32 attach_type; member
6858 __u32 attach_type; member
6886 __u32 attach_type; member
6918 __u32 attach_type; member
6961 __u32 attach_type; member
6965 __u32 attach_type; member
[all …]
/linux/include/uapi/linux/
H A Dbpf.h113 __u32 attach_type; /* program attach type (enum bpf_attach_type) */ member
1693 __u32 attach_type; member
1751 __u32 attach_type; member
1819 __u32 attach_type; /* attach type */ member
6850 __u32 attach_type; member
6858 __u32 attach_type; member
6886 __u32 attach_type; member
6918 __u32 attach_type; member
6961 __u32 attach_type; member
6965 __u32 attach_type; member
[all …]
/linux/tools/lib/bpf/
H A Dskel_internal.h326 enum bpf_attach_type attach_type) in skel_link_create()
H A Dlibbpf.c10383 static char *libbpf_get_type_names(bool attach_type) in libbpf_get_type_names()
10609 void btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type, in btf_get_kernel_prefix_kind()
10650 enum bpf_attach_type attach_type) in find_attach_btf_id()
10660 enum bpf_attach_type attach_type) in libbpf_find_vmlinux_btf_id()
10717 enum bpf_attach_type attach_type, in find_kernel_btf_id()
10773 enum bpf_attach_type attach_type = prog->expected_attach_type; in libbpf_find_attach_btf_id() local
10813 enum bpf_attach_type *attach_type) in libbpf_attach_type_by_name()
12320 enum bpf_attach_type attach_type; in bpf_program__attach_kprobe_multi_opts() local
13077 enum bpf_attach_type attach_type; in bpf_program__attach_uprobe_multi() local
13785 enum bpf_attach_type attach_type; in bpf_program_attach_fd() local
/linux/tools/testing/selftests/bpf/
H A Dveristat.c1190 enum bpf_attach_type *attach_type) in guess_prog_type_by_ctx_name()
1204 enum bpf_attach_type attach_type; in guess_prog_type_by_ctx_name() member
1343 enum bpf_attach_type attach_type; in fixup_obj() local
2702 enum bpf_attach_type attach_type = 0; in parse_stat_value() local
/linux/net/core/
H A Dsock_map.c1520 static int sock_map_prog_attach_check(enum bpf_attach_type attach_type, in sock_map_prog_attach_check()
1879 enum bpf_attach_type attach_type; in sock_map_link_create() local
H A Dfilter.c9241 enum bpf_attach_type attach_type) in __sock_filter_check_attach_type()