Searched refs:dst_prog (Results 1 – 7 of 7) sorted by relevance
44 struct bpf_prog *dst_prog; member110 aux->attach_func_name, aux->dst_prog->aux->name); in dump_bpf_prog()
2018 struct bpf_prog *dst_prog) in bpf_prog_load_check_attach() argument2024 if (!attach_btf && !dst_prog) in bpf_prog_load_check_attach()2038 if (attach_btf && (!btf_id || dst_prog)) in bpf_prog_load_check_attach()2041 if (dst_prog && prog_type != BPF_PROG_TYPE_TRACING && in bpf_prog_load_check_attach()2167 struct bpf_prog *prog, *dst_prog = NULL; in bpf_prog_load() local2215 dst_prog = bpf_prog_get(attr->attach_prog_fd); in bpf_prog_load()2216 if (IS_ERR(dst_prog)) { in bpf_prog_load()2217 dst_prog = NULL; in bpf_prog_load()2242 dst_prog)) { in bpf_prog_load()2243 if (dst_prog) in bpf_prog_load()[all …]
2297 if (aux->dst_prog) in bpf_prog_free()2298 bpf_prog_put(aux->dst_prog); in bpf_prog_free()
4681 struct bpf_prog *tgt_prog = prog->aux->dst_prog; in bpf_prog_get_target_btf()4707 struct bpf_prog *tgt_prog = prog->aux->dst_prog; in btf_ctx_access()5667 prog_type = prog->aux->dst_prog->type; in btf_prepare_func_args()
3293 return prog->aux->dst_prog ? prog->aux->dst_prog->type : prog->type; in resolve_prog_type()13580 struct bpf_prog *tgt_prog = prog->aux->dst_prog; in BTF_SET_START()
389 if (prog->aux->dst_prog) in bpf_sk_storage_tracing_allowed()
859 struct bpf_prog *dst_prog; member