Searched refs:mem_max (Results 1 – 2 of 2) sorted by relevance
116 unsigned long mem_max; in setup_bootmem() local203 mem_max = 0; in setup_bootmem()208 if ((mem_max + rsize) > mem_limit) { in setup_bootmem()210 if (mem_max == mem_limit) in setup_bootmem()214 - (mem_max >> PAGE_SHIFT); in setup_bootmem()216 mem_max = mem_limit; in setup_bootmem()220 mem_max += rsize; in setup_bootmem()223 printk(KERN_INFO "Total Memory: %ld MB\n",mem_max >> 20); in setup_bootmem()309 if (__pa(initrd_start) < mem_max) { in setup_bootmem()312 if (__pa(initrd_end) > mem_max) { in setup_bootmem()[all …]
684 long mem_max = (long)arg; in alloc_anon_50M_check_swap() local695 if (!mem_current || !values_close(mem_current, mem_max, 3)) in alloc_anon_50M_check_swap()