Searched refs:zv_state_lock (Results 1 – 4 of 4) sorted by relevance
138 mutex_enter(&zv->zv_state_lock); in zvol_find_by_name_hash()146 mutex_exit(&zv->zv_state_lock); in zvol_find_by_name_hash()148 mutex_enter(&zv->zv_state_lock); in zvol_find_by_name_hash()159 mutex_exit(&zv->zv_state_lock); in zvol_find_by_name_hash()318 ASSERT(zv == NULL || (MUTEX_HELD(&zv->zv_state_lock) && in zvol_set_volsize()327 mutex_exit(&zv->zv_state_lock); in zvol_set_volsize()360 mutex_exit(&zv->zv_state_lock); in zvol_set_volsize()378 mutex_exit(&zv->zv_state_lock); in zvol_set_volthreading()398 mutex_exit(&zv->zv_state_lock); in zvol_set_ro()766 ASSERT(MUTEX_HELD(&zv->zv_state_lock)); in zvol_setup_zv()[all …]
253 mutex_enter(&zv->zv_state_lock); in zvol_geom_open()269 mutex_exit(&zv->zv_state_lock); in zvol_geom_open()271 mutex_enter(&zv->zv_state_lock); in zvol_geom_open()281 ASSERT(MUTEX_HELD(&zv->zv_state_lock)); in zvol_geom_open()294 mutex_exit(&zv->zv_state_lock); in zvol_geom_open()313 ASSERT(MUTEX_HELD(&zv->zv_state_lock)); in zvol_geom_open()343 mutex_exit(&zv->zv_state_lock); in zvol_geom_open()365 mutex_enter(&zv->zv_state_lock); in zvol_geom_close()387 mutex_exit(&zv->zv_state_lock); in zvol_geom_close()389 mutex_enter(&zv->zv_state_lock); in zvol_geom_close()[all …]
728 mutex_enter(&zv->zv_state_lock); in zvol_open()731 mutex_exit(&zv->zv_state_lock); in zvol_open()743 mutex_exit(&zv->zv_state_lock); in zvol_open()745 mutex_enter(&zv->zv_state_lock); in zvol_open()758 ASSERT(MUTEX_HELD(&zv->zv_state_lock)); in zvol_open()791 mutex_exit(&zv->zv_state_lock); in zvol_open()829 mutex_exit(&zv->zv_state_lock); in zvol_open()859 mutex_enter(&zv->zv_state_lock); in zvol_release()868 mutex_exit(&zv->zv_state_lock); in zvol_release()870 mutex_enter(&zv->zv_state_lock); in zvol_release()[all …]
54 kmutex_t zv_state_lock; /* protects zvol_state_t */ member