Searched refs:sleepq (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Dsleepq.h41 typedef struct sleepq { struct
H A Dturnstile.h35 #include <sys/sleepq.h>
43 #define TS_WRITER_Q 0 /* writer sleepq (exclusive access to sobj) */
44 #define TS_READER_Q 1 /* reader sleepq (shared access to sobj) */
H A Dthread.h111 struct _kthread *t_link; /* dispq, sleepq, and free queue link */
288 struct _kthread *t_priforw; /* sleepq per-priority sublist */
291 struct sleepq *t_sleepq; /* sleep queue thread is waiting on */
370 #define T_WAITCVSEM 0x0200 /* waiting for a lwp_cv or lwp_sema on sleepq */
573 * cpu_lock > sleepq locks > run queue locks
H A DMakefile521 sleepq.h \
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_svc.c1007 if (group->sleepq) {
1117 if (group->sleepq &&
1118 (group->sleepq->seq == group->seq)) {
2198 * Allocate a new sleepq element.
2217 * free memory/resources used by a sleepq element.
2250 if (group->sleepq == NULL) {
2251 group->sleepq = sq;
2253 if (sq->seq == group->sleepq->seq) {
2258 if (RDC_INFRONT(sq->seq, group->sleepq->seq)) {
2259 sq->next = group->sleepq;
[all...]
H A Drdc_io.h437 rdc_sleepq_t *sleepq; /* head of waiting tasks */ member in struct:rdc_group
H A Drdc_clnt.c1107 if (krdc->group->sleepq) {
/illumos-gate/usr/src/uts/common/os/
H A Dsleepq.c35 #include <sys/sleepq.h>
59 * There are three interesting operations on a sleepq list: inserting
73 * important to do this since a sleepq may contain thousands of
77 * t_sleepq field contains a pointer to the sleepq on which a thread
78 * is waiting (or NULL if it's not on a sleepq). This is used to
79 * determine if the given thread is on the given sleepq without
139 ASSERT(THREAD_LOCK_HELD(t)); /* holding the lock on the sleepq */
173 ASSERT(THREAD_LOCK_HELD(t)); /* thread locked via sleepq */
199 ASSERT(THREAD_LOCK_HELD(t)); /* thread locked via sleepq */
H A Dsemaphore.c47 #include <sys/sleepq.h>
H A Dcondvar.c37 #include <sys/sleepq.h>
48 * the number becomes higher than that, we look at the sleepq to
76 panic("cv_unsleep: thread %p not on sleepq %p",
/illumos-gate/usr/src/cmd/mdb/common/modules/rdc/
H A Drdc.c354 mdb_printf("sleepq: 0x%p\n", group->sleepq);
359 if (group->sleepq) {
360 rdc_sleepq((uintptr_t)group->sleepq, DCMD_ADDRSPEC,
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dsobj.c31 #include <sys/sleepq.h>
146 mdb_warn("failed to read sleepq");
179 * Get the address of the first thread on the next sleepq in the
180 * sleepq hash. If ww_compare is set, ww_sleepq_ndx is already
181 * set to the appropriate sleepq index for the desired cv.
192 * of its sleepq, we're done walking.
200 * woken up since we took a snapshot of the sleepq (i.e. we are probably
202 * anymore either, so just skip to the next sleepq index.
215 * Set ww_thr to the address of the next thread in the sleepq list.
235 * on the current sleepq
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dlwp_sobj.c55 #include <sys/sleepq.h>
1453 THREAD_TRANSITION(tp); /* drops sleepq lock */
2846 panic("lwp_unsleep: thread %p not on sleepq", (void *)t);

Completed in 166 milliseconds