Home
last modified time | relevance | path

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

/openbmc/linux/kernel/bpf/
H A Dverifier.c15445 u32 i, nfuncs, urec_size, min_size; in check_btf_func() local
15468 urec_size = attr->func_info_rec_size; in check_btf_func()
15469 if (urec_size < MIN_BPF_FUNCINFO_SIZE || in check_btf_func()
15470 urec_size > MAX_FUNCINFO_REC_SIZE || in check_btf_func()
15471 urec_size % sizeof(u32)) { in check_btf_func()
15472 verbose(env, "invalid func info rec size %u\n", urec_size); in check_btf_func()
15480 min_size = min_t(u32, krec_size, urec_size); in check_btf_func()
15490 ret = bpf_check_uarg_tail_zero(urecord, krec_size, urec_size); in check_btf_func()
15557 bpfptr_add(&urecord, urec_size); in check_btf_func()