Lines Matching refs:krecord
17693 struct bpf_func_info *krecord; in check_btf_func_early() local
17721 krecord = kvcalloc(nfuncs, krec_size, GFP_KERNEL | __GFP_NOWARN); in check_btf_func_early()
17722 if (!krecord) in check_btf_func_early()
17741 if (copy_from_bpfptr(&krecord[i], urecord, min_size)) { in check_btf_func_early()
17749 if (krecord[i].insn_off) { in check_btf_func_early()
17752 krecord[i].insn_off); in check_btf_func_early()
17755 } else if (krecord[i].insn_off <= prev_offset) { in check_btf_func_early()
17758 krecord[i].insn_off, prev_offset); in check_btf_func_early()
17763 type = btf_type_by_id(btf, krecord[i].type_id); in check_btf_func_early()
17766 krecord[i].type_id); in check_btf_func_early()
17775 prev_offset = krecord[i].insn_off; in check_btf_func_early()
17779 prog->aux->func_info = krecord; in check_btf_func_early()
17784 kvfree(krecord); in check_btf_func_early()
17794 struct bpf_func_info *krecord; in check_btf_func() local
17820 krecord = prog->aux->func_info; in check_btf_func()
17829 if (env->subprog_info[i].start != krecord[i].insn_off) { in check_btf_func()
17835 type = btf_type_by_id(btf, krecord[i].type_id); in check_btf_func()