Lines Matching refs:btf_vmlinux

269 struct btf *btf_vmlinux;  variable
2013 return btf_vmlinux ?: ERR_PTR(-ENOENT); in find_kfunc_desc_btf()
2033 if (!btf_vmlinux) { in add_kfunc_call()
4586 if (!btf_vmlinux) { in check_ptr_to_map_access()
4597 t = btf_type_by_id(btf_vmlinux, *map->ops->map_btf_id); in check_ptr_to_map_access()
4598 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_ptr_to_map_access()
4618 ret = btf_struct_access(&env->log, btf_vmlinux, t, off, size, atype, &btf_id, &flag); in check_ptr_to_map_access()
4623 mark_btf_ld_reg(env, regs, value_regno, ret, btf_vmlinux, btf_id, flag); in check_ptr_to_map_access()
5820 btf_vmlinux, *arg_btf_id, in check_reg_type()
5824 kernel_type_name(btf_vmlinux, *arg_btf_id)); in check_reg_type()
6929 callee->regs[BPF_REG_2].btf = btf_vmlinux; in set_find_vma_callback_state()
7564 ret_btf = btf_vmlinux; in check_helper_call()
12511 i = btf_nr_types(btf_vmlinux); in find_btf_percpu_datasec()
12553 if (!btf_vmlinux) { in check_pseudo_btf_id()
12557 btf = btf_vmlinux; in check_pseudo_btf_id()
14781 mname = btf_name_by_offset(btf_vmlinux, member->name_off); in check_struct_ops_btf_id()
14782 func_proto = btf_type_resolve_func_ptr(btf_vmlinux, member->type, in check_struct_ops_btf_id()
15163 if (!btf_vmlinux && IS_ENABLED(CONFIG_DEBUG_INFO_BTF)) { in bpf_get_btf_vmlinux()
15165 if (!btf_vmlinux) in bpf_get_btf_vmlinux()
15166 btf_vmlinux = btf_parse_vmlinux(); in bpf_get_btf_vmlinux()
15169 return btf_vmlinux; in bpf_get_btf_vmlinux()
15228 if (IS_ERR(btf_vmlinux)) { in bpf_check()
15231 ret = PTR_ERR(btf_vmlinux); in bpf_check()