| /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 | test_sysctl.c | 18 enum bpf_attach_type attach_type; member
|
| H A D | sockopt.c | 28 enum bpf_attach_type attach_type; member
|
| H A D | sockmap_basic.c | 442 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 | 640 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 D | cgroup.c | 130 show_bpf_prog(int id,enum bpf_attach_type attach_type,const char * attach_flags_str,int level) show_bpf_prog() argument 546 enum bpf_attach_type attach_type; do_attach() local 606 enum bpf_attach_type attach_type; do_detach() local [all...] |
| 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() argument 607 show_link_attach_type_plain(__u32 attach_type) show_link_attach_type_plain() argument [all...] |
| H A D | prog.c | 1040 parse_attach_detach_args(int argc,char ** argv,int * progfd,enum bpf_attach_type * attach_type,int * mapfd) parse_attach_detach_args() argument 1074 enum bpf_attach_type attach_type; do_attach() local 1096 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-cgroup.h | 39 to_cgroup_bpf_attach_type(enum bpf_attach_type attach_type) in to_cgroup_bpf_attach_type()
|
| H A D | bpf.h | 1769 enum bpf_attach_type attach_type; member 2081 enum bpf_attach_type attach_type) in bpf_trampoline_link_cgroup_shim() 2947 struct bpf_prog *prog, enum bpf_attach_type attach_type) in bpf_link_init() 2953 enum bpf_attach_type attach_type, bool sleepable) in bpf_link_init_sleepable()
|
| /linux/kernel/bpf/ |
| H A D | token.c | 271 enum bpf_attach_type attach_type) in bpf_token_allow_prog_type()
|
| H A D | trampoline.c | 678 enum bpf_attach_type attach_type) in cgroup_shim_alloc() argument 731 enum bpf_attach_type attach_type) in bpf_trampoline_link_cgroup_shim() argument
|
| H A D | syscall.c | 2588 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 D | cgroup.c | 168 bpf_cgroup_atype_find(enum bpf_attach_type attach_type,u32 attach_btf_id) bpf_cgroup_atype_find() argument 214 bpf_cgroup_atype_find(enum bpf_attach_type attach_type,u32 attach_btf_id) bpf_cgroup_atype_find() argument 281 bpf_cgroup_storages_link(struct bpf_cgroup_storage * storages[],struct cgroup * cgrp,enum bpf_attach_type attach_type) bpf_cgroup_storages_link() argument [all...] |
| /linux/tools/lib/bpf/ |
| H A D | skel_internal.h | 290 skel_link_create(int prog_fd,int target_fd,enum bpf_attach_type attach_type) skel_link_create() argument
|
| H A D | libbpf.c | 9762 libbpf_get_type_names(bool attach_type) libbpf_get_type_names() argument 9988 btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type,const char ** prefix,int * kind) btf_get_kernel_prefix_kind() argument 10029 find_attach_btf_id(struct btf * btf,const char * name,enum bpf_attach_type attach_type) find_attach_btf_id() argument 10039 libbpf_find_vmlinux_btf_id(const char * name,enum bpf_attach_type attach_type) libbpf_find_vmlinux_btf_id() argument 10096 find_kernel_btf_id(struct bpf_object * obj,const char * attach_name,enum bpf_attach_type attach_type,int * btf_obj_fd,int * btf_type_id) find_kernel_btf_id() argument 10152 enum bpf_attach_type attach_type = prog->expected_attach_type; libbpf_find_attach_btf_id() local 10192 libbpf_attach_type_by_name(const char * name,enum bpf_attach_type * attach_type) libbpf_attach_type_by_name() argument 11657 enum bpf_attach_type attach_type; bpf_program__attach_kprobe_multi_opts() local 12118 enum bpf_attach_type attach_type; bpf_program__attach_uprobe_multi() local 12805 enum bpf_attach_type attach_type; bpf_program_attach_fd() local [all...] |
| H A D | bpf.c | 726 bpf_link_create(int prog_fd,int target_fd,enum bpf_attach_type attach_type,const struct bpf_link_create_opts * opts) bpf_link_create() argument
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 113 __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 D | bpf.h | 113 __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/testing/selftests/bpf/ |
| H A D | veristat.c | 1132 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 D | sock_map.c | 1846 enum bpf_attach_type attach_type; in sock_map_link_create() local
|