Lines Matching refs:krecord
18477 struct bpf_func_info *krecord; in check_btf_func_early() local
18505 krecord = kvcalloc(nfuncs, krec_size, GFP_KERNEL_ACCOUNT | __GFP_NOWARN); in check_btf_func_early()
18506 if (!krecord) in check_btf_func_early()
18525 if (copy_from_bpfptr(&krecord[i], urecord, min_size)) { in check_btf_func_early()
18533 if (krecord[i].insn_off) { in check_btf_func_early()
18536 krecord[i].insn_off); in check_btf_func_early()
18539 } else if (krecord[i].insn_off <= prev_offset) { in check_btf_func_early()
18542 krecord[i].insn_off, prev_offset); in check_btf_func_early()
18547 type = btf_type_by_id(btf, krecord[i].type_id); in check_btf_func_early()
18550 krecord[i].type_id); in check_btf_func_early()
18559 prev_offset = krecord[i].insn_off; in check_btf_func_early()
18563 prog->aux->func_info = krecord; in check_btf_func_early()
18568 kvfree(krecord); in check_btf_func_early()
18578 struct bpf_func_info *krecord; in check_btf_func() local
18604 krecord = prog->aux->func_info; in check_btf_func()
18613 if (env->subprog_info[i].start != krecord[i].insn_off) { in check_btf_func()
18619 type = btf_type_by_id(btf, krecord[i].type_id); in check_btf_func()