Searched defs:nbits (Results 1 - 4 of 4) sorted by relevance
/lib/mpi/ |
H A D | mpicoder.c | 36 unsigned nbits, nlimbs; local 45 nbits = nbytes * 8; 46 if (nbits > MAX_EXTERN_MPI_BITS) { 47 pr_info("MPI: mpi too large (%u bits)\n", nbits); 51 nbits -= count_leading_zeros(buffer[0]); 53 nbits = 0; 59 val->nbits = nbits; 84 unsigned nbits, nbytes, nlimbs, nread = 0; local 90 nbits [all...] |
/lib/ |
H A D | genalloc.c | 186 int nbits = size >> pool->min_alloc_order; local 188 BITS_TO_LONGS(nbits) * sizeof(long); 276 int nbits, start_bit = 0, end_bit, remain; local 285 nbits = (size + (1UL << order) - 1) >> order; 293 start_bit = pool->algo(chunk->bits, end_bit, start_bit, nbits, 297 remain = bitmap_set_ll(chunk->bits, start_bit, nbits); 300 nbits - remain); 306 size = nbits << order; 358 int start_bit, nbits, remain; local 364 nbits [all...] |
H A D | bch.c | 991 unsigned int nbits; local 1034 nbits = (len*8)+bch->ecc_bits; 1036 if (errloc[i] >= nbits) { 1040 errloc[i] = nbits-1-errloc[i]; 1169 unsigned int i, j, nbits, r, word, *roots; local 1211 nbits = (n > 32) ? 32 : n; 1212 for (j = 0, word = 0; j < nbits; j++) { 1217 n -= nbits;
|
H A D | bitmap.c | 434 int c, old_c, totaldigits, ndigits, nchunks, nbits; local 440 nchunks = nbits = totaldigits = c = 0; 491 nbits += (nchunks == 1) ? nbits_to_hold_value(chunk) : CHUNKSZ; 492 if (nbits > nmaskbits) 1175 * @nbits: number of bits in the bitmap 1177 * Require nbits % BITS_PER_LONG == 0. 1179 void bitmap_copy_le(void *dst, const unsigned long *src, int nbits) argument 1184 for (i = 0; i < nbits/BITS_PER_LONG; i++) {
|
Completed in 174 milliseconds