Lines Matching defs:vmem_populate
56 * Since VM_SLEEP allocations can hold locks (in vmem_populate()) for
66 * occurs during a vmem_populate() allocation.
103 * extending the heap while vmem_populate()ing it.
149 * vmem_populate() preallocates segment structures for vmem to do its work.
188 * vmem_populate() ensures that each arena has VMEM_MINFREE seg structures
546 * We cannot reap if we are in the middle of a vmem_populate().
559 vmem_populate(vmem_t *vmp, int vmflag)
719 if (vmp->vm_nsegfree < VMEM_MINFREE && !vmem_populate(vmp, vmflag)) {
857 !vmem_populate(vmp, vmflag))
949 * here on behalf of vmem_populate(), we are taking
1095 if (vmp->vm_nsegfree >= VMEM_MINFREE || vmem_populate(vmp, vmflag)) {
1166 if (vmem_populate(vmp, vmflag))
1183 * Called with vmp->vm_lock held, and a successful vmem_populate() completed.
1331 if (!vmem_populate(vmp, vmflag)) {
1521 (void) vmem_populate(vmp, vmflag | VM_PANIC);
1756 * since vmem_populate allocates them compactly.