Searched refs:maxmem (Results 1 - 5 of 5) sorted by relevance

/darwin-on-arm/xnu/security/
H A Dmac_alloc.h63 zone_t mac_zinit (vm_size_t size, vm_size_t maxmem,
H A Dmac_alloc.c132 mac_zinit(vm_size_t size, vm_size_t maxmem, vm_size_t alloc, const char *name) argument
135 return zinit(size, maxmem, alloc, name);
/darwin-on-arm/xnu/osfmk/i386/
H A Di386_vm_init.c95 uint64_t max_mem; /* Size of physical memory (bytes), adjusted by maxmem */
175 i386_vm_init(uint64_t maxmem, argument
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_PGSHIF
[all...]
H A Di386_init.c471 unsigned int maxmem; local
519 if (!PE_parse_boot_argn("maxmem", &maxmem, sizeof (maxmem)))
522 maxmemtouse = ((uint64_t)maxmem) * MB;
/darwin-on-arm/xnu/osfmk/kern/
H A Dzalloc.h222 vm_size_t maxmem, /* maximum memory to use */

Completed in 25 milliseconds