Searched refs:tc_lock (Results 1 - 13 of 13) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | txg_impl.h | 56 * The tx_cpu contains two locks, the tc_lock and tc_open_lock. 57 * The tc_lock is used to protect all members of the tx_cpu structure with 72 kmutex_t tc_lock; /* protects the rest of this struct */ member in struct:tx_cpu
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | turnstile.c | 171 disp_lock_t tc_lock; /* lock for this hash chain */ member in struct:turnstile_chain 185 ASSERT(DISP_LOCK_HELD(&TURNSTILE_CHAIN(ts->ts_sobj).tc_lock)); 287 disp_lock_enter(&tc->tc_lock); 302 disp_lock_exit(&TURNSTILE_CHAIN(sobj).tc_lock); 417 ASSERT(DISP_LOCK_HELD(&tc->tc_lock)); 459 THREAD_SLEEP(t, &tc->tc_lock); 664 ASSERT(DISP_LOCK_HELD(&tc->tc_lock)); 665 ASSERT(t->t_lockp == &tc->tc_lock); 723 ASSERT(DISP_LOCK_HELD(&tc->tc_lock)); 737 CL_WAKEUP(t); /* previous thread lock, tc_lock, no [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | txg.c | 128 mutex_init(&tx->tx_cpu[c].tc_lock, NULL, MUTEX_DEFAULT, NULL); 174 mutex_destroy(&tx->tx_cpu[c].tc_lock); 301 mutex_enter(&tc->tc_lock); 303 mutex_exit(&tc->tc_lock); 316 ASSERT(!MUTEX_HELD(&tc->tc_lock)); 326 mutex_enter(&tc->tc_lock); 328 mutex_exit(&tc->tc_lock); 337 mutex_enter(&tc->tc_lock); 341 mutex_exit(&tc->tc_lock); 384 mutex_enter(&tc->tc_lock); [all...] |
/illumos-gate/usr/src/uts/common/io/nge/ |
H A D | nge_tx.c | 169 if (mutex_tryenter(srp->tc_lock) == 0) 172 mutex_enter(srp->tc_lock); 189 mutex_exit(srp->tc_lock); 239 mutex_exit(srp->tc_lock); 256 mutex_exit(srp->tc_lock);
|
H A D | nge_main.c | 825 mutex_init(srp->tc_lock, NULL, MUTEX_DRIVER, 1074 mutex_enter(srp->tc_lock); 1081 mutex_exit(srp->tc_lock); 1094 mutex_exit(srp->tc_lock); 2278 mutex_destroy(srp->tc_lock);
|
H A D | nge.h | 563 kmutex_t tc_lock[1]; member in struct:send_ring
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_send.c | 106 ASSERT(mutex_owned(srp->tc_lock)); 231 if (mutex_tryenter(srp->tc_lock) == 0) 234 mutex_exit(srp->tc_lock);
|
H A D | bge_main2.c | 225 ASSERT(mutex_owned(srp->tc_lock)); 401 mutex_enter(bgep->send[ring].tc_lock); 414 mutex_exit(bgep->send[ring].tc_lock); 2411 mutex_init(srp->tc_lock, NULL, MUTEX_DRIVER, 2473 mutex_destroy(srp->tc_lock);
|
H A D | bge_impl.h | 554 * The tc_lock must be held while manipulating the s/w consumer 557 kmutex_t tc_lock[1]; /* serialize recycle */ member in struct:send_ring 829 * protocol data and <tc_lock> for send-buffer recycling. 839 * genlock >>> rx_lock >>> rf_lock >>> tx_lock >>> tc_lock. 842 * ascending order (send[0].tc_lock >>> send[1].tc_lock), etc. 855 * tc_lock[i] (bge_recycle())
|
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge_rxtx.c | 427 mutex_enter(rgep->tc_lock); 446 mutex_exit(rgep->tc_lock); 465 mutex_exit(rgep->tc_lock);
|
H A D | rge.h | 452 kmutex_t tc_lock[1]; /* send recycle access */ member in struct:rge
|
H A D | rge_main.c | 1470 mutex_destroy(rgep->tc_lock); 1764 mutex_init(rgep->tc_lock, NULL, MUTEX_DRIVER,
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | sobj.c | 694 disp_lock_t tc_lock; /* lock for this hash chain */ member in struct:turnstile_chain
|
Completed in 125 milliseconds