Searched refs:tx_sync_lock (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | txg.c | 141 mutex_init(&tx->tx_sync_lock, NULL, MUTEX_DEFAULT, NULL); in txg_init() 163 mutex_destroy(&tx->tx_sync_lock); in txg_fini() 198 mutex_enter(&tx->tx_sync_lock); in txg_sync_start() 217 mutex_exit(&tx->tx_sync_lock); in txg_sync_start() 223 CALLB_CPR_INIT(cpr, &tx->tx_sync_lock, callb_generic_cpr, FTAG); in txg_thread_enter() 224 mutex_enter(&tx->tx_sync_lock); in txg_thread_enter() 244 (void) cv_timedwait(cv, &tx->tx_sync_lock, in txg_thread_wait() 247 cv_wait(cv, &tx->tx_sync_lock); in txg_thread_wait() 249 CALLB_CPR_SAFE_END(cpr, &tx->tx_sync_lock); in txg_thread_wait() 274 mutex_enter(&tx->tx_sync_lock); in txg_sync_stop() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | txg_impl.h | 92 kmutex_t tx_sync_lock; /* protects the rest of this struct */ member
|