Home
last modified time | relevance | path

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

/f-stack/freebsd/kern/
H A Dsubr_turnstile.c566 mtx_lock_spin(&tc->tc_lock); in turnstile_chain_lock()
576 mtx_lock_spin(&tc->tc_lock); in turnstile_trywait()
602 mtx_lock_spin(&tc->tc_lock); in turnstile_lock()
605 mtx_unlock_spin(&tc->tc_lock); in turnstile_lock()
624 mtx_unlock_spin(&tc->tc_lock); in turnstile_unlock()
646 mtx_unlock_spin(&tc->tc_lock); in turnstile_cancel()
661 mtx_assert(&tc->tc_lock, MA_OWNED); in turnstile_lookup()
679 mtx_unlock_spin(&tc->tc_lock); in turnstile_chain_unlock()
730 mtx_unlock_spin(&tc->tc_lock); in turnstile_claim()
758 mtx_assert(&tc->tc_lock, MA_OWNED); in turnstile_wait()
[all …]
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dtxg.c177 mutex_destroy(&tx->tx_cpu[c].tc_lock); in txg_fini()
313 mutex_enter(&tc->tc_lock); in txg_hold_open()
315 mutex_exit(&tc->tc_lock); in txg_hold_open()
328 ASSERT(!MUTEX_HELD(&tc->tc_lock)); in txg_rele_to_quiesce()
338 mutex_enter(&tc->tc_lock); in txg_register_callbacks()
340 mutex_exit(&tc->tc_lock); in txg_register_callbacks()
349 mutex_enter(&tc->tc_lock); in txg_rele_to_sync()
353 mutex_exit(&tc->tc_lock); in txg_rele_to_sync()
400 mutex_enter(&tc->tc_lock); in txg_quiesce()
402 cv_wait(&tc->tc_cv[g], &tc->tc_lock); in txg_quiesce()
[all …]
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dtxg_impl.h72 kmutex_t tc_lock; /* protects the rest of this struct */ member