Searched refs:spa_proc_lock (Results 1 – 3 of 3) sorted by relevance
377 kmutex_t spa_proc_lock; /* protects spa_proc* */ member
1125 CALLB_CPR_INIT(&cprinfo, &spa->spa_proc_lock, callb_generic_cpr, in spa_thread()1164 mutex_enter(&spa->spa_proc_lock); in spa_thread()1172 cv_wait(&spa->spa_proc_cv, &spa->spa_proc_lock); in spa_thread()1173 CALLB_CPR_SAFE_END(&cprinfo, &spa->spa_proc_lock); in spa_thread()1203 mutex_enter(&spa->spa_proc_lock); in spa_activate()1216 &spa->spa_proc_lock); in spa_activate()1230 mutex_exit(&spa->spa_proc_lock); in spa_activate()1368 mutex_enter(&spa->spa_proc_lock); in spa_deactivate()1375 cv_wait(&spa->spa_proc_cv, &spa->spa_proc_lock); in spa_deactivate()1381 mutex_exit(&spa->spa_proc_lock); in spa_deactivate()
648 mutex_init(&spa->spa_proc_lock, NULL, MUTEX_DEFAULT, NULL); in spa_add()838 mutex_destroy(&spa->spa_proc_lock); in spa_remove()