Lines Matching refs:krecord
8170 struct bpf_func_info *krecord; in check_btf_func() local
8205 krecord = kvcalloc(nfuncs, krec_size, GFP_KERNEL | __GFP_NOWARN); in check_btf_func()
8206 if (!krecord) in check_btf_func()
8226 if (copy_from_user(&krecord[i], urecord, min_size)) { in check_btf_func()
8234 if (krecord[i].insn_off) { in check_btf_func()
8237 krecord[i].insn_off); in check_btf_func()
8240 } else if (krecord[i].insn_off <= prev_offset) { in check_btf_func()
8243 krecord[i].insn_off, prev_offset); in check_btf_func()
8247 if (env->subprog_info[i].start != krecord[i].insn_off) { in check_btf_func()
8253 type = btf_type_by_id(btf, krecord[i].type_id); in check_btf_func()
8256 krecord[i].type_id); in check_btf_func()
8277 prev_offset = krecord[i].insn_off; in check_btf_func()
8281 prog->aux->func_info = krecord; in check_btf_func()
8287 kvfree(krecord); in check_btf_func()