Searched refs:maxmem (Results 1 – 2 of 2) sorted by relevance
282 unsigned long maxmem = 0; in mm_cmdline_setup() local289 maxmem = memparse(p, &p); in mm_cmdline_setup()290 if (maxmem && memory_size > maxmem) { in mm_cmdline_setup()291 memory_size = maxmem; in mm_cmdline_setup()
127 unsigned long long maxmem; in setup_maxmem() local128 if (str == NULL || (maxmem = memparse(str, NULL)) == 0) in setup_maxmem()131 maxmem_pfn = (maxmem >> HPAGE_SHIFT) << (HPAGE_SHIFT - PAGE_SHIFT); in setup_maxmem()