Home
last modified time | relevance | path

Searched refs:dst_prog (Results 1 – 8 of 8) 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.c2748 struct bpf_prog *dst_prog, in bpf_prog_load_check_attach() argument
2755 if (!attach_btf && !dst_prog) in bpf_prog_load_check_attach()
2777 if (attach_btf && (!btf_id || dst_prog)) in bpf_prog_load_check_attach()
2780 if (dst_prog && prog_type != BPF_PROG_TYPE_TRACING && in bpf_prog_load_check_attach()
2937 struct bpf_prog *prog, *dst_prog = NULL; in BTF_ID_LIST_GLOBAL_SINGLE() local
3016 dst_prog = bpf_prog_get(attr->attach_prog_fd); in BTF_ID_LIST_GLOBAL_SINGLE()
3017 if (IS_ERR(dst_prog)) { in BTF_ID_LIST_GLOBAL_SINGLE()
3018 dst_prog = NULL; in BTF_ID_LIST_GLOBAL_SINGLE()
3049 dst_prog, multi_func)) { in BTF_ID_LIST_GLOBAL_SINGLE()
3050 if (dst_prog) in BTF_ID_LIST_GLOBAL_SINGLE()
[all …]
H A Dcore.c3121 if (aux->dst_prog) in bpf_prog_free()
3122 bpf_prog_put(aux->dst_prog); in bpf_prog_free()
H A Dbtf.c6633 struct bpf_prog *tgt_prog = prog->aux->dst_prog; in bpf_prog_get_target_btf()
6911 struct bpf_prog *tgt_prog = prog->aux->dst_prog; in btf_ctx_access()
8100 prog_type = prog->aux->dst_prog->type; in btf_prepare_func_args()
H A Dverifier.c20537 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.c383 const struct bpf_program *dst_prog, in netns_load_bpf() argument
401 XGRESS_FILTER_ADD(&qdisc_dst_fwd, BPF_TC_INGRESS, dst_prog, 0); in netns_load_bpf()
/linux/net/core/
H A Dbpf_sk_storage.c359 if (prog->aux->dst_prog) in bpf_sk_storage_tracing_allowed()
/linux/include/linux/
H A Dbpf.h1800 struct bpf_prog *dst_prog; member