Home
last modified time | relevance | path

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

/lib/mpi/
Dmpicoder.c32 MPI mpi_read_raw_data(const void *xbuffer, size_t nbytes) in mpi_read_raw_data() argument
40 while (nbytes > 0 && buffer[0] == 0) { in mpi_read_raw_data()
42 nbytes--; in mpi_read_raw_data()
45 nbits = nbytes * 8; in mpi_read_raw_data()
50 if (nbytes > 0) in mpi_read_raw_data()
55 nlimbs = DIV_ROUND_UP(nbytes, BYTES_PER_MPI_LIMB); in mpi_read_raw_data()
63 if (nbytes > 0) { in mpi_read_raw_data()
64 i = BYTES_PER_MPI_LIMB - nbytes % BYTES_PER_MPI_LIMB; in mpi_read_raw_data()
84 unsigned nbits, nbytes, nlimbs, nread = 0; in mpi_read_from_buffer() local
99 nbytes = DIV_ROUND_UP(nbits, 8); in mpi_read_from_buffer()
[all …]
/lib/
Dcrc8.c74 u8 crc8(const u8 table[CRC8_TABLE_SIZE], u8 *pdata, size_t nbytes, u8 crc) in crc8() argument
77 while (nbytes-- > 0) in crc8()
Dgenalloc.c182 int nbytes = sizeof(struct gen_pool_chunk) + in gen_pool_add_virt() local
185 chunk = kmalloc_node(nbytes, GFP_KERNEL | __GFP_ZERO, nid); in gen_pool_add_virt()