Searched refs:attach_btf (Results 1 - 5 of 5) sorted by relevance

/linux-master/kernel/bpf/
H A Dsyscall.c2247 if (prog->aux->attach_btf)
2248 btf_put(prog->aux->attach_btf);
2527 struct btf *attach_btf, u32 btf_id,
2534 if (!attach_btf && !dst_prog)
2548 if (attach_btf && (!btf_id || dst_prog))
2687 struct btf *attach_btf = NULL; local
2765 attach_btf = btf_get_by_fd(attr->attach_btf_obj_fd);
2766 if (IS_ERR(attach_btf)) {
2770 if (!btf_is_kernel(attach_btf)) {
2774 btf_put(attach_btf);
2525 bpf_prog_load_check_attach(enum bpf_prog_type prog_type, enum bpf_attach_type expected_attach_type, struct btf *attach_btf, u32 btf_id, struct bpf_prog *dst_prog) argument
4544 struct btf *attach_btf = bpf_prog_get_target_btf(prog); local
[all...]
H A Dtrampoline.c660 p->aux->attach_btf = prog->aux->attach_btf;
661 btf_get(p->aux->attach_btf);
706 key = bpf_trampoline_compute_key(NULL, prog->aux->attach_btf,
763 key = bpf_trampoline_compute_key(NULL, prog->aux->attach_btf,
H A Dverifier.c20686 btf = prog->aux->attach_btf;
20795 btf = tgt_prog ? tgt_prog->aux->btf : prog->aux->attach_btf;
21169 key = bpf_trampoline_compute_key(tgt_prog, prog->aux->attach_btf, btf_id);
H A Dbtf.c6116 return prog->aux->attach_btf;
/linux-master/include/linux/
H A Dbpf.h1445 struct btf *attach_btf; member in struct:bpf_prog_aux

Completed in 252 milliseconds