Lines Matching refs:maxmem
91 uint64_t max_mem; /* Size of physical memory (bytes), adjusted by maxmem */
170 i386_vm_init(uint64_t maxmem,
610 * Unless overriden by the maxmem= boot-arg
611 * -- which is a non-zero maxmem argument to this function.
613 if (maxmem == 0 && sane_size > KERNEL_MAXMEM) {
614 maxmem = KERNEL_MAXMEM;
620 * if user set maxmem, reduce memory sizes
622 if ( (maxmem > (uint64_t)first_avail) && (maxmem < sane_size)) {
623 ppnum_t discarded_pages = (ppnum_t)((sane_size - maxmem) >> I386_PGSHIFT);
629 sane_size = maxmem;