Home
last modified time | relevance | path

Searched refs:dst_prog (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/kernel/bpf/preload/iterators/
Diterators.bpf.c45 struct bpf_prog *dst_prog; member
111 aux->attach_func_name, aux->dst_prog->aux->name); in dump_bpf_prog()
/kernel/linux/linux-5.10/kernel/bpf/
Dsyscall.c2179 struct bpf_prog *dst_prog; in bpf_prog_load() local
2181 dst_prog = bpf_prog_get(attr->attach_prog_fd); in bpf_prog_load()
2182 if (IS_ERR(dst_prog)) { in bpf_prog_load()
2183 err = PTR_ERR(dst_prog); in bpf_prog_load()
2186 prog->aux->dst_prog = dst_prog; in bpf_prog_load()
2699 tgt_prog = prog->aux->dst_prog; in bpf_tracing_prog_attach()
2720 if (prog->aux->dst_prog && in bpf_tracing_prog_attach()
2723 bpf_prog_put(prog->aux->dst_prog); in bpf_tracing_prog_attach()
2728 prog->aux->dst_prog = NULL; in bpf_tracing_prog_attach()
Dcore.c2213 if (aux->dst_prog) in bpf_prog_free()
2214 bpf_prog_put(aux->dst_prog); in bpf_prog_free()
Dbtf.c4410 struct bpf_prog *tgt_prog = prog->aux->dst_prog; in bpf_prog_get_target_btf()
4437 struct bpf_prog *tgt_prog = prog->aux->dst_prog; in btf_ctx_access()
5284 prog_type = prog->aux->dst_prog->type; in btf_prepare_func_args()
Dverifier.c2939 return prog->aux->dst_prog ? prog->aux->dst_prog->type : prog->type; in resolve_prog_type()
12297 struct bpf_prog *tgt_prog = prog->aux->dst_prog; in check_attach_btf_id()
/kernel/linux/linux-5.10/include/linux/
Dbpf.h853 struct bpf_prog *dst_prog; member