Home
last modified time | relevance | path

Searched defs:attach_type (Results 1 – 20 of 20) 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 Dsock_addr.c354 enum bpf_attach_type attach_type; member
H A Dsockmap_basic.c452 test_sockmap_progs_query(enum bpf_attach_type attach_type) test_sockmap_progs_query() argument
/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...]
/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.h1832 enum bpf_attach_type attach_type; global() member
2234 bpf_trampoline_link_cgroup_shim(struct bpf_prog * prog,int cgroup_atype,enum bpf_attach_type attach_type) bpf_trampoline_link_cgroup_shim() argument
3125 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
3131 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
[all...]
/linux/kernel/bpf/
H A Dtoken.c255 enum bpf_attach_type attach_type) in bpf_token_allow_prog_type()
H A Dsyscall.c2569 bpf_prog_get_ok(struct bpf_prog * prog,enum bpf_prog_type * attach_type,bool attach_drv) bpf_prog_get_ok() argument
2583 __bpf_prog_get(u32 ufd,enum bpf_prog_type * attach_type,bool attach_drv) __bpf_prog_get() argument
3182 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
3196 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
3573 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
4245 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
4339 attach_type_to_prog_type(enum bpf_attach_type attach_type) attach_type_to_prog_type() argument
4413 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 Dtrampoline.c926 cgroup_shim_alloc(const struct bpf_prog * prog,bpf_func_t bpf_func,int cgroup_atype,enum bpf_attach_type attach_type) cgroup_shim_alloc() argument
979 bpf_trampoline_link_cgroup_shim(struct bpf_prog * prog,int cgroup_atype,enum bpf_attach_type attach_type) bpf_trampoline_link_cgroup_shim() argument
H A Dcgroup.c167 bpf_cgroup_atype_find(enum bpf_attach_type attach_type,u32 attach_btf_id) bpf_cgroup_atype_find() argument
213 bpf_cgroup_atype_find(enum bpf_attach_type attach_type,u32 attach_btf_id) bpf_cgroup_atype_find() argument
280 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 Dbtf.c6204 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 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.c1151 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
1165 enum bpf_attach_type attach_type; guess_prog_type_by_ctx_name() member
1281 enum bpf_attach_type attach_type; fixup_obj() local
2637 enum bpf_attach_type attach_type = 0; parse_stat_value() local
[all...]
/linux/tools/lib/bpf/
H A Dlibbpf.c10079 libbpf_get_type_names(bool attach_type) libbpf_get_type_names() argument
10305 btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type,const char ** prefix,int * kind) btf_get_kernel_prefix_kind() argument
10346 find_attach_btf_id(struct btf * btf,const char * name,enum bpf_attach_type attach_type) find_attach_btf_id() argument
10356 libbpf_find_vmlinux_btf_id(const char * name,enum bpf_attach_type attach_type) libbpf_find_vmlinux_btf_id() argument
10413 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
10469 enum bpf_attach_type attach_type = prog->expected_attach_type; libbpf_find_attach_btf_id() local
10509 libbpf_attach_type_by_name(const char * name,enum bpf_attach_type * attach_type) libbpf_attach_type_by_name() argument
12008 enum bpf_attach_type attach_type; bpf_program__attach_kprobe_multi_opts() local
12467 enum bpf_attach_type attach_type; bpf_program__attach_uprobe_multi() local
13154 enum bpf_attach_type attach_type; bpf_program_attach_fd() local
[all...]
/linux/net/core/
H A Dsock_map.c1857 enum bpf_attach_type attach_type; in sock_map_link_create() local
H A Dfilter.c8995 __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