Lines Matching refs:max_low_pfn
304 if (end > max_low_pfn) in setup_memory()
305 max_low_pfn = end; in setup_memory()
326 if (mem_size_limit && max_low_pfn >= mem_size_limit) in setup_memory()
330 max_low_pfn << (PAGE_SHIFT - 10)); in setup_memory()
331 max_low_pfn = mem_size_limit; in setup_memory()
340 if (max_low_pfn <= end_kernel_pfn) in setup_memory()
345 bootmap_pages = bootmem_bootmap_pages(max_low_pfn); in setup_memory()
354 if (start >= max_low_pfn) in setup_memory()
356 if (end > max_low_pfn) in setup_memory()
357 end = max_low_pfn; in setup_memory()
374 max_low_pfn >>= 1; in setup_memory()
379 bootmap_size = init_bootmem(bootmap_start, max_low_pfn); in setup_memory()
388 if (start >= max_low_pfn) in setup_memory()
390 if (end > max_low_pfn) in setup_memory()
391 end = max_low_pfn; in setup_memory()
422 if ((void *)initrd_end > phys_to_virt(PFN_PHYS(max_low_pfn))) { in setup_memory()
423 if (!move_initrd(PFN_PHYS(max_low_pfn))) in setup_memory()
427 phys_to_virt(PFN_PHYS(max_low_pfn))); in setup_memory()