Lines Matching refs:PCPU_BITMAP_BLOCK_BITS
287 (index * PCPU_BITMAP_BLOCK_BITS / BITS_PER_LONG);
292 return off / PCPU_BITMAP_BLOCK_BITS;
297 return off & (PCPU_BITMAP_BLOCK_BITS - 1);
302 return index * PCPU_BITMAP_BLOCK_BITS + off;
357 if (block->left_free == PCPU_BITMAP_BLOCK_BITS)
372 *bits + block->contig_hint_start < PCPU_BITMAP_BLOCK_BITS) {
381 *bit_off = (i + 1) * PCPU_BITMAP_BLOCK_BITS - block->right_free;
414 if (block->left_free == PCPU_BITMAP_BLOCK_BITS)
438 *bit_off = ALIGN(PCPU_BITMAP_BLOCK_BITS - block->right_free,
440 *bits = PCPU_BITMAP_BLOCK_BITS - *bit_off;
676 if (e_off > PCPU_BITMAP_BLOCK_BITS)
751 PCPU_BITMAP_BLOCK_BITS)
794 if (s_block->contig_hint == PCPU_BITMAP_BLOCK_BITS)
800 PCPU_BITMAP_BLOCK_BITS,
823 PCPU_BITMAP_BLOCK_BITS - e_off);
832 if (e_block->contig_hint == PCPU_BITMAP_BLOCK_BITS)
841 PCPU_BITMAP_BLOCK_BITS, e_off);
843 if (e_off == PCPU_BITMAP_BLOCK_BITS) {
857 PCPU_BITMAP_BLOCK_BITS - e_off);
965 PCPU_BITMAP_BLOCK_BITS, end);
968 e_off = (s_index == e_index) ? end : PCPU_BITMAP_BLOCK_BITS;
969 if (!start && e_off == PCPU_BITMAP_BLOCK_BITS)
976 if (end == PCPU_BITMAP_BLOCK_BITS)
986 block->contig_hint = PCPU_BITMAP_BLOCK_BITS;
987 block->left_free = PCPU_BITMAP_BLOCK_BITS;
988 block->right_free = PCPU_BITMAP_BLOCK_BITS;
1001 if (((end - start) >= PCPU_BITMAP_BLOCK_BITS) || s_index != e_index)
1182 end = min_t(int, start + alloc_bits + PCPU_BITMAP_BLOCK_BITS,
1280 pcpu_init_md_block(md_block, PCPU_BITMAP_BLOCK_BITS);