Searched refs:spa_proc_lock (Results 1 – 3 of 3) sorted by relevance
347 kmutex_t spa_proc_lock; /* protects spa_proc* */ member
1103 CALLB_CPR_INIT(&cprinfo, &spa->spa_proc_lock, callb_generic_cpr, in spa_thread()1146 mutex_enter(&spa->spa_proc_lock); in spa_thread()1154 cv_wait(&spa->spa_proc_cv, &spa->spa_proc_lock); in spa_thread()1155 CALLB_CPR_SAFE_END(&cprinfo, &spa->spa_proc_lock); in spa_thread()1184 mutex_enter(&spa->spa_proc_lock); in spa_activate()1197 &spa->spa_proc_lock); in spa_activate()1211 mutex_exit(&spa->spa_proc_lock); in spa_activate()1302 mutex_enter(&spa->spa_proc_lock); in spa_deactivate()1309 cv_wait(&spa->spa_proc_cv, &spa->spa_proc_lock); in spa_deactivate()1315 mutex_exit(&spa->spa_proc_lock); in spa_deactivate()
706 mutex_init(&spa->spa_proc_lock, NULL, MUTEX_DEFAULT, NULL); in spa_add()922 mutex_destroy(&spa->spa_proc_lock); in spa_remove()