Lines Matching refs:btf_vmlinux

336 struct btf *btf_vmlinux;  variable
2616 return btf_vmlinux ?: ERR_PTR(-ENOENT); in find_kfunc_desc_btf()
2636 if (!btf_vmlinux) { in add_kfunc_call()
6300 if (!btf_vmlinux) { in check_ptr_to_map_access()
6311 t = btf_type_by_id(btf_vmlinux, *map->ops->map_btf_id); in check_ptr_to_map_access()
6312 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_ptr_to_map_access()
6334 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()
6340 mark_btf_ld_reg(env, regs, value_regno, ret, btf_vmlinux, btf_id, flag); in check_ptr_to_map_access()
7905 btf_vmlinux, *arg_btf_id, in check_reg_type()
7909 btf_type_name(btf_vmlinux, *arg_btf_id)); in check_reg_type()
9141 callee->regs[BPF_REG_2].btf = btf_vmlinux; in set_find_vma_callback_state()
9892 ret_btf = btf_vmlinux; in check_helper_call()
10153 return btf_types_are_same(btf, res_id, btf_vmlinux, kf_arg_btf_ids[type]); in BTF_ID()
10428 reg_btf = btf_vmlinux; in process_kf_arg_ptr_to_btf_id()
10697 if (meta->btf != btf_vmlinux) { in __process_kf_arg_ptr_to_graph_root()
10765 if (meta->btf != btf_vmlinux) { in __process_kf_arg_ptr_to_graph_node()
11013 if (meta->btf == btf_vmlinux && in check_kfunc_args()
11412 if (meta.btf != btf_vmlinux || in check_kfunc_call()
11426 if (meta.btf == btf_vmlinux && btf_id_set_contains(&special_kfunc_set, meta.func_id)) { in check_kfunc_call()
11597 if (meta.btf == btf_vmlinux && btf_id_set_contains(&special_kfunc_set, meta.func_id)) { in check_kfunc_call()
16786 i = btf_nr_types(btf_vmlinux); in find_btf_percpu_datasec()
16828 if (!btf_vmlinux) { in check_pseudo_btf_id()
16832 btf = btf_vmlinux; in check_pseudo_btf_id()
19208 mname = btf_name_by_offset(btf_vmlinux, member->name_off); in check_struct_ops_btf_id()
19209 func_proto = btf_type_resolve_func_ptr(btf_vmlinux, member->type, in check_struct_ops_btf_id()
19650 if (!btf_vmlinux && IS_ENABLED(CONFIG_DEBUG_INFO_BTF)) { in bpf_get_btf_vmlinux()
19652 if (!btf_vmlinux) in bpf_get_btf_vmlinux()
19653 btf_vmlinux = btf_parse_vmlinux(); in bpf_get_btf_vmlinux()
19656 return btf_vmlinux; in bpf_get_btf_vmlinux()
19710 if (IS_ERR(btf_vmlinux)) { in bpf_check()
19713 ret = PTR_ERR(btf_vmlinux); in bpf_check()