Home
last modified time | relevance | path

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

/device/soc/rockchip/common/sdk_linux/kernel/bpf/
H A Dverifier.c8557 struct bpf_func_info *krecord; in check_btf_func() local
8591 krecord = kvcalloc(nfuncs, krec_size, GFP_KERNEL | __GFP_NOWARN); in check_btf_func()
8592 if (!krecord) { in check_btf_func()
8615 if (copy_from_user(&krecord[i], urecord, min_size)) { in check_btf_func()
8623 if (krecord[i].insn_off) { in check_btf_func()
8624 verbose(env, "nonzero insn_off %u for the first func info record", krecord[i].insn_off); in check_btf_func()
8627 } else if (krecord[i].insn_off <= prev_offset) { in check_btf_func()
8628 verbose(env, "same or smaller insn offset (%u) than previous func info record (%u)", krecord[i].insn_off, in check_btf_func()
8633 if (env->subprog_info[i].start != krecord[i].insn_off) { in check_btf_func()
8639 type = btf_type_by_id(btf, krecord[ in check_btf_func()
[all...]

Completed in 14 milliseconds