/linux/tools/testing/selftests/bpf/ |
H A D | test_sock.c |
|
H A D | test_sysctl.c | 32 enum bpf_attach_type attach_type; member
|
H A D | veristat.c | 982 enum bpf_attach_type *attach_type) in guess_prog_type_by_ctx_name() 996 enum bpf_attach_type attach_type; in guess_prog_type_by_ctx_name() member 1065 enum bpf_attach_type attach_type; in fixup_obj() local
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | section_names.c | 16 enum bpf_attach_type attach_type; member 234 enum bpf_attach_type attach_type; in test_attach_type_by_name() local
|
H A D | bpf_verif_scale.c | 49 enum bpf_prog_type attach_type, in scale_test()
|
H A D | libbpf_str.c | 40 enum bpf_attach_type attach_type = (enum bpf_attach_type)e->val; in test_libbpf_bpf_attach_type_str() local
|
H A D | sockopt.c | 28 enum bpf_attach_type attach_type; member
|
H A D | sockmap_basic.c | 438 static void test_sockmap_progs_query(enum bpf_attach_type attach_type) in test_sockmap_progs_query()
|
H A D | sock_addr.c | 354 enum bpf_attach_type attach_type; member
|
/linux/tools/bpf/bpftool/ |
H A D | net.c | 637 static int do_attach_detach_xdp(int progfd, enum net_attach_type attach_type, in do_attach_detach_xdp() 654 static int get_tcx_type(enum net_attach_type attach_type) in get_tcx_type() 666 static int do_attach_tcx(int progfd, enum net_attach_type attach_type, int ifindex) in do_attach_tcx() 673 static int do_detach_tcx(int targetfd, enum net_attach_type attach_type) in do_detach_tcx() 682 enum net_attach_type attach_type; in do_attach() local 749 enum net_attach_type attach_type; in do_detach() local
|
H A D | cgroup.c | 130 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
|
H A D | link.c | 142 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()
|
H A D | prog.c | 1033 parse_attach_detach_args(int argc,char ** argv,int * progfd,enum bpf_attach_type * attach_type,int * mapfd) parse_attach_detach_args() argument 1067 enum bpf_attach_type attach_type; do_attach() local 1089 enum bpf_attach_type attach_type; do_detach() local [all...] |
/linux/include/linux/ |
H A D | bpf-netns.h | 10 to_netns_bpf_attach_type(enum bpf_attach_type attach_type) in to_netns_bpf_attach_type()
|
H A D | bpf.h | 1700 enum bpf_attach_type attach_type; member
|
/linux/kernel/bpf/ |
H A D | token.c | 248 enum bpf_attach_type attach_type) in bpf_token_allow_prog_type()
|
H A D | cgroup.c | 155 bpf_cgroup_atype_find(enum bpf_attach_type attach_type, u32 attach_btf_id) in bpf_cgroup_atype_find() argument 201 bpf_cgroup_atype_find(enum bpf_attach_type attach_type, u32 attach_btf_id) in bpf_cgroup_atype_find() argument 268 enum bpf_attach_type attach_type) in bpf_cgroup_storages_link() argument [all...] |
H A D | syscall.c | 2500 enum bpf_prog_type *attach_type, bool attach_drv) in bpf_prog_get_ok() 2514 static struct bpf_prog *__bpf_prog_get(u32 ufd, enum bpf_prog_type *attach_type, in __bpf_prog_get() 4019 attach_type_to_prog_type(enum bpf_attach_type attach_type) in attach_type_to_prog_type() 4092 enum bpf_attach_type attach_type) in bpf_prog_attach_check_attach_type()
|
H A D | btf.c | 6006 enum bpf_attach_type attach_type) in btf_validate_prog_ctx_type()
|
/linux/include/uapi/linux/ |
H A D | bpf.h | 110 __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 6631 __u32 attach_type; member 6637 __u32 attach_type; member 6665 __u32 attach_type; member 6730 __u32 attach_type; member 6734 __u32 attach_type; member 6738 __u32 attach_type; member
|
/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 110 __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 6631 __u32 attach_type; member 6637 __u32 attach_type; member 6665 __u32 attach_type; member 6730 __u32 attach_type; member 6734 __u32 attach_type; member 6738 __u32 attach_type; member
|
/linux/tools/lib/bpf/ |
H A D | skel_internal.h | 290 enum bpf_attach_type attach_type) in skel_link_create()
|
H A D | libbpf.c | 9653 static char *libbpf_get_type_names(bool attach_type) in libbpf_get_type_names() 9879 void btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type, in btf_get_kernel_prefix_kind() 9920 enum bpf_attach_type attach_type) in find_attach_btf_id() 9930 enum bpf_attach_type attach_type) in libbpf_find_vmlinux_btf_id() 9987 enum bpf_attach_type attach_type, in find_kernel_btf_id() 10043 enum bpf_attach_type attach_type = prog->expected_attach_type; in libbpf_find_attach_btf_id() local 10083 enum bpf_attach_type *attach_type) in libbpf_attach_type_by_name() 11521 enum bpf_attach_type attach_type; in bpf_program__attach_kprobe_multi_opts() local 11985 enum bpf_attach_type attach_type; in bpf_program__attach_uprobe_multi() local 12671 enum bpf_attach_type attach_type; in bpf_program_attach_fd() local
|
/linux/net/core/ |
H A D | sock_map.c | 1706 enum bpf_attach_type attach_type; member 1841 enum bpf_attach_type attach_type; in sock_map_link_create() local
|
H A D | filter.c | 8766 enum bpf_attach_type attach_type) in __sock_filter_check_attach_type()
|