Lines Matching refs:max_memory
71 static unsigned long long max_memory = ULLONG_MAX; variable
857 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()
995 add_memory_region(reserve_low_mem, max_memory, BOOT_MEM_RAM); in plat_mem_setup()
996 total += max_memory; in plat_mem_setup()
1010 while (total < max_memory) { in plat_mem_setup()