Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/kernel/bpf/
Dsyscall.c2433 struct bpf_prog *dst_prog) in bpf_prog_load_check_attach() argument
2439 if (!attach_btf && !dst_prog) in bpf_prog_load_check_attach()
2453 if (attach_btf && (!btf_id || dst_prog)) in bpf_prog_load_check_attach()
2456 if (dst_prog && prog_type != BPF_PROG_TYPE_TRACING && in bpf_prog_load_check_attach()
2586 struct bpf_prog *prog, *dst_prog = NULL; in bpf_prog_load() local
2635 dst_prog = bpf_prog_get(attr->attach_prog_fd); in bpf_prog_load()
2636 if (IS_ERR(dst_prog)) { in bpf_prog_load()
2637 dst_prog = NULL; in bpf_prog_load()
2662 dst_prog)) { in bpf_prog_load()
2663 if (dst_prog) in bpf_prog_load()
[all …]
Dcore.c2752 if (aux->dst_prog) in bpf_prog_free()
2753 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.c20096 struct bpf_prog *tgt_prog = prog->aux->dst_prog; in check_attach_btf_id()
/linux-6.6.21/include/linux/
Dbpf_verifier.h764 prog->aux->dst_prog->type : prog->type; in resolve_prog_type()
Dbpf.h1407 struct bpf_prog *dst_prog; member
/linux-6.6.21/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-6.6.21/net/core/
Dbpf_sk_storage.c359 if (prog->aux->dst_prog) in bpf_sk_storage_tracing_allowed()