Lines Matching refs:rec_size
17038 u32 i, s, nr_linfo, ncopy, expected_size, rec_size, prev_offset = 0; in check_btf_line() local
17052 rec_size = attr->line_info_rec_size; in check_btf_line()
17053 if (rec_size < MIN_BPF_LINEINFO_SIZE || in check_btf_line()
17054 rec_size > MAX_LINEINFO_REC_SIZE || in check_btf_line()
17055 rec_size & (sizeof(u32) - 1)) in check_btf_line()
17073 ncopy = min_t(u32, expected_size, rec_size); in check_btf_line()
17075 err = bpf_check_uarg_tail_zero(ulinfo, expected_size, rec_size); in check_btf_line()
17139 bpfptr_add(&ulinfo, rec_size); in check_btf_line()
17166 u32 i, nr_core_relo, ncopy, expected_size, rec_size; in check_core_relo() local
17183 rec_size = attr->core_relo_rec_size; in check_core_relo()
17184 if (rec_size < MIN_CORE_RELO_SIZE || in check_core_relo()
17185 rec_size > MAX_CORE_RELO_SIZE || in check_core_relo()
17186 rec_size % sizeof(u32)) in check_core_relo()
17191 ncopy = min_t(u32, expected_size, rec_size); in check_core_relo()
17198 err = bpf_check_uarg_tail_zero(u_core_relo, expected_size, rec_size); in check_core_relo()
17226 bpfptr_add(&u_core_relo, rec_size); in check_core_relo()