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()
208 mtx_lock(&sc->tc_lock); in set_sched_class_params()
225 mtx_lock(&sc->tc_lock); in set_sched_class_params()
258 mtx_lock(&sc->tc_lock); in update_tx_sched()
279 mtx_lock(&sc->tc_lock); in update_tx_sched()
298 mtx_unlock(&sc->tc_lock); in update_tx_sched()
327 mtx_lock(&sc->tc_lock); in bind_txq_to_traffic_class()
371 mtx_lock(&sc->tc_lock); in bind_txq_to_traffic_class()
518 mtx_lock(&sc->tc_lock); in t4_reserve_cl_rl_kbps()
582 mtx_lock(&sc->tc_lock); in t4_release_cl_rl()
[all …]
H A Dadapter.h1022 struct mtx tc_lock; member
/freebsd/sys/kern/
H A Dsubr_turnstile.c564 mtx_lock_spin(&tc->tc_lock); in turnstile_chain_lock()
574 mtx_lock_spin(&tc->tc_lock); in turnstile_trywait()
600 mtx_lock_spin(&tc->tc_lock); in turnstile_lock()
603 mtx_unlock_spin(&tc->tc_lock); in turnstile_lock()
622 mtx_unlock_spin(&tc->tc_lock); in turnstile_unlock()
644 mtx_unlock_spin(&tc->tc_lock); in turnstile_cancel()
659 mtx_assert(&tc->tc_lock, MA_OWNED); in turnstile_lookup()
677 mtx_unlock_spin(&tc->tc_lock); in turnstile_chain_unlock()
728 mtx_unlock_spin(&tc->tc_lock); in turnstile_claim()
756 mtx_assert(&tc->tc_lock, MA_OWNED); in turnstile_wait()
[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.c177 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()
424 cv_wait(&tc->tc_cv[g], &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.c166 mtx_lock(&sc->tc_lock); in init_toepcb()
175 mtx_unlock(&sc->tc_lock); in init_toepcb()