Lines Matching refs:lzeros
222 int i, lzeros = 0; in count_lzeros() local
227 lzeros += sizeof(mpi_limb_t); in count_lzeros()
229 lzeros += count_leading_zeros(alimb) / 8; in count_lzeros()
233 return lzeros; in count_lzeros()
262 int i, lzeros; in mpi_read_buffer() local
270 lzeros = count_lzeros(a); in mpi_read_buffer()
272 if (buf_len < n - lzeros) { in mpi_read_buffer()
273 *nbytes = n - lzeros; in mpi_read_buffer()
278 *nbytes = n - lzeros; in mpi_read_buffer()
280 for (i = a->nlimbs - 1 - lzeros / BYTES_PER_MPI_LIMB, in mpi_read_buffer()
281 lzeros %= BYTES_PER_MPI_LIMB; in mpi_read_buffer()
290 memcpy(p, (u8 *)&alimb + lzeros, BYTES_PER_MPI_LIMB - lzeros); in mpi_read_buffer()
291 p += BYTES_PER_MPI_LIMB - lzeros; in mpi_read_buffer()
292 lzeros = 0; in mpi_read_buffer()
441 int x, j, z, lzeros, ents; in mpi_read_raw_from_sgl() local
453 lzeros = 0; in mpi_read_raw_from_sgl()
457 lzeros++; in mpi_read_raw_from_sgl()
469 nbytes -= lzeros; in mpi_read_raw_from_sgl()
470 lzeros = 0; in mpi_read_raw_from_sgl()
473 miter.consumed = lzeros; in mpi_read_raw_from_sgl()
475 nbytes -= lzeros; in mpi_read_raw_from_sgl()