Home
last modified time | relevance | path

Searched refs:vr_io_lock (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_rebuild.c488 mutex_enter(&vr->vr_io_lock); in vdev_rebuild_cb()
508 mutex_exit(&vr->vr_io_lock); in vdev_rebuild_cb()
580 mutex_enter(&vr->vr_io_lock); in vdev_rebuild_range()
584 cv_wait(&vr->vr_io_cv, &vr->vr_io_lock); in vdev_rebuild_range()
587 mutex_exit(&vr->vr_io_lock); in vdev_rebuild_range()
606 mutex_enter(&vr->vr_io_lock); in vdev_rebuild_range()
608 mutex_exit(&vr->vr_io_lock); in vdev_rebuild_range()
786 mutex_init(&vr->vr_io_lock, NULL, MUTEX_DEFAULT, NULL); in vdev_rebuild_thread()
916 mutex_enter(&vr->vr_io_lock); in vdev_rebuild_thread()
918 cv_wait(&vr->vr_io_cv, &vr->vr_io_lock); in vdev_rebuild_thread()
[all …]
/freebsd/sys/contrib/openzfs/include/sys/
H A Dvdev_rebuild.h69 kmutex_t vr_io_lock; /* inflight IO lock */ member