Searched refs:spa_proc_lock (Results 1 – 3 of 3) sorted by relevance
423 kmutex_t spa_proc_lock; /* protects spa_proc* */ member
1701 CALLB_CPR_INIT(&cprinfo, &spa->spa_proc_lock, callb_generic_cpr, in spa_thread()1742 mutex_enter(&spa->spa_proc_lock); in spa_thread()1750 cv_wait(&spa->spa_proc_cv, &spa->spa_proc_lock); in spa_thread()1751 CALLB_CPR_SAFE_END(&cprinfo, &spa->spa_proc_lock); in spa_thread()1793 mutex_enter(&spa->spa_proc_lock); in spa_activate()1806 &spa->spa_proc_lock); in spa_activate()1820 mutex_exit(&spa->spa_proc_lock); in spa_activate()1982 mutex_enter(&spa->spa_proc_lock); in spa_deactivate()1989 cv_wait(&spa->spa_proc_cv, &spa->spa_proc_lock); in spa_deactivate()1995 mutex_exit(&spa->spa_proc_lock); in spa_deactivate()
762 mutex_init(&spa->spa_proc_lock, NULL, MUTEX_DEFAULT, NULL); in spa_add()952 mutex_destroy(&spa->spa_proc_lock); in spa_remove()