Home
last modified time | relevance | path

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

/openbmc/linux/kernel/bpf/
H A Dsyscall.c2156 if (prog->aux->attach_btf) in __bpf_prog_put_noref()
2157 btf_put(prog->aux->attach_btf); in __bpf_prog_put_noref()
2436 struct btf *attach_btf, u32 btf_id, in bpf_prog_load_check_attach() argument
2443 if (!attach_btf && !dst_prog) in bpf_prog_load_check_attach()
2457 if (attach_btf && (!btf_id || dst_prog)) in bpf_prog_load_check_attach()
2591 struct btf *attach_btf = NULL; in bpf_prog_load() local
2642 attach_btf = btf_get_by_fd(attr->attach_btf_obj_fd); in bpf_prog_load()
2643 if (IS_ERR(attach_btf)) in bpf_prog_load()
2645 if (!btf_is_kernel(attach_btf)) { in bpf_prog_load()
2649 btf_put(attach_btf); in bpf_prog_load()
[all …]
H A Dtrampoline.c649 p->aux->attach_btf = prog->aux->attach_btf; in cgroup_shim_alloc()
650 btf_get(p->aux->attach_btf); in cgroup_shim_alloc()
695 key = bpf_trampoline_compute_key(NULL, prog->aux->attach_btf, in bpf_trampoline_link_cgroup_shim()
752 key = bpf_trampoline_compute_key(NULL, prog->aux->attach_btf, in bpf_trampoline_unlink_cgroup_shim()
H A Dbtf.c5871 return prog->aux->attach_btf; in bpf_prog_get_target_btf()
H A Dverifier.c19841 btf = tgt_prog ? tgt_prog->aux->btf : prog->aux->attach_btf; in bpf_check_attach_target()
20199 key = bpf_trampoline_compute_key(tgt_prog, prog->aux->attach_btf, btf_id); in check_attach_btf_id()
/openbmc/linux/include/linux/
H A Dbpf.h1418 struct btf *attach_btf; member