Lines Matching refs:vm_lock

560 	ASSERT(MUTEX_HELD(&vmp->vm_lock));  in vmem_span_create()
590 ASSERT(MUTEX_HELD(&vmp->vm_lock)); in vmem_span_destroy()
694 mutex_exit(&vmp->vm_lock); in vmem_populate()
720 mutex_enter(&vmp->vm_lock); in vmem_populate()
729 mutex_enter(&vmem_populator[i]->vm_lock); in vmem_populate()
733 mutex_exit(&vmem_populator[i]->vm_lock); in vmem_populate()
737 mutex_enter(&vmp->vm_lock); in vmem_populate()
802 mutex_exit(&vmp->vm_lock); in vmem_advance()
804 mutex_enter(&vmp->vm_lock); in vmem_advance()
823 mutex_enter(&vmp->vm_lock); in vmem_nextfit_alloc()
826 mutex_exit(&vmp->vm_lock); in vmem_nextfit_alloc()
849 mutex_exit(&vmp->vm_lock); in vmem_nextfit_alloc()
882 mutex_exit(&vmp->vm_lock); in vmem_nextfit_alloc()
887 cv_wait(&vmp->vm_cv, &vmp->vm_lock); in vmem_nextfit_alloc()
905 mutex_exit(&vmp->vm_lock); in vmem_nextfit_alloc()
921 ASSERT(MUTEX_HELD(&vmp->vm_lock)); in vmem_canalloc()
972 mutex_enter(&vmp->vm_lock); in vmem_xalloc()
1076 mutex_exit(&vmp->vm_lock); in vmem_xalloc()
1101 mutex_exit(&vmp->vm_lock); in vmem_xalloc()
1116 mutex_enter(&vmp->vm_lock); in vmem_xalloc()
1159 mutex_exit(&vmp->vm_lock); in vmem_xalloc()
1164 mutex_enter(&vmp->vm_lock); in vmem_xalloc()
1168 cv_wait(&vmp->vm_cv, &vmp->vm_lock); in vmem_xalloc()
1179 mutex_exit(&vmp->vm_lock); in vmem_xalloc()
1189 mutex_exit(&vmp->vm_lock); in vmem_xalloc()
1209 mutex_enter(&vmp->vm_lock); in vmem_xfree()
1247 mutex_exit(&vmp->vm_lock); in vmem_xfree()
1251 mutex_exit(&vmp->vm_lock); in vmem_xfree()
1289 mutex_enter(&vmp->vm_lock); in vmem_alloc()
1299 mutex_exit(&vmp->vm_lock); in vmem_alloc()
1311 mutex_exit(&vmp->vm_lock); in vmem_alloc()
1339 mutex_enter(&vmp->vm_lock); in vmem_contains()
1347 mutex_exit(&vmp->vm_lock); in vmem_contains()
1363 mutex_enter(&vmp->vm_lock); in vmem_add()
1368 mutex_exit(&vmp->vm_lock); in vmem_add()
1394 mutex_enter(&vmp->vm_lock); in vmem_walk()
1402 mutex_exit(&vmp->vm_lock); in vmem_walk()
1404 mutex_enter(&vmp->vm_lock); in vmem_walk()
1412 mutex_exit(&vmp->vm_lock); in vmem_walk()
1474 mutex_init(&vmp->vm_lock, NULL, MUTEX_DEFAULT, NULL); in vmem_create_common()
1558 mutex_enter(&vmp->vm_lock); in vmem_create_common()
1560 mutex_exit(&vmp->vm_lock); in vmem_create_common()
1644 mutex_destroy(&vmp->vm_lock); in vmem_destroy()
1673 mutex_enter(&vmp->vm_lock); in vmem_hash_rescale()
1694 mutex_exit(&vmp->vm_lock); in vmem_hash_rescale()