Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libumem/common/
H A Dvmem.c198 static vmem_t *vmem_populator[VMEM_INITIAL]; variable
625 (void) mutex_lock(&vmem_populator[i]->vm_lock); in vmem_populate()
626 while (vmem_populator[i]->vm_nsegfree < VMEM_POPULATE_RESERVE) in vmem_populate()
627 vmem_putseg(vmem_populator[i], in vmem_populate()
629 (void) mutex_unlock(&vmem_populator[i]->vm_lock); in vmem_populate()
1526 vmem_populator[pop_id - 1] = vmp; in vmem_create()
1686 bzero(vmem_populator, sizeof (vmem_populator)); in vmem_startup()
/illumos-gate/usr/src/uts/common/os/
H A Dvmem.c315 static vmem_t *vmem_populator[VMEM_INITIAL]; variable
732 mutex_enter(&vmem_populator[i]->vm_lock); in vmem_populate()
733 while (vmem_populator[i]->vm_nsegfree < VMEM_POPULATE_RESERVE) in vmem_populate()
734 vmem_putseg(vmem_populator[i], in vmem_populate()
736 mutex_exit(&vmem_populator[i]->vm_lock); in vmem_populate()
1566 vmem_populator[atomic_inc_32_nv(&vmem_populators) - 1] = vmp; in vmem_create_common()