| /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() argument
|
| 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 | 29 enum bpf_attach_type attach_type; member [all...] |
| H A D | fill_link_info.c | 474 enum bpf_attach_type attach_type = bpf_program__expected_attach_type(prog); in verify_tracing_multi_link_info() local
|
| H A D | sock_addr.c | 354 enum bpf_attach_type attach_type; member
|
| H A D | sockmap_basic.c | 405 static void test_sockmap_progs_query(enum bpf_attach_type attach_type) in test_sockmap_progs_query()
|
| /linux/tools/bpf/bpftool/ |
| H A D | net.c | 643 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 D | cgroup.c | 141 show_bpf_prog(int id,enum bpf_attach_type attach_type,const char * attach_flags_str,int level) show_bpf_prog() argument 562 enum bpf_attach_type attach_type; do_attach() local 622 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 718 show_link_attach_type_plain(__u32 attach_type) show_link_attach_type_plain() argument [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 | 1959 enum bpf_attach_type attach_type; global() member 2403 bpf_trampoline_link_cgroup_shim(struct bpf_prog * prog,int cgroup_atype,enum bpf_attach_type attach_type) bpf_trampoline_link_cgroup_shim() argument 3349 bpf_link_init(struct bpf_link * link,enum bpf_link_type type,const struct bpf_link_ops * ops,struct bpf_prog * prog,enum bpf_attach_type attach_type) bpf_link_init() argument 3355 bpf_link_init_sleepable(struct bpf_link * link,enum bpf_link_type type,const struct bpf_link_ops * ops,struct bpf_prog * prog,enum bpf_attach_type attach_type,bool sleepable) bpf_link_init_sleepable() argument 3361 bpf_tramp_link_init(struct bpf_tramp_link * link,enum bpf_link_type type,const struct bpf_link_ops * ops,struct bpf_prog * prog,enum bpf_attach_type attach_type,u64 cookie) bpf_tramp_link_init() argument [all...] |
| /linux/kernel/bpf/ |
| H A D | token.c | 255 bpf_token_allow_prog_type(const struct bpf_token * token,enum bpf_prog_type prog_type,enum bpf_attach_type attach_type) bpf_token_allow_prog_type() argument
|
| H A D | syscall.c | 2668 bpf_prog_get_ok(struct bpf_prog * prog,enum bpf_prog_type * attach_type,bool attach_drv) bpf_prog_get_ok() argument 2682 __bpf_prog_get(u32 ufd,enum bpf_prog_type * attach_type,bool attach_drv) __bpf_prog_get() argument 3248 bpf_link_init_sleepable(struct bpf_link * link,enum bpf_link_type type,const struct bpf_link_ops * ops,struct bpf_prog * prog,enum bpf_attach_type attach_type,bool sleepable) bpf_link_init_sleepable() argument 3262 bpf_link_init(struct bpf_link * link,enum bpf_link_type type,const struct bpf_link_ops * ops,struct bpf_prog * prog,enum bpf_attach_type attach_type) bpf_link_init() argument 3269 bpf_tramp_link_init(struct bpf_tramp_link * link,enum bpf_link_type type,const struct bpf_link_ops * ops,struct bpf_prog * prog,enum bpf_attach_type attach_type,u64 cookie) bpf_tramp_link_init() argument 3655 bpf_tracing_prog_attach(struct bpf_prog * prog,int tgt_prog_fd,u32 btf_id,u64 bpf_cookie,enum bpf_attach_type attach_type) bpf_tracing_prog_attach() argument 4316 bpf_raw_tp_link_attach(struct bpf_prog * prog,const char __user * user_tp_name,u64 cookie,enum bpf_attach_type attach_type) bpf_raw_tp_link_attach() argument 4415 attach_type_to_prog_type(enum bpf_attach_type attach_type) attach_type_to_prog_type() argument 4492 bpf_prog_attach_check_attach_type(const struct bpf_prog * prog,enum bpf_attach_type attach_type) bpf_prog_attach_check_attach_type() argument [all...] |
| H A D | cgroup.c | 183 bpf_cgroup_atype_find(enum bpf_attach_type attach_type,u32 attach_btf_id) bpf_cgroup_atype_find() argument 234 bpf_cgroup_atype_find(enum bpf_attach_type attach_type,u32 attach_btf_id) bpf_cgroup_atype_find() argument 301 bpf_cgroup_storages_link(struct bpf_cgroup_storage * storages[],struct cgroup * cgrp,enum bpf_attach_type attach_type) bpf_cgroup_storages_link() argument [all...] |
| H A D | trampoline.c | 1125 enum bpf_attach_type attach_type) in cgroup_shim_alloc() argument 1178 enum bpf_attach_type attach_type) in bpf_trampoline_link_cgroup_shim() argument
|
| H A D | btf.c | 6273 btf_validate_prog_ctx_type(struct bpf_verifier_log * log,const struct btf * btf,const struct btf_type * t,int arg,enum bpf_prog_type prog_type,enum bpf_attach_type attach_type) btf_validate_prog_ctx_type() argument
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 113 __u32 attach_type; /* program attach type (enum bpf_attach_type) */ global() member 1693 __u32 attach_type; global() member 1751 __u32 attach_type; global() member 1819 __u32 attach_type; /* attach type */ global() member 6850 __u32 attach_type; global() member 6858 __u32 attach_type; global() member 6886 __u32 attach_type; global() member 6918 __u32 attach_type; global() member 6961 __u32 attach_type; global() member 6965 __u32 attach_type; global() member 6969 __u32 attach_type; global() member [all...] |
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 113 __u32 attach_type; /* program attach type (enum bpf_attach_type) */ global() member 1693 __u32 attach_type; global() member 1751 __u32 attach_type; global() member 1819 __u32 attach_type; /* attach type */ global() member 6850 __u32 attach_type; global() member 6858 __u32 attach_type; global() member 6886 __u32 attach_type; global() member 6918 __u32 attach_type; global() member 6961 __u32 attach_type; global() member 6965 __u32 attach_type; global() member 6969 __u32 attach_type; global() member [all...] |
| /linux/tools/lib/bpf/ |
| H A D | skel_internal.h | 326 skel_link_create(int prog_fd,int target_fd,enum bpf_attach_type attach_type) skel_link_create() argument
|
| H A D | libbpf.c | 10390 libbpf_get_type_names(bool attach_type) libbpf_get_type_names() argument 10616 btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type,const char ** prefix,int * kind) btf_get_kernel_prefix_kind() argument 10657 find_attach_btf_id(struct btf * btf,const char * name,enum bpf_attach_type attach_type) find_attach_btf_id() argument 10667 libbpf_find_vmlinux_btf_id(const char * name,enum bpf_attach_type attach_type) libbpf_find_vmlinux_btf_id() argument 10724 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 10780 enum bpf_attach_type attach_type = prog->expected_attach_type; libbpf_find_attach_btf_id() local 10820 libbpf_attach_type_by_name(const char * name,enum bpf_attach_type * attach_type) libbpf_attach_type_by_name() argument 12327 enum bpf_attach_type attach_type; bpf_program__attach_kprobe_multi_opts() local 13084 enum bpf_attach_type attach_type; bpf_program__attach_uprobe_multi() local 13792 enum bpf_attach_type attach_type; bpf_program_attach_fd() local [all...] |
| /linux/tools/testing/selftests/bpf/ |
| H A D | veristat.c | 1190 enum bpf_attach_type *attach_type) in guess_prog_type_by_ctx_name() argument 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 [all...] |
| /linux/net/core/ |
| H A D | sock_map.c | 1521 sock_map_prog_attach_check(enum bpf_attach_type attach_type,struct bpf_prog * prog) sock_map_prog_attach_check() argument 1880 enum bpf_attach_type attach_type; sock_map_link_create() local [all...] |
| H A D | filter.c | 9242 __sock_filter_check_attach_type(int off,enum bpf_access_type access_type,enum bpf_attach_type attach_type) __sock_filter_check_attach_type() argument
|