Lines Matching refs:max
300 unsigned long max; in mark_bootmem() local
308 max = min(bdata->node_low_pfn, end); in mark_bootmem()
310 err = mark_bootmem_node(bdata, pos, max, reserve, flags); in mark_bootmem()
316 if (max == end) in mark_bootmem()
436 unsigned long min, max, start, sidx, midx, step; in alloc_bootmem_core() local
450 max = bdata->node_low_pfn; in alloc_bootmem_core()
455 if (limit && max > limit) in alloc_bootmem_core()
456 max = limit; in alloc_bootmem_core()
457 if (max <= min) in alloc_bootmem_core()
460 step = max(align >> PAGE_SHIFT, 1UL); in alloc_bootmem_core()
462 if (goal && min < goal && goal < max) in alloc_bootmem_core()
468 midx = max - bdata->node_min_pfn; in alloc_bootmem_core()