Lines Matching refs:zv_state_lock
248 mutex_enter(&zv->zv_state_lock);
259 * ordering - zv_suspend_lock before zv_state_lock
264 mutex_exit(&zv->zv_state_lock);
266 mutex_enter(&zv->zv_state_lock);
276 ASSERT(MUTEX_HELD(&zv->zv_state_lock));
318 mutex_exit(&zv->zv_state_lock);
342 mutex_enter(&zv->zv_state_lock);
359 * ordering - zv_suspend_lock before zv_state_lock
364 mutex_exit(&zv->zv_state_lock);
366 mutex_enter(&zv->zv_state_lock);
379 ASSERT(MUTEX_HELD(&zv->zv_state_lock));
391 mutex_exit(&zv->zv_state_lock);
422 mutex_enter(&zv->zv_state_lock);
424 mutex_exit(&zv->zv_state_lock);
435 mutex_enter(&zv->zv_state_lock);
439 msleep(zv, &zv->zv_state_lock,
441 mutex_exit(&zv->zv_state_lock);
885 mutex_enter(&zv->zv_state_lock);
892 * ordering - zv_suspend_lock before zv_state_lock
897 mutex_exit(&zv->zv_state_lock);
899 mutex_enter(&zv->zv_state_lock);
909 ASSERT(MUTEX_HELD(&zv->zv_state_lock));
950 mutex_exit(&zv->zv_state_lock);
973 mutex_enter(&zv->zv_state_lock);
989 * ordering - zv_suspend_lock before zv_state_lock
993 mutex_exit(&zv->zv_state_lock);
995 mutex_enter(&zv->zv_state_lock);
1007 ASSERT(MUTEX_HELD(&zv->zv_state_lock));
1024 mutex_exit(&zv->zv_state_lock);
1160 * than zv_state_lock so that we don't need to acquire an
1190 ASSERT(MUTEX_HELD(&zv->zv_state_lock));
1258 ASSERT(!MUTEX_HELD(&zv->zv_state_lock));
1285 mutex_destroy(&zv->zv_state_lock);
1308 ASSERT(MUTEX_HELD(&zv->zv_state_lock));
1309 mutex_exit(&zv->zv_state_lock);
1341 mutex_init(&zv->zv_state_lock, NULL, MUTEX_DEFAULT, NULL);
1380 mutex_destroy(&zv->zv_state_lock);