Searched refs:tx_sync_lock (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | txg.c | 145 mutex_init(&tx->tx_sync_lock, NULL, MUTEX_DEFAULT, NULL); in txg_init() 167 mutex_destroy(&tx->tx_sync_lock); in txg_fini() 202 mutex_enter(&tx->tx_sync_lock); in txg_sync_start() 221 mutex_exit(&tx->tx_sync_lock); in txg_sync_start() 227 CALLB_CPR_INIT(cpr, &tx->tx_sync_lock, callb_generic_cpr, FTAG); in txg_thread_enter() 228 mutex_enter(&tx->tx_sync_lock); in txg_thread_enter() 248 (void) cv_timedwait_idle(cv, &tx->tx_sync_lock, in txg_thread_wait() 251 cv_wait_idle(cv, &tx->tx_sync_lock); in txg_thread_wait() 254 CALLB_CPR_SAFE_END(cpr, &tx->tx_sync_lock); in txg_thread_wait() 279 mutex_enter(&tx->tx_sync_lock); in txg_sync_stop() [all …]
|
H A D | dbuf.c | 3923 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 | 92 kmutex_t tx_sync_lock; /* protects the rest of this struct */ member
|