Searched refs:spa_suspend_lock (Results 1 – 3 of 3) sorted by relevance
398 kmutex_t spa_suspend_lock; /* protects suspend_zio_root */ member
2545 mutex_enter(&spa->spa_suspend_lock); in zio_suspend()2563 mutex_exit(&spa->spa_suspend_lock); in zio_suspend()2574 mutex_enter(&spa->spa_suspend_lock); in zio_resume()2579 mutex_exit(&spa->spa_suspend_lock); in zio_resume()2591 mutex_enter(&spa->spa_suspend_lock); in zio_resume_wait()2593 cv_wait(&spa->spa_suspend_cv, &spa->spa_suspend_lock); in zio_resume_wait()2594 mutex_exit(&spa->spa_suspend_lock); in zio_resume_wait()
706 mutex_init(&spa->spa_suspend_lock, NULL, MUTEX_DEFAULT, NULL); in spa_add()909 mutex_destroy(&spa->spa_suspend_lock); in spa_remove()