Lines Matching full:ref_id
4875 if (info->ref_id && in __check_ctx_access()
4876 !find_reference_state(env->cur_state, info->ref_id)) { in __check_ctx_access()
5073 static enum bpf_reg_type lookup_reg2btf_ids(u32 ref_id) in lookup_reg2btf_ids() argument
5078 if (reg2btf_ids[type] && *reg2btf_ids[type] == ref_id) in lookup_reg2btf_ids()
6454 regs[value_regno].id = info.ref_id; in check_mem_access()
12005 const char *ref_tname, u32 ref_id, in process_kf_arg_ptr_to_btf_id() argument
12050 btf_type_ids_nocast_alias(&env->log, reg_btf, reg_ref_id, meta->btf, ref_id)) in process_kf_arg_ptr_to_btf_id()
12058 meta->btf, ref_id, strict_type_match, in process_kf_arg_ptr_to_btf_id()
12593 u32 ref_id = args[i].type, type_size; in check_kfunc_args() local
12618 ref_t = btf_type_skip_modifiers(btf, t->type, &ref_id); in check_kfunc_args()
12641 expected_type = bpf_diag_fmt_btf_type(env, btf, ref_id); in check_kfunc_args()
12658 ref_id = *reg2btf_ids[CONST_PTR_TO_MAP]; in check_kfunc_args()
12659 ref_t = btf_type_by_id(btf_vmlinux, ref_id); in check_kfunc_args()
12974 expected_type = bpf_diag_fmt_btf_type(env, btf, ref_id); in check_kfunc_args()
12988 expected_type = bpf_diag_fmt_btf_type(env, btf, ref_id); in check_kfunc_args()
13001 ret = process_kf_arg_ptr_to_btf_id(env, reg, ref_t, ref_tname, ref_id, meta, i, argno); in check_kfunc_args()
13008 enum bpf_reg_type reg2btf_type = lookup_reg2btf_ids(ref_id); in check_kfunc_args()
13017 expected_type = bpf_diag_fmt_btf_type(env, btf, ref_id); in check_kfunc_args()
13048 expected_type = bpf_diag_fmt_btf_type(env, btf, ref_id); in check_kfunc_args()
19407 aux->ctx_arg_info[i].ref_id = ret; in do_check_common()