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