Home
last modified time | relevance | path

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

/Linux-v6.6/kernel/bpf/preload/iterators/
Diterators.bpf.c44 struct bpf_prog *dst_prog; member
115 aux->attach_func_name, aux->dst_prog->aux->name); in dump_bpf_prog()
/Linux-v6.6/kernel/bpf/
Dsyscall.c2401 struct bpf_prog *dst_prog) in bpf_prog_load_check_attach() argument
2407 if (!attach_btf && !dst_prog) in bpf_prog_load_check_attach()
2421 if (attach_btf && (!btf_id || dst_prog)) in bpf_prog_load_check_attach()
2424 if (dst_prog && prog_type != BPF_PROG_TYPE_TRACING && in bpf_prog_load_check_attach()
2554 struct bpf_prog *prog, *dst_prog = NULL; in bpf_prog_load() local
2603 dst_prog = bpf_prog_get(attr->attach_prog_fd); in bpf_prog_load()
2604 if (IS_ERR(dst_prog)) { in bpf_prog_load()
2605 dst_prog = NULL; in bpf_prog_load()
2630 dst_prog)) { in bpf_prog_load()
2631 if (dst_prog) in bpf_prog_load()
[all …]
Dcore.c2744 if (aux->dst_prog) in bpf_prog_free()
2745 bpf_prog_put(aux->dst_prog); in bpf_prog_free()
Dbtf.c5866 struct bpf_prog *tgt_prog = prog->aux->dst_prog; in bpf_prog_get_target_btf()
5931 struct bpf_prog *tgt_prog = prog->aux->dst_prog; in btf_ctx_access()
6995 prog_type = prog->aux->dst_prog->type; in btf_prepare_func_args()
Dverifier.c19570 struct bpf_prog *tgt_prog = prog->aux->dst_prog; in check_attach_btf_id()
/Linux-v6.6/include/linux/
Dbpf_verifier.h732 prog->aux->dst_prog->type : prog->type; in resolve_prog_type()
Dbpf.h1389 struct bpf_prog *dst_prog; member
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dtc_redirect.c292 const struct bpf_program *dst_prog, in netns_load_bpf() argument
310 XGRESS_FILTER_ADD(&qdisc_veth_dst_fwd, BPF_TC_INGRESS, dst_prog, 0); in netns_load_bpf()
/Linux-v6.6/net/core/
Dbpf_sk_storage.c359 if (prog->aux->dst_prog) in bpf_sk_storage_tracing_allowed()