Lines Matching refs:btf_vmlinux

348 struct btf *btf_vmlinux;  variable
3032 return btf_vmlinux ?: ERR_PTR(-ENOENT); in find_kfunc_desc_btf()
3052 if (!btf_vmlinux) { in add_kfunc_call()
7120 if (!btf_vmlinux) { in check_ptr_to_map_access()
7131 t = btf_type_by_id(btf_vmlinux, *map->ops->map_btf_id); in check_ptr_to_map_access()
7132 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_ptr_to_map_access()
7154 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()
7160 mark_btf_ld_reg(env, regs, value_regno, ret, btf_vmlinux, btf_id, flag); in check_ptr_to_map_access()
8917 btf_vmlinux, *arg_btf_id, in check_reg_type()
8921 btf_type_name(btf_vmlinux, *arg_btf_id)); in check_reg_type()
10437 callee->regs[BPF_REG_2].btf = btf_vmlinux; in set_find_vma_callback_state()
11372 ret_btf = btf_vmlinux; in check_helper_call()
11644 return btf_types_are_same(btf, res_id, btf_vmlinux, kf_arg_btf_ids[type]); in BTF_ID()
12005 reg_btf = btf_vmlinux; in process_kf_arg_ptr_to_btf_id()
12362 if (meta->btf != btf_vmlinux) { in __process_kf_arg_ptr_to_graph_root()
12430 if (meta->btf != btf_vmlinux) { in __process_kf_arg_ptr_to_graph_node()
12741 if (meta->btf == btf_vmlinux) { in check_kfunc_args()
12876 ref_t = btf_type_by_id(btf_vmlinux, ref_id); in check_kfunc_args()
13237 if (meta.btf != btf_vmlinux || in check_kfunc_call()
13252 if (meta.btf == btf_vmlinux && btf_id_set_contains(&special_kfunc_set, meta.func_id)) { in check_kfunc_call()
13485 if (meta.btf == btf_vmlinux && btf_id_set_contains(&special_kfunc_set, meta.func_id)) { in check_kfunc_call()
19299 i = btf_nr_types(btf_vmlinux); in find_btf_percpu_datasec()
19455 if (!btf_vmlinux) { in check_pseudo_btf_id()
19459 btf = btf_vmlinux; in check_pseudo_btf_id()
22970 if (!btf_vmlinux && IS_ENABLED(CONFIG_DEBUG_INFO_BTF)) { in bpf_get_btf_vmlinux()
22972 if (!btf_vmlinux) in bpf_get_btf_vmlinux()
22973 btf_vmlinux = btf_parse_vmlinux(); in bpf_get_btf_vmlinux()
22976 return btf_vmlinux; in bpf_get_btf_vmlinux()
23105 if (IS_ERR(btf_vmlinux)) { in bpf_check()
23108 ret = PTR_ERR(btf_vmlinux); in bpf_check()