Searched refs:max_memory (Results 1 – 2 of 2) sorted by relevance
71 static unsigned long long max_memory = ULLONG_MAX; variable857 max_memory = 64ull << 20; in prom_init()861 max_memory = memparse(arg + 4, &p); in prom_init()862 if (max_memory == 0) in prom_init()863 max_memory = 32ull << 30; in prom_init()875 max_memory = memparse(arg + 4, &p); in prom_init()876 if (max_memory == 0) in prom_init()877 max_memory = 32ull << 30; in prom_init()990 if (mem_alloc_size > max_memory) in plat_mem_setup()991 mem_alloc_size = max_memory; in plat_mem_setup()[all …]
2392 const u64 max_memory = __rounddown_pow_of_two(memory_hotplug_max()); in pnv_pci_ioda2_setup_default_config() local2409 const u64 window_size = min((maxblock * 8) << PAGE_SHIFT, max_memory); in pnv_pci_ioda2_setup_default_config()