Home
last modified time | relevance | path

Searched refs:nreaders (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Drwlock.c410 int nreaders; in rw_exit_wakeup() local
480 (nreaders = rw_readers_to_wake(ts)) > 0) { in rw_exit_wakeup()
485 new = nreaders * RW_READ_LOCK; in rw_exit_wakeup()
486 if (ts->ts_waiters > nreaders) in rw_exit_wakeup()
492 turnstile_wakeup(ts, TS_READER_Q, nreaders, NULL); in rw_exit_wakeup()
577 int nreaders = rw_readers_to_wake(ts); in rw_downgrade() local
578 if (nreaders > 0) { in rw_downgrade()
579 uintptr_t delta = nreaders * RW_READ_LOCK; in rw_downgrade()
580 if (ts->ts_waiters == nreaders) in rw_downgrade()
584 turnstile_wakeup(ts, TS_READER_Q, nreaders, NULL); in rw_downgrade()
/illumos-gate/usr/src/head/
H A Dthread_db.h292 int nreaders; /* number of readers, -1 if writer */ member
/illumos-gate/usr/src/lib/libc_db/common/
H A Dthread_db.c2577 si_p->si_state.nreaders = -1; in sync_get_info_common()
2586 si_p->si_state.nreaders = (rwstate & URW_READERS_MASK); in sync_get_info_common()