Searched refs:sleepq (Results 1 - 13 of 13) sorted by relevance
/illumos-gate/usr/src/uts/common/sys/ |
H A D | sleepq.h | 41 typedef struct sleepq { struct
|
H A D | turnstile.h | 35 #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 D | thread.h | 111 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 D | Makefile | 521 sleepq.h \
|
/illumos-gate/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_svc.c | 1007 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 D | rdc_io.h | 437 rdc_sleepq_t *sleepq; /* head of waiting tasks */ member in struct:rdc_group
|
H A D | rdc_clnt.c | 1107 if (krdc->group->sleepq) {
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sleepq.c | 35 #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 D | semaphore.c | 47 #include <sys/sleepq.h>
|
H A D | condvar.c | 37 #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 D | rdc.c | 354 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 D | sobj.c | 31 #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 D | lwp_sobj.c | 55 #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