Searched refs:vdev_trim_lock (Results 1 – 5 of 5) sorted by relevance
273 ASSERT(MUTEX_HELD(&vd->vdev_trim_lock)); in vdev_trim_change_state()483 mutex_enter(&vd->vdev_trim_lock); in vdev_trim_range()508 mutex_exit(&vd->vdev_trim_lock); in vdev_trim_range()512 mutex_exit(&vd->vdev_trim_lock); in vdev_trim_range()897 mutex_enter(&vd->vdev_trim_lock); in vdev_trim_thread()912 mutex_exit(&vd->vdev_trim_lock); in vdev_trim_thread()914 mutex_enter(&vd->vdev_trim_lock); in vdev_trim_thread()918 mutex_exit(&vd->vdev_trim_lock); in vdev_trim_thread()928 ASSERT(MUTEX_HELD(&vd->vdev_trim_lock)); in vdev_trim()947 ASSERT(MUTEX_HELD(&vd->vdev_trim_lock)); in vdev_trim_stop_wait_impl()[all …]
1296 mutex_enter(&vd->vdev_trim_lock); in spa_vdev_config_exit()1298 mutex_exit(&vd->vdev_trim_lock); in spa_vdev_config_exit()
538 mutex_init(&vd->vdev_trim_lock, NULL, MUTEX_DEFAULT, NULL); in vdev_alloc_common()955 mutex_destroy(&vd->vdev_trim_lock); in vdev_free()3417 mutex_enter(&vd->vdev_trim_lock); in vdev_online()3424 mutex_exit(&vd->vdev_trim_lock); in vdev_online()
6843 mutex_enter(&vd->vdev_trim_lock);6854 mutex_exit(&vd->vdev_trim_lock);6859 mutex_exit(&vd->vdev_trim_lock);6863 mutex_exit(&vd->vdev_trim_lock);6880 mutex_exit(&vd->vdev_trim_lock);7164 mutex_enter(&vml[c]->vdev_trim_lock);7166 mutex_exit(&vml[c]->vdev_trim_lock);
289 kmutex_t vdev_trim_lock; member