Home
last modified time | relevance | path

Searched refs:krecord (Results 1 – 1 of 1) sorted by relevance

/linux/kernel/bpf/
H A Dverifier.c18472 struct bpf_func_info *krecord; in check_btf_func_early() local
18500 krecord = kvcalloc(nfuncs, krec_size, GFP_KERNEL_ACCOUNT | __GFP_NOWARN); in check_btf_func_early()
18501 if (!krecord) in check_btf_func_early()
18520 if (copy_from_bpfptr(&krecord[i], urecord, min_size)) { in check_btf_func_early()
18528 if (krecord[i].insn_off) { in check_btf_func_early()
18531 krecord[i].insn_off); in check_btf_func_early()
18534 } else if (krecord[i].insn_off <= prev_offset) { in check_btf_func_early()
18537 krecord[i].insn_off, prev_offset); in check_btf_func_early()
18542 type = btf_type_by_id(btf, krecord[i].type_id); in check_btf_func_early()
18545 krecord[i].type_id); in check_btf_func_early()
[all …]