Searched refs:physpages (Results 1 – 2 of 2) sorted by relevance
877 unsigned long physpages; in setup_linux_memory() local895 max_mapnr = physpages = (memory_end - memory_start) >> PAGE_SHIFT; in setup_linux_memory()899 if (physpages > low_top_pfn) { in setup_linux_memory()901 high_mem = physpages - low_top_pfn; in setup_linux_memory()903 max_mapnr = physpages = low_top_pfn; in setup_linux_memory()907 low_top_pfn = physpages; in setup_linux_memory()
388 unsigned long physpages = 0; in setup_memory() local448 if (physpages + PFN_DOWN(range.size) > maxmem_pfn) { in setup_memory()449 int max_size = maxmem_pfn - physpages; in setup_memory()506 physpages += size; in setup_memory()525 if (physpages > cap) { in setup_memory()536 physpages -= dropped_pages; in setup_memory()539 physpages >> (20 - PAGE_SHIFT), in setup_memory()557 highmem_pages = (long) (physpages - lowmem_pages); in setup_memory()