Home
last modified time | relevance | path

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

/titanic_44/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); in vmem_populate()
625 while (vmem_populator[i]->vm_nsegfree < VMEM_POPULATE_RESERVE) in vmem_populate()
626 vmem_putseg(vmem_populator[i], in vmem_populate()
628 (void) mutex_unlock(&vmem_populator[i]->vm_lock); in vmem_populate()
1521 vmem_populator[pop_id - 1] = vmp; in vmem_create()
1681 bzero(vmem_populator, sizeof (vmem_populator)); in vmem_startup()
/titanic_44/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); in vmem_populate()
730 while (vmem_populator[i]->vm_nsegfree < VMEM_POPULATE_RESERVE) in vmem_populate()
731 vmem_putseg(vmem_populator[i], in vmem_populate()
733 mutex_exit(&vmem_populator[i]->vm_lock); in vmem_populate()
1557 vmem_populator[atomic_inc_32_nv(&vmem_populators) - 1] = vmp; in vmem_create_common()