Lines Matching refs:krecord
19120 struct bpf_func_info *krecord; in check_btf_func_early() local
19148 krecord = kvcalloc(nfuncs, krec_size, GFP_KERNEL_ACCOUNT | __GFP_NOWARN); in check_btf_func_early()
19149 if (!krecord) in check_btf_func_early()
19168 if (copy_from_bpfptr(&krecord[i], urecord, min_size)) { in check_btf_func_early()
19176 if (krecord[i].insn_off) { in check_btf_func_early()
19179 krecord[i].insn_off); in check_btf_func_early()
19182 } else if (krecord[i].insn_off <= prev_offset) { in check_btf_func_early()
19185 krecord[i].insn_off, prev_offset); in check_btf_func_early()
19190 type = btf_type_by_id(btf, krecord[i].type_id); in check_btf_func_early()
19193 krecord[i].type_id); in check_btf_func_early()
19202 prev_offset = krecord[i].insn_off; in check_btf_func_early()
19206 prog->aux->func_info = krecord; in check_btf_func_early()
19211 kvfree(krecord); in check_btf_func_early()
19221 struct bpf_func_info *krecord; in check_btf_func() local
19247 krecord = prog->aux->func_info; in check_btf_func()
19257 if (env->subprog_info[i].start != krecord[i].insn_off) { in check_btf_func()
19263 type = btf_type_by_id(btf, krecord[i].type_id); in check_btf_func()