Home
last modified time | relevance | path

Searched refs:PCPU_BITMAP_BLOCK_BITS (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/mm/
Dpercpu.c303 (index * PCPU_BITMAP_BLOCK_BITS / BITS_PER_LONG); in pcpu_index_alloc_map()
308 return off / PCPU_BITMAP_BLOCK_BITS; in pcpu_off_to_block_index()
313 return off & (PCPU_BITMAP_BLOCK_BITS - 1); in pcpu_off_to_block_off()
318 return index * PCPU_BITMAP_BLOCK_BITS + off; in pcpu_block_off_to_off()
345 if (block->left_free == PCPU_BITMAP_BLOCK_BITS) in pcpu_next_md_free_region()
360 *bits + block->contig_hint_start < PCPU_BITMAP_BLOCK_BITS) { in pcpu_next_md_free_region()
369 *bit_off = (i + 1) * PCPU_BITMAP_BLOCK_BITS - block->right_free; in pcpu_next_md_free_region()
402 if (block->left_free == PCPU_BITMAP_BLOCK_BITS) in pcpu_next_fit_region()
424 *bit_off = ALIGN(PCPU_BITMAP_BLOCK_BITS - block->right_free, in pcpu_next_fit_region()
426 *bits = PCPU_BITMAP_BLOCK_BITS - *bit_off; in pcpu_next_fit_region()
[all …]
/Linux-v4.19/include/linux/
Dpercpu.h41 #define PCPU_BITMAP_BLOCK_BITS (PCPU_BITMAP_BLOCK_SIZE >> \ macro