Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/os/
H A Dvmem.c309 #define VMEM_MINFREE (VMEM_POPULATE_RESERVE + VMEM_SEGS_PER_ALLOC_MAX) macro
679 while (vmp->vm_nsegfree < VMEM_MINFREE && in vmem_populate()
683 if (vmp->vm_nsegfree >= VMEM_MINFREE) in vmem_populate()
707 nseg = VMEM_MINFREE + vmem_populators * VMEM_POPULATE_RESERVE; in vmem_populate()
742 ASSERT(nseg >= VMEM_MINFREE); in vmem_populate()
743 while (vmp->vm_nsegfree < VMEM_MINFREE) in vmem_populate()
825 if (vmp->vm_nsegfree < VMEM_MINFREE && !vmem_populate(vmp, vmflag)) { in vmem_nextfit_alloc()
974 if (vmp->vm_nsegfree < VMEM_MINFREE && in vmem_xalloc()
1291 if (vmp->vm_nsegfree >= VMEM_MINFREE || vmem_populate(vmp, vmflag)) { in vmem_alloc()
/titanic_41/usr/src/lib/libumem/common/
H A Dvmem.c193 #define VMEM_MINFREE (VMEM_POPULATE_RESERVE + VMEM_SEGS_PER_ALLOC_MAX) macro
569 while (vmp->vm_nsegfree < VMEM_MINFREE && in vmem_populate()
573 if (vmp->vm_nsegfree >= VMEM_MINFREE) in vmem_populate()
597 nseg = VMEM_MINFREE + vmem_populators * VMEM_POPULATE_RESERVE; in vmem_populate()
638 ASSERT(nseg >= VMEM_MINFREE); in vmem_populate()
639 while (vmp->vm_nsegfree < VMEM_MINFREE) in vmem_populate()
720 if (vmp->vm_nsegfree < VMEM_MINFREE && !vmem_populate(vmp, vmflag)) { in vmem_nextfit_alloc()
857 if (vmp->vm_nsegfree < VMEM_MINFREE && in vmem_xalloc()
1097 if (vmp->vm_nsegfree >= VMEM_MINFREE || vmem_populate(vmp, vmflag)) { in vmem_alloc()