Home
last modified time | relevance | path

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

/freebsd/sys/dev/cxgbe/
H A Dt4_sched.c184 mtx_lock(&sc->tc_lock); in set_sched_class_params()
199 mtx_unlock(&sc->tc_lock); in set_sched_class_params()
208 mtx_lock(&sc->tc_lock); in set_sched_class_params()
213 mtx_unlock(&sc->tc_lock); in set_sched_class_params()
225 mtx_lock(&sc->tc_lock); in set_sched_class_params()
243 mtx_unlock(&sc->tc_lock); in set_sched_class_params()
258 mtx_lock(&sc->tc_lock); in update_tx_sched()
263 MPASS(mtx_owned(&sc->tc_lock)); in update_tx_sched()
266 mtx_unlock(&sc->tc_lock); in update_tx_sched()
270 mtx_lock(&sc->tc_lock); in update_tx_sched()
[all...]
H A Dadapter.h1023 struct mtx tc_lock; member
/freebsd/sys/kern/
H A Dsubr_turnstile.c133 struct mtx tc_lock; /* Spin lock for this chain. */ member
388 mtx_init(&turnstile_chains[i].tc_lock, "turnstile chain", in init_turnstiles()
565 mtx_lock_spin(&tc->tc_lock); in turnstile_chain_lock()
575 mtx_lock_spin(&tc->tc_lock); in turnstile_trywait()
601 mtx_lock_spin(&tc->tc_lock); in turnstile_lock()
604 mtx_unlock_spin(&tc->tc_lock); in turnstile_lock()
623 mtx_unlock_spin(&tc->tc_lock); in turnstile_unlock()
645 mtx_unlock_spin(&tc->tc_lock); in turnstile_cancel()
660 mtx_assert(&tc->tc_lock, MA_OWNED); in turnstile_lookup()
678 mtx_unlock_spin(&tc->tc_lock); in turnstile_chain_unlock()
[all …]
H A Dkern_tc.c100 static struct mtx tc_lock; variable
1224 mtx_lock(&tc_lock); in tc_init()
1252 mtx_unlock(&tc_lock); in tc_init()
1504 mtx_lock(&tc_lock); in sysctl_kern_timecounter_hardware()
1507 mtx_unlock(&tc_lock); in sysctl_kern_timecounter_hardware()
1513 mtx_lock(&tc_lock); in sysctl_kern_timecounter_hardware()
1517 mtx_unlock(&tc_lock); in sysctl_kern_timecounter_hardware()
1539 mtx_unlock(&tc_lock); in sysctl_kern_timecounter_hardware()
1559 mtx_lock(&tc_lock); in sysctl_kern_timecounter_choice()
1565 mtx_unlock(&tc_lock); in sysctl_kern_timecounter_choice()
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dtxg.c131 mutex_init(&tx->tx_cpu[c].tc_lock, NULL, MUTEX_DEFAULT, NULL); in txg_init()
177 mutex_destroy(&tx->tx_cpu[c].tc_lock); in txg_fini()
334 mutex_enter(&tc->tc_lock); in txg_hold_open()
336 mutex_exit(&tc->tc_lock); in txg_hold_open()
349 ASSERT(!MUTEX_HELD(&tc->tc_lock)); in txg_rele_to_quiesce()
359 mutex_enter(&tc->tc_lock); in txg_register_callbacks()
361 mutex_exit(&tc->tc_lock); in txg_register_callbacks()
370 mutex_enter(&tc->tc_lock); in txg_rele_to_sync()
374 mutex_exit(&tc->tc_lock); in txg_rele_to_sync()
422 mutex_enter(&tc->tc_lock); in txg_quiesce()
[all...]
/freebsd/sys/contrib/openzfs/include/sys/
H A Dtxg_impl.h72 kmutex_t tc_lock; /* protects the rest of this struct */ member
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_tom.c172 mtx_lock(&sc->tc_lock); in init_toepcb()
181 mtx_unlock(&sc->tc_lock); in init_toepcb()