Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dverifier.c8686 struct bpf_func_info *krecord; in check_btf_func() local
8721 krecord = kvcalloc(nfuncs, krec_size, GFP_KERNEL | __GFP_NOWARN); in check_btf_func()
8722 if (!krecord) in check_btf_func()
8742 if (copy_from_user(&krecord[i], urecord, min_size)) { in check_btf_func()
8750 if (krecord[i].insn_off) { in check_btf_func()
8753 krecord[i].insn_off); in check_btf_func()
8756 } else if (krecord[i].insn_off <= prev_offset) { in check_btf_func()
8759 krecord[i].insn_off, prev_offset); in check_btf_func()
8763 if (env->subprog_info[i].start != krecord[i].insn_off) { in check_btf_func()
8769 type = btf_type_by_id(btf, krecord[i].type_id); in check_btf_func()
[all …]