Lines Matching refs:btf_vmlinux
344 struct btf *btf_vmlinux; variable
2790 return btf_vmlinux ?: ERR_PTR(-ENOENT); in find_kfunc_desc_btf()
2810 if (!btf_vmlinux) { in add_kfunc_call()
6751 if (!btf_vmlinux) { in check_ptr_to_map_access()
6762 t = btf_type_by_id(btf_vmlinux, *map->ops->map_btf_id); in check_ptr_to_map_access()
6763 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_ptr_to_map_access()
6785 mark_btf_ld_reg(env, &map_reg, 0, PTR_TO_BTF_ID, btf_vmlinux, *map->ops->map_btf_id, 0); in check_ptr_to_map_access()
6791 mark_btf_ld_reg(env, regs, value_regno, ret, btf_vmlinux, btf_id, flag); in check_ptr_to_map_access()
8551 btf_vmlinux, *arg_btf_id, in check_reg_type()
8555 btf_type_name(btf_vmlinux, *arg_btf_id)); in check_reg_type()
9972 callee->regs[BPF_REG_2].btf = btf_vmlinux; in set_find_vma_callback_state()
10855 ret_btf = btf_vmlinux; in check_helper_call()
11122 return btf_types_are_same(btf, res_id, btf_vmlinux, kf_arg_btf_ids[type]); in BTF_ID()
11460 reg_btf = btf_vmlinux; in process_kf_arg_ptr_to_btf_id()
11758 if (meta->btf != btf_vmlinux) { in __process_kf_arg_ptr_to_graph_root()
11826 if (meta->btf != btf_vmlinux) { in __process_kf_arg_ptr_to_graph_node()
12136 if (meta->btf == btf_vmlinux) { in check_kfunc_args()
12271 ref_t = btf_type_by_id(btf_vmlinux, ref_id); in check_kfunc_args()
12618 if (meta.btf != btf_vmlinux || in check_kfunc_call()
12633 if (meta.btf == btf_vmlinux && btf_id_set_contains(&special_kfunc_set, meta.func_id)) { in check_kfunc_call()
12863 if (meta.btf == btf_vmlinux && btf_id_set_contains(&special_kfunc_set, meta.func_id)) { in check_kfunc_call()
16178 if (meta->btf == btf_vmlinux) in is_fastcall_kfunc_call()
18671 i = btf_nr_types(btf_vmlinux); in find_btf_percpu_datasec()
18713 if (!btf_vmlinux) { in check_pseudo_btf_id()
18717 btf = btf_vmlinux; in check_pseudo_btf_id()
22291 if (!btf_vmlinux && IS_ENABLED(CONFIG_DEBUG_INFO_BTF)) { in bpf_get_btf_vmlinux()
22293 if (!btf_vmlinux) in bpf_get_btf_vmlinux()
22294 btf_vmlinux = btf_parse_vmlinux(); in bpf_get_btf_vmlinux()
22297 return btf_vmlinux; in bpf_get_btf_vmlinux()
22356 if (IS_ERR(btf_vmlinux)) { in bpf_check()
22359 ret = PTR_ERR(btf_vmlinux); in bpf_check()