Searched refs:TS_WRITER_Q (Results 1 – 6 of 6) sorted by relevance
/titanic_50/usr/src/uts/common/os/ |
H A D | rwlock.c | 354 (void) turnstile_block(ts, TS_WRITER_Q, lp, in rw_enter_sleep() 384 kthread_t *next_writer = ts->ts_sleepq[TS_WRITER_Q].sq_first; in rw_readers_to_wake() 477 next_writer = ts->ts_sleepq[TS_WRITER_Q].sq_first; in rw_exit_wakeup() 514 turnstile_wakeup(ts, TS_WRITER_Q, 1, next_writer); in rw_exit_wakeup()
|
H A D | mutex.c | 447 (void) turnstile_block(ts, TS_WRITER_Q, lp, in mutex_vector_enter() 526 turnstile_wakeup(ts, TS_WRITER_Q, ts->ts_waiters, NULL); in mutex_vector_exit()
|
H A D | turnstile.c | 743 kthread_t *wp = ts->ts_sleepq[TS_WRITER_Q].sq_first; in turnstile_wakeup()
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | turnstile.h | 43 #define TS_WRITER_Q 0 /* writer sleepq (exclusive access to sobj) */ macro
|
/titanic_50/usr/src/uts/common/syscall/ |
H A D | lwp_sobj.c | 673 newowner = ts->ts_sleepq[TS_WRITER_Q].sq_first; in upimutex_unlock() 677 turnstile_wakeup(ts, TS_WRITER_Q, 1, newowner); in upimutex_unlock() 682 turnstile_wakeup(ts, TS_WRITER_Q, ts->ts_waiters, NULL); in upimutex_unlock() 845 error = turnstile_block(ts, TS_WRITER_Q, (upimutex_t *)upimutex, in lwp_upimutex_lock()
|
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | sobj.c | 484 q == TS_READER_Q ? "R" : q == TS_WRITER_Q ? "W" : "?"); \
|