Home
last modified time | relevance | path

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

/linux-6.15/kernel/bpf/
H A Dsyscall.c2336 if (prog->aux->attach_btf) in __bpf_prog_put_noref()
2850 btf_put(attach_btf); in bpf_prog_load()
2858 if (IS_ERR(attach_btf)) { in bpf_prog_load()
2862 if (!attach_btf) { in bpf_prog_load()
2866 btf_get(attach_btf); in bpf_prog_load()
2874 if (attach_btf) in bpf_prog_load()
2875 btf_put(attach_btf); in bpf_prog_load()
2885 if (attach_btf) in bpf_prog_load()
2886 btf_put(attach_btf); in bpf_prog_load()
2893 prog->aux->attach_btf = attach_btf; in bpf_prog_load()
[all …]
H A Dtrampoline.c698 p->aux->attach_btf = prog->aux->attach_btf; in cgroup_shim_alloc()
699 btf_get(p->aux->attach_btf); in cgroup_shim_alloc()
744 key = bpf_trampoline_compute_key(NULL, prog->aux->attach_btf, in bpf_trampoline_link_cgroup_shim()
801 key = bpf_trampoline_compute_key(NULL, prog->aux->attach_btf, in bpf_trampoline_unlink_cgroup_shim()
H A Dbtf.c6383 return prog->aux->attach_btf; in bpf_prog_get_target_btf()
6815 struct btf *btf = prog->aux->attach_btf; in btf_ctx_access()
H A Dverifier.c16839 ret_type = btf_type_resolve_ptr(prog->aux->attach_btf, in check_return_code()
22928 btf = prog->aux->attach_btf; in check_struct_ops_btf_id()
23071 btf = tgt_prog ? tgt_prog->aux->btf : prog->aux->attach_btf; in bpf_check_attach_target()
23518 key = bpf_trampoline_compute_key(tgt_prog, prog->aux->attach_btf, btf_id); in check_attach_btf_id()
/linux-6.15/include/linux/
H A Dbpf.h1538 struct btf *attach_btf; member