Lines Matching refs:PCPU_BITMAP_BLOCK_BITS

289 	       (index * PCPU_BITMAP_BLOCK_BITS / BITS_PER_LONG);
294 return off / PCPU_BITMAP_BLOCK_BITS;
299 return off & (PCPU_BITMAP_BLOCK_BITS - 1);
304 return index * PCPU_BITMAP_BLOCK_BITS + off;
378 if (block->left_free == PCPU_BITMAP_BLOCK_BITS)
393 *bits + block->contig_hint_start < PCPU_BITMAP_BLOCK_BITS) {
402 *bit_off = (i + 1) * PCPU_BITMAP_BLOCK_BITS - block->right_free;
435 if (block->left_free == PCPU_BITMAP_BLOCK_BITS)
459 *bit_off = ALIGN(PCPU_BITMAP_BLOCK_BITS - block->right_free,
461 *bits = PCPU_BITMAP_BLOCK_BITS - *bit_off;
720 if (e_off > PCPU_BITMAP_BLOCK_BITS)
794 for_each_clear_bitrange_from(start, end, alloc_map, PCPU_BITMAP_BLOCK_BITS)
834 if (s_block->contig_hint == PCPU_BITMAP_BLOCK_BITS)
845 PCPU_BITMAP_BLOCK_BITS,
868 PCPU_BITMAP_BLOCK_BITS - e_off);
877 if (e_block->contig_hint == PCPU_BITMAP_BLOCK_BITS)
886 PCPU_BITMAP_BLOCK_BITS, e_off);
888 if (e_off == PCPU_BITMAP_BLOCK_BITS) {
902 PCPU_BITMAP_BLOCK_BITS - e_off);
1016 PCPU_BITMAP_BLOCK_BITS, end);
1019 e_off = (s_index == e_index) ? end : PCPU_BITMAP_BLOCK_BITS;
1020 if (!start && e_off == PCPU_BITMAP_BLOCK_BITS)
1027 if (end == PCPU_BITMAP_BLOCK_BITS)
1037 block->contig_hint = PCPU_BITMAP_BLOCK_BITS;
1038 block->left_free = PCPU_BITMAP_BLOCK_BITS;
1039 block->right_free = PCPU_BITMAP_BLOCK_BITS;
1052 if (((end - start) >= PCPU_BITMAP_BLOCK_BITS) || s_index != e_index)
1231 end = min_t(int, start + alloc_bits + PCPU_BITMAP_BLOCK_BITS,
1329 pcpu_init_md_block(md_block, PCPU_BITMAP_BLOCK_BITS);
2174 if (block->contig_hint == PCPU_BITMAP_BLOCK_BITS &&