Lines Matching refs:scan_hint
346 if (block->scan_hint && in pcpu_next_hint()
348 alloc_bits > block->scan_hint) in pcpu_next_hint()
349 return block->scan_hint_start + block->scan_hint; in pcpu_next_hint()
644 if (block->contig_hint > block->scan_hint) { in pcpu_block_update()
647 block->scan_hint = block->contig_hint; in pcpu_block_update()
654 block->scan_hint = 0; in pcpu_block_update()
657 block->scan_hint = 0; in pcpu_block_update()
668 block->contig_hint > block->scan_hint) in pcpu_block_update()
669 block->scan_hint = 0; in pcpu_block_update()
671 block->contig_hint > block->scan_hint) { in pcpu_block_update()
678 block->scan_hint = contig; in pcpu_block_update()
687 (contig > block->scan_hint || in pcpu_block_update()
688 (contig == block->scan_hint && in pcpu_block_update()
691 block->scan_hint = contig; in pcpu_block_update()
751 if (!full_scan && chunk_md->scan_hint) { in pcpu_chunk_refresh_hint()
752 bit_off = chunk_md->scan_hint_start + chunk_md->scan_hint; in pcpu_chunk_refresh_hint()
754 chunk_md->contig_hint = chunk_md->scan_hint; in pcpu_chunk_refresh_hint()
755 chunk_md->scan_hint = 0; in pcpu_chunk_refresh_hint()
781 if (block->scan_hint) { in pcpu_block_refresh_hint()
782 start = block->scan_hint_start + block->scan_hint; in pcpu_block_refresh_hint()
784 block->contig_hint = block->scan_hint; in pcpu_block_refresh_hint()
785 block->scan_hint = 0; in pcpu_block_refresh_hint()
849 s_block->scan_hint_start + s_block->scan_hint, in pcpu_block_update_hint_alloc()
852 s_block->scan_hint = 0; in pcpu_block_update_hint_alloc()
893 e_block->scan_hint = 0; in pcpu_block_update_hint_alloc()
909 block->scan_hint = 0; in pcpu_block_update_hint_alloc()
927 chunk_md->scan_hint, in pcpu_block_update_hint_alloc()
930 chunk_md->scan_hint = 0; in pcpu_block_update_hint_alloc()
1035 block->scan_hint = 0; in pcpu_block_update_hint_free()
1311 block->scan_hint = 0; in pcpu_init_md_block()