Home
last modified time | relevance | path

Searched refs:VMEM_MINFREE (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dvmem.c312 #define VMEM_MINFREE (VMEM_POPULATE_RESERVE + VMEM_SEGS_PER_ALLOC_MAX) macro
682 while (vmp->vm_nsegfree < VMEM_MINFREE && in vmem_populate()
686 if (vmp->vm_nsegfree >= VMEM_MINFREE) in vmem_populate()
710 nseg = VMEM_MINFREE + vmem_populators * VMEM_POPULATE_RESERVE; in vmem_populate()
745 ASSERT(nseg >= VMEM_MINFREE); in vmem_populate()
746 while (vmp->vm_nsegfree < VMEM_MINFREE) in vmem_populate()
828 if (vmp->vm_nsegfree < VMEM_MINFREE && !vmem_populate(vmp, vmflag)) { in vmem_nextfit_alloc()
979 if (vmp->vm_nsegfree < VMEM_MINFREE && in vmem_xalloc()
1300 if (vmp->vm_nsegfree >= VMEM_MINFREE || vmem_populate(vmp, vmflag)) { in vmem_alloc()
/illumos-gate/usr/src/lib/libumem/common/
H A Dvmem.c194 #define VMEM_MINFREE (VMEM_POPULATE_RESERVE + VMEM_SEGS_PER_ALLOC_MAX) macro
570 while (vmp->vm_nsegfree < VMEM_MINFREE && in vmem_populate()
574 if (vmp->vm_nsegfree >= VMEM_MINFREE) in vmem_populate()
598 nseg = VMEM_MINFREE + vmem_populators * VMEM_POPULATE_RESERVE; in vmem_populate()
639 ASSERT(nseg >= VMEM_MINFREE); in vmem_populate()
640 while (vmp->vm_nsegfree < VMEM_MINFREE) in vmem_populate()
722 if (vmp->vm_nsegfree < VMEM_MINFREE && !vmem_populate(vmp, vmflag)) { in vmem_nextfit_alloc()
859 if (vmp->vm_nsegfree < VMEM_MINFREE && in vmem_xalloc()
1102 if (vmp->vm_nsegfree >= VMEM_MINFREE || vmem_populate(vmp, vmflag)) { in vmem_alloc()