Home
last modified time | relevance | path

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

/linux/mm/
H A Dpercpu.c331 * This determines if we should scan based on the scan_hint or first_free.
333 * first fit. However, if we know a scan_hint at position scan_hint_start
341 * scan_hint. First, does the scan hint exist. Second, is the in pcpu_next_hint()
342 * contig_hint after the scan_hint (possibly not true iff in pcpu_next_hint()
343 * contig_hint == scan_hint). Third, is the allocation request in pcpu_next_hint()
344 * larger than the scan_hint. in pcpu_next_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()
642 /* promote the old contig_hint to be the new scan_hint */ in pcpu_block_update()
[all...]
H A Dpercpu-internal.h17 * scan_hint == contig_hint. This is necessary because when scanning forward,
21 int scan_hint; /* scan hint for block */ member