Lines Matching refs:maxmem
95 uint64_t max_mem; /* Size of physical memory (bytes), adjusted by maxmem */
175 i386_vm_init(uint64_t maxmem,
593 * Unless overriden by the maxmem= boot-arg
594 * -- which is a non-zero maxmem argument to this function.
596 if (maxmem == 0 && sane_size > KERNEL_MAXMEM) {
597 maxmem = KERNEL_MAXMEM;
603 * if user set maxmem, reduce memory sizes
605 if ( (maxmem > (uint64_t)first_avail) && (maxmem < sane_size)) {
606 ppnum_t discarded_pages = (ppnum_t)((sane_size - maxmem) >> I386_PGSHIFT);
612 sane_size = maxmem;