Lines Matching refs:vdev_trim_lock
296 ASSERT(MUTEX_HELD(&vd->vdev_trim_lock));
533 mutex_enter(&vd->vdev_trim_lock);
557 mutex_exit(&vd->vdev_trim_lock);
561 mutex_exit(&vd->vdev_trim_lock);
966 mutex_enter(&vd->vdev_trim_lock);
981 * Drop the vdev_trim_lock while we sync out the txg since it's
987 mutex_exit(&vd->vdev_trim_lock);
989 mutex_enter(&vd->vdev_trim_lock);
993 mutex_exit(&vd->vdev_trim_lock);
999 * Initiates a manual TRIM for the vdev_t. Callers must hold vdev_trim_lock,
1005 ASSERT(MUTEX_HELD(&vd->vdev_trim_lock));
1025 ASSERT(MUTEX_HELD(&vd->vdev_trim_lock));
1028 cv_wait(&vd->vdev_trim_cv, &vd->vdev_trim_lock);
1047 mutex_enter(&vd->vdev_trim_lock);
1049 mutex_exit(&vd->vdev_trim_lock);
1058 * to exit. The caller must hold vdev_trim_lock and must not be writing to
1066 ASSERT(MUTEX_HELD(&vd->vdev_trim_lock));
1097 mutex_enter(&vd->vdev_trim_lock);
1099 mutex_exit(&vd->vdev_trim_lock);
1159 mutex_enter(&vd->vdev_trim_lock);
1187 mutex_exit(&vd->vdev_trim_lock);
1612 mutex_enter(&vd->vdev_trim_lock);
1614 mutex_exit(&vd->vdev_trim_lock);
1628 mutex_enter(&vd->vdev_trim_lock);
1638 * Drop the vdev_trim_lock while we sync out the txg since it's
1645 mutex_exit(&vd->vdev_trim_lock);
1647 mutex_enter(&vd->vdev_trim_lock);
1666 mutex_exit(&vd->vdev_trim_lock);
1700 mutex_enter(&vd->vdev_trim_lock);
1710 mutex_exit(&vd->vdev_trim_lock);