Searched refs:spa_proc_lock (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa_impl.h366 kmutex_t spa_proc_lock; /* protects spa_proc* */ member in struct:spa
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa.c1084 CALLB_CPR_INIT(&cprinfo, &spa->spa_proc_lock, callb_generic_cpr,
1123 mutex_enter(&spa->spa_proc_lock);
1131 cv_wait(&spa->spa_proc_cv, &spa->spa_proc_lock);
1132 CALLB_CPR_SAFE_END(&cprinfo, &spa->spa_proc_lock);
1138 CALLB_CPR_EXIT(&cprinfo); /* drops spa_proc_lock */
1162 mutex_enter(&spa->spa_proc_lock);
1174 &spa->spa_proc_lock);
1187 mutex_exit(&spa->spa_proc_lock);
1287 mutex_enter(&spa->spa_proc_lock);
1294 cv_wait(&spa->spa_proc_cv, &spa->spa_proc_lock);
[all...]
H A Dspa_misc.c632 mutex_init(&spa->spa_proc_lock, NULL, MUTEX_DEFAULT, NULL);
843 mutex_destroy(&spa->spa_proc_lock);

Completed in 46 milliseconds