Searched refs:spa_proc_lock (Results 1 – 3 of 3) sorted by relevance
251 kmutex_t spa_proc_lock; /* protects spa_proc* */ member
1013 CALLB_CPR_INIT(&cprinfo, &spa->spa_proc_lock, callb_generic_cpr, in spa_thread()1056 mutex_enter(&spa->spa_proc_lock); in spa_thread()1064 cv_wait(&spa->spa_proc_cv, &spa->spa_proc_lock); in spa_thread()1065 CALLB_CPR_SAFE_END(&cprinfo, &spa->spa_proc_lock); in spa_thread()1094 mutex_enter(&spa->spa_proc_lock); in spa_activate()1107 &spa->spa_proc_lock); in spa_activate()1121 mutex_exit(&spa->spa_proc_lock); in spa_activate()1201 mutex_enter(&spa->spa_proc_lock); in spa_deactivate()1208 cv_wait(&spa->spa_proc_cv, &spa->spa_proc_lock); in spa_deactivate()1214 mutex_exit(&spa->spa_proc_lock); in spa_deactivate()
710 mutex_init(&spa->spa_proc_lock, NULL, MUTEX_DEFAULT, NULL); in spa_add()925 mutex_destroy(&spa->spa_proc_lock); in spa_remove()