Lines Matching refs:max_memory
72 static unsigned long long max_memory = ULLONG_MAX; variable
833 max_memory = 64ull << 20; in prom_init()
837 max_memory = memparse(arg + 4, &p); in prom_init()
838 if (max_memory == 0) in prom_init()
839 max_memory = 32ull << 30; in prom_init()
851 max_memory = memparse(arg + 4, &p); in prom_init()
852 if (max_memory == 0) in prom_init()
853 max_memory = 32ull << 30; in prom_init()
964 if (mem_alloc_size > max_memory) in plat_mem_setup()
965 mem_alloc_size = max_memory; in plat_mem_setup()
969 memblock_add(reserve_low_mem, max_memory); in plat_mem_setup()
970 total += max_memory; in plat_mem_setup()
983 while (total < max_memory) { in plat_mem_setup()