Searched refs:spa_proc_lock (Results 1 – 3 of 3) sorted by relevance
413 kmutex_t spa_proc_lock; /* protects spa_proc* */ member
1611 CALLB_CPR_INIT(&cprinfo, &spa->spa_proc_lock, callb_generic_cpr, in spa_thread()1652 mutex_enter(&spa->spa_proc_lock); in spa_thread()1660 cv_wait(&spa->spa_proc_cv, &spa->spa_proc_lock); in spa_thread()1661 CALLB_CPR_SAFE_END(&cprinfo, &spa->spa_proc_lock); in spa_thread()1696 mutex_enter(&spa->spa_proc_lock); in spa_activate()1709 &spa->spa_proc_lock); in spa_activate()1723 mutex_exit(&spa->spa_proc_lock); in spa_activate()1882 mutex_enter(&spa->spa_proc_lock); in spa_deactivate()1889 cv_wait(&spa->spa_proc_cv, &spa->spa_proc_lock); in spa_deactivate()1895 mutex_exit(&spa->spa_proc_lock); in spa_deactivate()
709 mutex_init(&spa->spa_proc_lock, NULL, MUTEX_DEFAULT, NULL); in spa_add()898 mutex_destroy(&spa->spa_proc_lock); in spa_remove()