Searched refs:scan_hint (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/mm/ |
H A D | percpu.c | 310 * This determines if we should scan based on the scan_hint or first_free. 312 * first fit. However, if we know a scan_hint at position scan_hint_start 320 * scan_hint. First, does the scan hint exist. Second, is the in pcpu_next_hint() 321 * contig_hint after the scan_hint (possibly not true iff in pcpu_next_hint() 322 * contig_hint == scan_hint). Third, is the allocation request in pcpu_next_hint() 323 * larger than the scan_hint. in pcpu_next_hint() 325 if (block->scan_hint && in pcpu_next_hint() 327 alloc_bits > block->scan_hint) in pcpu_next_hint() 328 return block->scan_hint_start + block->scan_hint; in pcpu_next_hint() 598 /* promote the old contig_hint to be the new scan_hint */ in pcpu_block_update() [all...] |
H A D | percpu-internal.h | 35 * scan_hint == contig_hint. This is necessary because when scanning forward, 39 int scan_hint; /* scan hint for block */ member
|
/kernel/linux/linux-6.6/mm/ |
H A D | percpu.c | 331 * 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 D | percpu-internal.h | 17 * scan_hint == contig_hint. This is necessary because when scanning forward, 21 int scan_hint; /* scan hint for block */ member
|
Completed in 6 milliseconds