Lines Matching refs:btf_vmlinux
261 struct btf *btf_vmlinux; variable
1788 return btf_vmlinux ?: ERR_PTR(-ENOENT); in find_kfunc_desc_btf()
1807 if (!btf_vmlinux) { in add_kfunc_call()
4172 if (!btf_vmlinux) { in check_ptr_to_map_access()
4183 t = btf_type_by_id(btf_vmlinux, *map->ops->map_btf_id); in check_ptr_to_map_access()
4184 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_ptr_to_map_access()
4204 ret = btf_struct_access(&env->log, btf_vmlinux, t, off, size, atype, &btf_id); in check_ptr_to_map_access()
4209 mark_btf_ld_reg(env, regs, value_regno, ret, btf_vmlinux, btf_id); in check_ptr_to_map_access()
5175 btf_vmlinux, *arg_btf_id)) { in check_reg_type()
5178 kernel_type_name(btf_vmlinux, *arg_btf_id)); in check_reg_type()
6608 regs[BPF_REG_0].btf = btf_vmlinux; in check_helper_call()
11438 i = btf_nr_types(btf_vmlinux); in find_btf_percpu_datasec()
11480 if (!btf_vmlinux) { in check_pseudo_btf_id()
11484 btf = btf_vmlinux; in check_pseudo_btf_id()
13526 mname = btf_name_by_offset(btf_vmlinux, member->name_off); in check_struct_ops_btf_id()
13527 func_proto = btf_type_resolve_func_ptr(btf_vmlinux, member->type, in check_struct_ops_btf_id()
13907 if (!btf_vmlinux && IS_ENABLED(CONFIG_DEBUG_INFO_BTF)) { in bpf_get_btf_vmlinux()
13909 if (!btf_vmlinux) in bpf_get_btf_vmlinux()
13910 btf_vmlinux = btf_parse_vmlinux(); in bpf_get_btf_vmlinux()
13913 return btf_vmlinux; in bpf_get_btf_vmlinux()
13970 if (IS_ERR(btf_vmlinux)) { in bpf_check()
13973 ret = PTR_ERR(btf_vmlinux); in bpf_check()