Searched refs:tx_sync_lock (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | txg.c | 143 mutex_init(&tx->tx_sync_lock, NULL, MUTEX_DEFAULT, NULL); in txg_init() 165 mutex_destroy(&tx->tx_sync_lock); in txg_fini() 200 mutex_enter(&tx->tx_sync_lock); in txg_sync_start() 219 mutex_exit(&tx->tx_sync_lock); in txg_sync_start() 225 CALLB_CPR_INIT(cpr, &tx->tx_sync_lock, callb_generic_cpr, FTAG); in txg_thread_enter() 226 mutex_enter(&tx->tx_sync_lock); in txg_thread_enter() 236 CALLB_CPR_EXIT(cpr); /* drops &tx->tx_sync_lock */ in txg_thread_exit() 246 (void) cv_timedwait_idle(cv, &tx->tx_sync_lock, in txg_thread_wait() 249 cv_wait_idle(cv, &tx->tx_sync_lock); in txg_thread_wait() 252 CALLB_CPR_SAFE_END(cpr, &tx->tx_sync_lock); in txg_thread_wait() [all...] |
H A D | dbuf.c | 3897 ASSERT(!MUTEX_HELD(&dp->dp_tx.tx_sync_lock)); in dbuf_hold_impl()
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | txg_impl.h | 91 kmutex_t tx_sync_lock; /* protects the rest of this struct */ member
|