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.c2612 struct bpf_prog *dst_prog) in bpf_prog_load_check_attach() argument
2618 if (!attach_btf && !dst_prog) in bpf_prog_load_check_attach()
2632 if (attach_btf && (!btf_id || dst_prog)) in bpf_prog_load_check_attach()
2635 if (dst_prog && prog_type != BPF_PROG_TYPE_TRACING && in bpf_prog_load_check_attach()
2770 struct bpf_prog *prog, *dst_prog = NULL; in bpf_prog_load() local
2846 dst_prog = bpf_prog_get(attr->attach_prog_fd); in bpf_prog_load()
2847 if (IS_ERR(dst_prog)) { in bpf_prog_load()
2848 dst_prog = NULL; in bpf_prog_load()
2879 dst_prog)) { in bpf_prog_load()
2880 if (dst_prog) in bpf_prog_load()
[all …]
H A Dcore.c2933 if (aux->dst_prog) in bpf_prog_free()
2934 bpf_prog_put(aux->dst_prog); in bpf_prog_free()
H A Dbtf.c6396 struct bpf_prog *tgt_prog = prog->aux->dst_prog; in bpf_prog_get_target_btf()
6677 struct bpf_prog *tgt_prog = prog->aux->dst_prog; in btf_ctx_access()
7715 prog_type = prog->aux->dst_prog->type; in btf_prepare_func_args()
H A Dverifier.c23926 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()
398 /* tc filter add dev dst_fwd ingress bpf da dst_prog */ in netns_load_bpf()
399 XGRESS_FILTER_ADD(&qdisc_dst_fwd, BPF_TC_INGRESS, dst_prog, 0); in netns_load_bpf()
380 netns_load_bpf(const struct bpf_program * src_prog,const struct bpf_program * dst_prog,const struct bpf_program * chk_prog,const struct netns_setup_result * setup_result) netns_load_bpf() argument
/linux/net/core/
H A Dbpf_sk_storage.c358 if (prog->aux->dst_prog) in bpf_sk_storage_tracing_allowed()
/linux/include/linux/
H A Dbpf.h1603 struct bpf_prog *dst_prog; member