Home
last modified time | relevance | path

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

/linux/kernel/bpf/preload/iterators/
H A Diterators.bpf.c44 struct bpf_prog *dst_prog; member
115 aux->attach_func_name, aux->dst_prog->aux->name); in dump_bpf_prog()
/linux/kernel/bpf/
H A Dsyscall.c2728 struct bpf_prog *dst_prog, in bpf_prog_load_check_attach() argument
2735 if (!attach_btf && !dst_prog) in bpf_prog_load_check_attach()
2757 if (attach_btf && (!btf_id || dst_prog)) in bpf_prog_load_check_attach()
2760 if (dst_prog && prog_type != BPF_PROG_TYPE_TRACING && in bpf_prog_load_check_attach()
2975 struct bpf_prog *prog, *dst_prog = NULL; in BTF_ID_LIST_GLOBAL_SINGLE() local
3054 dst_prog = bpf_prog_get(attr->attach_prog_fd); in BTF_ID_LIST_GLOBAL_SINGLE()
3055 if (IS_ERR(dst_prog)) { in BTF_ID_LIST_GLOBAL_SINGLE()
3056 dst_prog = NULL; in BTF_ID_LIST_GLOBAL_SINGLE()
3087 dst_prog, multi_func)) { in BTF_ID_LIST_GLOBAL_SINGLE()
3088 if (dst_prog) in BTF_ID_LIST_GLOBAL_SINGLE()
[all …]
H A Dcore.c3114 if (aux->dst_prog) in bpf_prog_free()
3115 bpf_prog_put(aux->dst_prog); in bpf_prog_free()
H A Dbtf.c6579 struct bpf_prog *tgt_prog = prog->aux->dst_prog; in bpf_prog_get_target_btf()
6857 struct bpf_prog *tgt_prog = prog->aux->dst_prog; in btf_ctx_access()
8023 prog_type = prog->aux->dst_prog->type; in btf_prepare_func_args()
H A Dverifier.c19284 struct bpf_prog *tgt_prog = prog->aux->dst_prog; in check_attach_btf_id()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_redirect.c381 const struct bpf_program *dst_prog, in netns_load_bpf() argument
399 XGRESS_FILTER_ADD(&qdisc_dst_fwd, BPF_TC_INGRESS, dst_prog, 0); in netns_load_bpf()
/linux/net/core/
H A Dbpf_sk_storage.c361 if (prog->aux->dst_prog) in bpf_sk_storage_tracing_allowed()