Lines Matching refs:contig_hint
247 chunk_md->contig_hint == 0) in pcpu_chunk_slot()
250 return pcpu_size_to_slot(chunk_md->contig_hint * PCPU_MIN_ALLOC_SIZE); in pcpu_chunk_slot()
323 return bit_off + bits <= block->contig_hint; in pcpu_check_block_hint()
391 *bits = block->contig_hint; in pcpu_next_md_free_region()
446 if (block->contig_hint && in pcpu_next_fit_region()
448 block->contig_hint >= *bits + alloc_bits) { in pcpu_next_fit_region()
641 if (contig > block->contig_hint) { in pcpu_block_update()
644 if (block->contig_hint > block->scan_hint) { in pcpu_block_update()
647 block->scan_hint = block->contig_hint; in pcpu_block_update()
660 block->contig_hint = contig; in pcpu_block_update()
661 } else if (contig == block->contig_hint) { in pcpu_block_update()
668 block->contig_hint > block->scan_hint) in pcpu_block_update()
671 block->contig_hint > block->scan_hint) { in pcpu_block_update()
754 chunk_md->contig_hint = chunk_md->scan_hint; in pcpu_chunk_refresh_hint()
758 chunk_md->contig_hint = 0; in pcpu_chunk_refresh_hint()
784 block->contig_hint = block->scan_hint; in pcpu_block_refresh_hint()
788 block->contig_hint = 0; in pcpu_block_refresh_hint()
834 if (s_block->contig_hint == PCPU_BITMAP_BLOCK_BITS) in pcpu_block_update_hint_alloc()
856 s_block->contig_hint, in pcpu_block_update_hint_alloc()
877 if (e_block->contig_hint == PCPU_BITMAP_BLOCK_BITS) in pcpu_block_update_hint_alloc()
910 block->contig_hint = 0; in pcpu_block_update_hint_alloc()
939 chunk_md->contig_hint, in pcpu_block_update_hint_alloc()
997 if (s_off == s_block->contig_hint + s_block->contig_hint_start) { in pcpu_block_update_hint_free()
1013 end = e_block->contig_hint_start + e_block->contig_hint; in pcpu_block_update_hint_free()
1037 block->contig_hint = PCPU_BITMAP_BLOCK_BITS; in pcpu_block_update_hint_free()
1312 block->contig_hint = nr_bits; in pcpu_init_md_block()
2174 if (block->contig_hint == PCPU_BITMAP_BLOCK_BITS && in pcpu_reclaim_populated()