Home
last modified time | relevance | path

Searched refs:tx_sync_lock (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dtxg.c143 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 Ddbuf.c3897 ASSERT(!MUTEX_HELD(&dp->dp_tx.tx_sync_lock)); in dbuf_hold_impl()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dtxg_impl.h91 kmutex_t tx_sync_lock; /* protects the rest of this struct */ member