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

/xnu-2422.115.4/security/
H A Dmac_alloc.h63 zone_t mac_zinit (vm_size_t size, vm_size_t maxmem,
H A Dmac_alloc.c141 mac_zinit(vm_size_t size, vm_size_t maxmem, vm_size_t alloc, const char *name) argument
144 return zinit(size, maxmem, alloc, name);
/xnu-2422.115.4/osfmk/i386/
H A Di386_init.c399 unsigned int maxmem; local
446 if (!PE_parse_boot_argn("maxmem", &maxmem, sizeof (maxmem)))
449 maxmemtouse = ((uint64_t)maxmem) * MB;
H A Di386_vm_init.c91 uint64_t max_mem; /* Size of physical memory (bytes), adjusted by maxmem */
170 i386_vm_init(uint64_t maxmem, argument
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_PGSHIF
[all...]
/xnu-2422.115.4/osfmk/kern/
H A Dzalloc.h229 vm_size_t maxmem, /* maximum memory to use */
/xnu-2422.115.4/bsd/sys/
H A Dpthread_shims.h176 zone_t (*zinit)(vm_size_t, vm_size_t maxmem, vm_size_t alloc, const char *name);

Completed in 46 milliseconds