Searched refs:attach_btf (Results 1 – 5 of 5) sorted by relevance
2034 if (prog->aux->attach_btf) in __bpf_prog_put_noref()2035 btf_put(prog->aux->attach_btf); in __bpf_prog_put_noref()2316 struct btf *attach_btf, u32 btf_id, in bpf_prog_load_check_attach() argument2323 if (!attach_btf && !dst_prog) in bpf_prog_load_check_attach()2337 if (attach_btf && (!btf_id || dst_prog)) in bpf_prog_load_check_attach()2467 struct btf *attach_btf = NULL; in bpf_prog_load() local2518 attach_btf = btf_get_by_fd(attr->attach_btf_obj_fd); in bpf_prog_load()2519 if (IS_ERR(attach_btf)) in bpf_prog_load()2521 if (!btf_is_kernel(attach_btf)) { in bpf_prog_load()2525 btf_put(attach_btf); in bpf_prog_load()[all …]
668 p->aux->attach_btf = prog->aux->attach_btf; in cgroup_shim_alloc()669 btf_get(p->aux->attach_btf); in cgroup_shim_alloc()714 key = bpf_trampoline_compute_key(NULL, prog->aux->attach_btf, in bpf_trampoline_link_cgroup_shim()771 key = bpf_trampoline_compute_key(NULL, prog->aux->attach_btf, in bpf_trampoline_unlink_cgroup_shim()
5316 return prog->aux->attach_btf; in bpf_prog_get_target_btf()
14853 btf = tgt_prog ? tgt_prog->aux->btf : prog->aux->attach_btf; in bpf_check_attach_target()15152 key = bpf_trampoline_compute_key(tgt_prog, prog->aux->attach_btf, btf_id); in BTF_SET_START()
1142 struct btf *attach_btf; member