Lines Matching refs:btf_vmlinux
353 struct btf *btf_vmlinux; variable
3263 return btf_vmlinux ?: ERR_PTR(-ENOENT); in find_kfunc_desc_btf()
3283 if (!btf_vmlinux) { in add_kfunc_call()
7372 if (!btf_vmlinux) { in check_ptr_to_map_access()
7383 t = btf_type_by_id(btf_vmlinux, *map->ops->map_btf_id); in check_ptr_to_map_access()
7384 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_ptr_to_map_access()
7407 btf_vmlinux, *map->ops->map_btf_id, 0); in check_ptr_to_map_access()
7415 ret = mark_btf_ld_reg(env, regs, value_regno, ret, btf_vmlinux, btf_id, flag); in check_ptr_to_map_access()
9411 btf_vmlinux, *arg_btf_id, in check_reg_type()
9415 btf_type_name(btf_vmlinux, *arg_btf_id)); in check_reg_type()
10939 callee->regs[BPF_REG_2].btf = btf_vmlinux; in set_find_vma_callback_state()
11908 ret_btf = btf_vmlinux; in check_helper_call()
12208 return btf_types_are_same(btf, res_id, btf_vmlinux, kf_arg_btf_ids[type]); in BTF_ID()
12253 return t == btf_type_by_id(btf_vmlinux, kf_arg_btf_ids[KF_ARG_RB_NODE_ID]); in is_rbtree_node_type()
12258 return t == btf_type_by_id(btf_vmlinux, kf_arg_btf_ids[KF_ARG_LIST_NODE_ID]); in is_list_node_type()
12622 reg_btf = btf_vmlinux; in process_kf_arg_ptr_to_btf_id()
13001 if (meta->btf != btf_vmlinux) { in __process_kf_arg_ptr_to_graph_root()
13069 if (meta->btf != btf_vmlinux) { in __process_kf_arg_ptr_to_graph_node()
13400 if (meta->btf == btf_vmlinux) { in check_kfunc_args()
13542 ref_t = btf_type_by_id(btf_vmlinux, ref_id); in check_kfunc_args()
13756 if (meta->btf != btf_vmlinux) in check_special_kfunc()
14165 if (meta.btf != btf_vmlinux || in check_kfunc_call()
14176 if (meta.btf == btf_vmlinux && (meta.func_id == special_kfunc_list[KF_bpf_res_spin_lock] || in check_kfunc_call()
14266 if (meta.btf == btf_vmlinux) { in check_kfunc_call()
20664 i = btf_nr_types(btf_vmlinux); in find_btf_percpu_datasec()
20823 if (!btf_vmlinux) { in check_pseudo_btf_id()
20827 btf = btf_vmlinux; in check_pseudo_btf_id()
24622 if (!btf_vmlinux && IS_ENABLED(CONFIG_DEBUG_INFO_BTF)) { in bpf_get_btf_vmlinux()
24624 if (!btf_vmlinux) in bpf_get_btf_vmlinux()
24625 btf_vmlinux = btf_parse_vmlinux(); in bpf_get_btf_vmlinux()
24628 return btf_vmlinux; in bpf_get_btf_vmlinux()
25178 if (IS_ERR(btf_vmlinux)) { in bpf_check()
25181 ret = PTR_ERR(btf_vmlinux); in bpf_check()