Searched refs:vmem_populator (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libumem/common/
H A Dvmem.c197 static vmem_t *vmem_populator[VMEM_INITIAL]; variable
624 (void) mutex_lock(&vmem_populator[i]->vm_lock);
625 while (vmem_populator[i]->vm_nsegfree < VMEM_POPULATE_RESERVE)
626 vmem_putseg(vmem_populator[i],
628 (void) mutex_unlock(&vmem_populator[i]->vm_lock);
1521 vmem_populator[pop_id - 1] = vmp;
1681 bzero(vmem_populator, sizeof (vmem_populator));
/illumos-gate/usr/src/uts/common/os/
H A Dvmem.c312 static vmem_t *vmem_populator[VMEM_INITIAL]; variable
729 mutex_enter(&vmem_populator[i]->vm_lock);
730 while (vmem_populator[i]->vm_nsegfree < VMEM_POPULATE_RESERVE)
731 vmem_putseg(vmem_populator[i],
733 mutex_exit(&vmem_populator[i]->vm_lock);
1557 vmem_populator[atomic_inc_32_nv(&vmem_populators) - 1] = vmp;

Completed in 65 milliseconds