Lines Matching refs:krecord
9760 struct bpf_func_info *krecord; in check_btf_func() local
9795 krecord = kvcalloc(nfuncs, krec_size, GFP_KERNEL | __GFP_NOWARN); in check_btf_func()
9796 if (!krecord) in check_btf_func()
9818 if (copy_from_bpfptr(&krecord[i], urecord, min_size)) { in check_btf_func()
9826 if (krecord[i].insn_off) { in check_btf_func()
9829 krecord[i].insn_off); in check_btf_func()
9832 } else if (krecord[i].insn_off <= prev_offset) { in check_btf_func()
9835 krecord[i].insn_off, prev_offset); in check_btf_func()
9839 if (env->subprog_info[i].start != krecord[i].insn_off) { in check_btf_func()
9845 type = btf_type_by_id(btf, krecord[i].type_id); in check_btf_func()
9848 krecord[i].type_id); in check_btf_func()
9869 prev_offset = krecord[i].insn_off; in check_btf_func()
9873 prog->aux->func_info = krecord; in check_btf_func()
9879 kvfree(krecord); in check_btf_func()