Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/os/
H A Dturnstile.c171 disp_lock_t tc_lock; /* lock for this hash chain */ member
185 ASSERT(DISP_LOCK_HELD(&TURNSTILE_CHAIN(ts->ts_sobj).tc_lock)); in turnstile_pi_inherit()
287 disp_lock_enter(&tc->tc_lock); in turnstile_lookup()
302 disp_lock_exit(&TURNSTILE_CHAIN(sobj).tc_lock); in turnstile_exit()
417 ASSERT(DISP_LOCK_HELD(&tc->tc_lock)); in turnstile_block()
459 THREAD_SLEEP(t, &tc->tc_lock); in turnstile_block()
664 ASSERT(DISP_LOCK_HELD(&tc->tc_lock)); in turnstile_dequeue()
665 ASSERT(t->t_lockp == &tc->tc_lock); in turnstile_dequeue()
723 ASSERT(DISP_LOCK_HELD(&tc->tc_lock)); in turnstile_wakeup()
754 disp_lock_exit(&tc->tc_lock); in turnstile_wakeup()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dtxg.c175 mutex_destroy(&tx->tx_cpu[c].tc_lock); in txg_fini()
302 mutex_enter(&tc->tc_lock); in txg_hold_open()
304 mutex_exit(&tc->tc_lock); in txg_hold_open()
317 ASSERT(!MUTEX_HELD(&tc->tc_lock)); in txg_rele_to_quiesce()
327 mutex_enter(&tc->tc_lock); in txg_register_callbacks()
329 mutex_exit(&tc->tc_lock); in txg_register_callbacks()
338 mutex_enter(&tc->tc_lock); in txg_rele_to_sync()
342 mutex_exit(&tc->tc_lock); in txg_rele_to_sync()
385 mutex_enter(&tc->tc_lock); in txg_quiesce()
387 cv_wait(&tc->tc_cv[g], &tc->tc_lock); in txg_quiesce()
[all …]
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_tx.c169 if (mutex_tryenter(srp->tc_lock) == 0) in nge_tx_recycle()
172 mutex_enter(srp->tc_lock); in nge_tx_recycle()
189 mutex_exit(srp->tc_lock); in nge_tx_recycle()
239 mutex_exit(srp->tc_lock); in nge_tx_recycle()
256 mutex_exit(srp->tc_lock); in nge_tx_recycle()
H A Dnge_main.c825 mutex_init(srp->tc_lock, NULL, MUTEX_DRIVER, in nge_init_ring_param_lock()
1074 mutex_enter(srp->tc_lock); in nge_reset_dev()
1081 mutex_exit(srp->tc_lock); in nge_reset_dev()
1094 mutex_exit(srp->tc_lock); in nge_reset_dev()
2278 mutex_destroy(srp->tc_lock); in nge_unattach()
H A Dnge.h563 kmutex_t tc_lock[1]; member
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dtxg_impl.h72 kmutex_t tc_lock; /* protects the rest of this struct */ member
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_send.c106 ASSERT(mutex_owned(srp->tc_lock)); in bge_recycle_ring()
231 if (mutex_tryenter(srp->tc_lock) == 0) in bge_recycle()
234 mutex_exit(srp->tc_lock); in bge_recycle()
H A Dbge_main2.c195 ASSERT(mutex_owned(srp->tc_lock)); in bge_reinit_send_ring()
371 mutex_enter(bgep->send[ring].tc_lock); in bge_reset()
384 mutex_exit(bgep->send[ring].tc_lock); in bge_reset()
2397 mutex_init(srp->tc_lock, NULL, MUTEX_DRIVER,
2459 mutex_destroy(srp->tc_lock);
H A Dbge_impl.h557 kmutex_t tc_lock[1]; /* serialize recycle */ member
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_rxtx.c427 mutex_enter(rgep->tc_lock); in rge_send_recycle()
446 mutex_exit(rgep->tc_lock); in rge_send_recycle()
465 mutex_exit(rgep->tc_lock); in rge_send_recycle()
H A Drge.h452 kmutex_t tc_lock[1]; /* send recycle access */ member
H A Drge_main.c1470 mutex_destroy(rgep->tc_lock); in rge_unattach()
1764 mutex_init(rgep->tc_lock, NULL, MUTEX_DRIVER, in rge_attach()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dsobj.c694 disp_lock_t tc_lock; /* lock for this hash chain */ member