Lines Matching refs:mem_max
109 unsigned long mem_max; in setup_bootmem() local
224 mem_max = 0; in setup_bootmem()
229 if ((mem_max + rsize) > mem_limit) { in setup_bootmem()
231 if (mem_max == mem_limit) in setup_bootmem()
235 - (mem_max >> PAGE_SHIFT); in setup_bootmem()
237 mem_max = mem_limit; in setup_bootmem()
241 mem_max += rsize; in setup_bootmem()
244 printk(KERN_INFO "Total Memory: %ld Mb\n",mem_max >> 20); in setup_bootmem()
340 if (__pa(initrd_start) < mem_max) { in setup_bootmem()
343 if (__pa(initrd_end) > mem_max) { in setup_bootmem()
344 initrd_reserve = mem_max - __pa(initrd_start); in setup_bootmem()
349 … %08lx-%08lx (mem_max %08lx)\n", __pa(initrd_start), __pa(initrd_start) + initrd_reserve, mem_max); in setup_bootmem()