Searched refs:maxmem (Results 1 – 2 of 2) sorted by relevance
348 unsigned long maxmem = 0; in mm_cmdline_setup() local355 maxmem = memparse(p, &p); in mm_cmdline_setup()356 if (maxmem && memory_size > maxmem) { in mm_cmdline_setup()357 memory_size = maxmem; in mm_cmdline_setup()
106 unsigned long long maxmem; in setup_maxmem() local107 if (str == NULL || (maxmem = memparse(str, NULL)) == 0) in setup_maxmem()110 maxmem_pfn = (maxmem >> HPAGE_SHIFT) << (HPAGE_SHIFT - PAGE_SHIFT); in setup_maxmem()