Home
last modified time | relevance | path

Searched refs:PCPU_BITMAP_BLOCK_BITS (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/mm/
H A Dpercpu.c287 (index * PCPU_BITMAP_BLOCK_BITS / BITS_PER_LONG); in pcpu_index_alloc_map()
292 return off / PCPU_BITMAP_BLOCK_BITS; in pcpu_off_to_block_index()
297 return off & (PCPU_BITMAP_BLOCK_BITS - 1); in pcpu_off_to_block_off()
302 return index * PCPU_BITMAP_BLOCK_BITS + off; in pcpu_block_off_to_off()
357 if (block->left_free == PCPU_BITMAP_BLOCK_BITS) in pcpu_next_md_free_region()
372 *bits + block->contig_hint_start < PCPU_BITMAP_BLOCK_BITS) { in pcpu_next_md_free_region()
381 *bit_off = (i + 1) * PCPU_BITMAP_BLOCK_BITS - block->right_free; in pcpu_next_md_free_region()
414 if (block->left_free == PCPU_BITMAP_BLOCK_BITS) in pcpu_next_fit_region()
438 *bit_off = ALIGN(PCPU_BITMAP_BLOCK_BITS - block->right_free, in pcpu_next_fit_region()
440 *bits = PCPU_BITMAP_BLOCK_BITS in pcpu_next_fit_region()
[all...]
/kernel/linux/linux-6.6/mm/
H A Dpercpu.c289 (index * PCPU_BITMAP_BLOCK_BITS / BITS_PER_LONG); in pcpu_index_alloc_map()
294 return off / PCPU_BITMAP_BLOCK_BITS; in pcpu_off_to_block_index()
299 return off & (PCPU_BITMAP_BLOCK_BITS - 1); in pcpu_off_to_block_off()
304 return index * PCPU_BITMAP_BLOCK_BITS + off; in pcpu_block_off_to_off()
378 if (block->left_free == PCPU_BITMAP_BLOCK_BITS) in pcpu_next_md_free_region()
393 *bits + block->contig_hint_start < PCPU_BITMAP_BLOCK_BITS) { in pcpu_next_md_free_region()
402 *bit_off = (i + 1) * PCPU_BITMAP_BLOCK_BITS - block->right_free; in pcpu_next_md_free_region()
435 if (block->left_free == PCPU_BITMAP_BLOCK_BITS) in pcpu_next_fit_region()
459 *bit_off = ALIGN(PCPU_BITMAP_BLOCK_BITS - block->right_free, in pcpu_next_fit_region()
461 *bits = PCPU_BITMAP_BLOCK_BITS in pcpu_next_fit_region()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dpercpu.h35 #define PCPU_BITMAP_BLOCK_BITS (PCPU_BITMAP_BLOCK_SIZE >> \ macro
/kernel/linux/linux-6.6/include/linux/
H A Dpercpu.h35 #define PCPU_BITMAP_BLOCK_BITS (PCPU_BITMAP_BLOCK_SIZE >> \ macro

Completed in 6 milliseconds