Home
last modified time | relevance | path

Searched defs:attach_type (Results 1 – 18 of 18) 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.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
/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() argument
H A Dbpf.h1798 enum bpf_attach_type attach_type; member
2112 enum bpf_attach_type attach_type) in bpf_trampoline_link_cgroup_shim()
2987 struct bpf_prog *prog, enum bpf_attach_type attach_type) in bpf_link_init()
2993 enum bpf_attach_type attach_type, bool sleepable) in bpf_link_init_sleepable()
/linux/kernel/bpf/
H A Dtrampoline.c724 enum bpf_attach_type attach_type) in cgroup_shim_alloc()
777 enum bpf_attach_type attach_type) in bpf_trampoline_link_cgroup_shim()
H A Dsyscall.c2582 enum bpf_prog_type *attach_type, bool attach_drv) in bpf_prog_get_ok()
2596 static struct bpf_prog *__bpf_prog_get(u32 ufd, enum bpf_prog_type *attach_type, in __bpf_prog_get()
3192 enum bpf_attach_type attach_type, bool sleepable) in bpf_link_init_sleepable()
3206 enum bpf_attach_type attach_type) in bpf_link_init()
3569 enum bpf_attach_type attach_type) in bpf_tracing_prog_attach()
4209 enum bpf_attach_type attach_type) in bpf_raw_tp_link_attach()
4303 attach_type_to_prog_type(enum bpf_attach_type attach_type) in attach_type_to_prog_type()
4376 enum bpf_attach_type attach_type) in bpf_prog_attach_check_attach_type()
/linux/include/uapi/linux/
H A Dbpf.h113 __u32 attach_type; /* program attach type (enum bpf_attach_type) */ member
1645 __u32 attach_type; global() member
1703 __u32 attach_type; global() member
1771 __u32 attach_type; /* attach type */ global() member
6710 __u32 attach_type; global() member
6718 __u32 attach_type; global() member
6746 __u32 attach_type; global() member
6812 __u32 attach_type; global() member
6816 __u32 attach_type; global() member
6820 __u32 attach_type; global() member
[all...]
/linux/tools/include/uapi/linux/
H A Dbpf.h113 __u32 attach_type; /* program attach type (enum bpf_attach_type) */ member
1645 __u32 attach_type; global() member
1703 __u32 attach_type; global() member
1771 __u32 attach_type; /* attach type */ global() member
6710 __u32 attach_type; global() member
6718 __u32 attach_type; global() member
6746 __u32 attach_type; global() member
6812 __u32 attach_type; global() member
6816 __u32 attach_type; global() member
6820 __u32 attach_type; global() member
[all...]
/linux/tools/testing/selftests/bpf/
H A Dveristat.c1132 guess_prog_type_by_ctx_name(const char * ctx_name,enum bpf_prog_type * prog_type,enum bpf_attach_type * attach_type) guess_prog_type_by_ctx_name() argument
1146 enum bpf_attach_type attach_type; guess_prog_type_by_ctx_name() member
1254 enum bpf_attach_type attach_type; fixup_obj() local
2597 enum bpf_attach_type attach_type = 0; parse_stat_value() local
[all...]
/linux/net/core/
H A Dsock_map.c1846 enum bpf_attach_type attach_type; in sock_map_link_create() local
H A Dfilter.c8953 enum bpf_attach_type attach_type) in __sock_filter_check_attach_type()