Searched refs:tgt_prog (Results 1 - 5 of 5) sorted by last modified time

/linux-master/kernel/bpf/
H A Dsyscall.c3265 /* tgt_prog is NULL if target is a kernel function */
3266 if (tr_link->tgt_prog)
3267 bpf_prog_put(tr_link->tgt_prog);
3323 struct bpf_prog *tgt_prog = NULL; local
3372 tgt_prog = bpf_prog_get(tgt_prog_fd);
3373 if (IS_ERR(tgt_prog)) {
3374 err = PTR_ERR(tgt_prog);
3375 tgt_prog = NULL;
3379 key = bpf_trampoline_compute_key(tgt_prog, NULL, btf_id);
3403 * - if tgt_prog !
[all...]
H A Dverifier.c21066 const struct bpf_prog *tgt_prog,
21085 btf = tgt_prog ? tgt_prog->aux->btf : prog->aux->attach_btf;
21101 if (tgt_prog) {
21102 struct bpf_prog_aux *aux = tgt_prog->aux;
21105 !bpf_prog_dev_bound_match(prog, tgt_prog)) {
21138 if (!tgt_prog->jited) {
21152 } else if (tgt_prog->type == prog->type) {
21161 if (tgt_prog->type == BPF_PROG_TYPE_TRACING &&
21163 (tgt_prog
21064 bpf_check_attach_target(struct bpf_verifier_log *log, const struct bpf_prog *prog, const struct bpf_prog *tgt_prog, u32 btf_id, struct bpf_attach_target_info *tgt_info) argument
21390 struct bpf_prog *tgt_prog = prog->aux->dst_prog; local
[all...]
H A Dbtf.c6132 struct bpf_prog *tgt_prog = prog->aux->dst_prog; local
6134 if (tgt_prog)
6135 return tgt_prog->aux->btf;
6217 struct bpf_prog *tgt_prog = prog->aux->dst_prog; local
6358 if (tgt_prog) {
6361 if (tgt_prog->type == BPF_PROG_TYPE_EXT)
6362 tgt_type = tgt_prog->aux->saved_dst_prog_type;
6364 tgt_type = tgt_prog->type;
/linux-master/include/linux/
H A Dbpf.h1632 struct bpf_prog *tgt_prog; member in struct:bpf_tracing_link
H A Dbpf_verifier.h802 /* this lives here instead of in bpf.h because it needs to dereference tgt_prog */
803 static inline u64 bpf_trampoline_compute_key(const struct bpf_prog *tgt_prog, argument
806 if (tgt_prog)
807 return ((u64)tgt_prog->aux->id << 32) | btf_id;
823 const struct bpf_prog *tgt_prog,

Completed in 236 milliseconds