Home
last modified time | relevance | path

Searched refs:zv_state_lock (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzvol.c138 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 …]
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzvol_os.c253 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 …]
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzvol_os.c728 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 …]
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzvol_impl.h54 kmutex_t zv_state_lock; /* protects zvol_state_t */ member