Lines Matching refs:maxmem
88 uint64_t max_mem; /* Size of physical memory (bytes), adjusted by maxmem */
154 i386_vm_init(uint64_t maxmem,
399 * Unless overriden by the maxmem= boot-arg
400 * -- which is a non-zero maxmem argument to this function.
402 if (maxmem == 0 && sane_size > K32_MAXMEM) {
403 maxmem = K32_MAXMEM;
409 * if user set maxmem, reduce memory sizes
411 if ( (maxmem > (uint64_t)first_avail) && (maxmem < sane_size)) {
412 ppnum_t discarded_pages = (sane_size - maxmem) >> I386_PGSHIFT;
418 sane_size = maxmem;