Lines Matching refs:vm_lock
453 ASSERT(MUTEX_HELD(&vmp->vm_lock)); in vmem_span_create()
484 ASSERT(MUTEX_HELD(&vmp->vm_lock)); in vmem_span_destroy()
585 (void) mutex_unlock(&vmp->vm_lock); in vmem_populate()
617 (void) mutex_lock(&vmp->vm_lock); in vmem_populate()
625 (void) mutex_lock(&vmem_populator[i]->vm_lock); in vmem_populate()
629 (void) mutex_unlock(&vmem_populator[i]->vm_lock); in vmem_populate()
634 (void) mutex_lock(&vmp->vm_lock); in vmem_populate()
699 (void) mutex_unlock(&vmp->vm_lock); in vmem_advance()
701 (void) mutex_lock(&vmp->vm_lock); in vmem_advance()
720 (void) mutex_lock(&vmp->vm_lock); in vmem_nextfit_alloc()
723 (void) mutex_unlock(&vmp->vm_lock); in vmem_nextfit_alloc()
746 (void) mutex_unlock(&vmp->vm_lock); in vmem_nextfit_alloc()
781 (void) mutex_unlock(&vmp->vm_lock); in vmem_nextfit_alloc()
788 (void) cond_wait(&vmp->vm_cv, &vmp->vm_lock); in vmem_nextfit_alloc()
807 (void) mutex_unlock(&vmp->vm_lock); in vmem_nextfit_alloc()
855 (void) mutex_lock(&vmp->vm_lock); in vmem_xalloc()
942 (void) mutex_unlock(&vmp->vm_lock); in vmem_xalloc()
961 (void) mutex_unlock(&vmp->vm_lock); in vmem_xalloc()
964 (void) mutex_lock(&vmp->vm_lock); in vmem_xalloc()
972 (void) mutex_unlock(&vmp->vm_lock); in vmem_xalloc()
974 (void) mutex_lock(&vmp->vm_lock); in vmem_xalloc()
980 (void) cond_wait(&vmp->vm_cv, &vmp->vm_lock); in vmem_xalloc()
990 (void) mutex_unlock(&vmp->vm_lock); in vmem_xalloc()
998 (void) mutex_unlock(&vmp->vm_lock); in vmem_xalloc()
1017 (void) mutex_lock(&vmp->vm_lock); in vmem_xfree()
1055 (void) mutex_unlock(&vmp->vm_lock); in vmem_xfree()
1059 (void) mutex_unlock(&vmp->vm_lock); in vmem_xfree()
1100 (void) mutex_lock(&vmp->vm_lock); in vmem_alloc()
1110 (void) mutex_unlock(&vmp->vm_lock); in vmem_alloc()
1119 (void) mutex_unlock(&vmp->vm_lock); in vmem_alloc()
1147 (void) mutex_lock(&vmp->vm_lock); in vmem_contains()
1155 (void) mutex_unlock(&vmp->vm_lock); in vmem_contains()
1172 (void) mutex_lock(&vmp->vm_lock); in vmem_add()
1178 (void) mutex_unlock(&vmp->vm_lock); in vmem_add()
1205 ASSERT(MUTEX_HELD(&vmp->vm_lock)); in vmem_extend_unlocked()
1337 (void) mutex_lock(&vmp->vm_lock); in _vmem_extend_alloc()
1339 (void) mutex_unlock(&vmp->vm_lock); in _vmem_extend_alloc()
1357 (void) mutex_unlock(&vmp->vm_lock); in _vmem_extend_alloc()
1384 (void) mutex_lock(&vmp->vm_lock); in vmem_walk()
1392 (void) mutex_unlock(&vmp->vm_lock); in vmem_walk()
1394 (void) mutex_lock(&vmp->vm_lock); in vmem_walk()
1402 (void) mutex_unlock(&vmp->vm_lock); in vmem_walk()
1459 (void) mutex_init(&vmp->vm_lock, USYNC_THREAD, NULL); in vmem_create()
1527 (void) mutex_lock(&vmp->vm_lock); in vmem_create()
1529 (void) mutex_unlock(&vmp->vm_lock); in vmem_create()
1583 (void) mutex_destroy(&vmp->vm_lock); in vmem_destroy()
1611 (void) mutex_lock(&vmp->vm_lock); in vmem_hash_rescale()
1632 (void) mutex_unlock(&vmp->vm_lock); in vmem_hash_rescale()
1784 (void) mutex_lock(&cur->vm_lock); in vmem_lockup()
1799 (void) mutex_unlock(&cur->vm_lock); in vmem_release()