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.c2731 struct bpf_prog *dst_prog, in bpf_prog_load_check_attach() argument
2738 if (!attach_btf && !dst_prog) in bpf_prog_load_check_attach()
2760 if (attach_btf && (!btf_id || dst_prog)) in bpf_prog_load_check_attach()
2763 if (dst_prog && prog_type != BPF_PROG_TYPE_TRACING && in bpf_prog_load_check_attach()
2920 struct bpf_prog *prog, *dst_prog = NULL; in BTF_ID_LIST_GLOBAL_SINGLE() local
2999 dst_prog = bpf_prog_get(attr->attach_prog_fd); in BTF_ID_LIST_GLOBAL_SINGLE()
3000 if (IS_ERR(dst_prog)) { in BTF_ID_LIST_GLOBAL_SINGLE()
3001 dst_prog = NULL; in BTF_ID_LIST_GLOBAL_SINGLE()
3032 dst_prog, multi_func)) { in BTF_ID_LIST_GLOBAL_SINGLE()
3033 if (dst_prog) in BTF_ID_LIST_GLOBAL_SINGLE()
[all …]
H A Dcore.c3107 if (aux->dst_prog) in bpf_prog_free()
3108 bpf_prog_put(aux->dst_prog); in bpf_prog_free()
H A Dbtf.c6580 struct bpf_prog *tgt_prog = prog->aux->dst_prog; in bpf_prog_get_target_btf()
6851 struct bpf_prog *tgt_prog = prog->aux->dst_prog; in btf_ctx_access()
8040 prog_type = prog->aux->dst_prog->type; in btf_prepare_func_args()
H A Dverifier.c20306 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.h1762 struct bpf_prog *dst_prog; member