Home
last modified time | relevance | path

Searched refs:t_wchan (Results 1 – 18 of 18) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dsleepq.c179 t->t_wchan = NULL; in sleepq_unsleep()
225 if (tp->t_wchan == chan) { in sleepq_wakeone_chan()
229 tp->t_wchan = NULL; in sleepq_wakeone_chan()
256 if (tp->t_wchan == chan) { in sleepq_wakeall_chan()
260 tp->t_wchan = NULL; in sleepq_wakeall_chan()
H A Dsemaphore.c77 ASSERT(curthread->t_wchan == NULL); \
81 curthread->t_wchan = (caddr_t)s; \
182 s = (sema_impl_t *)t->t_wchan; in sema_unsleep()
189 t->t_wchan = NULL; in sema_unsleep()
213 if ((sp = (ksema_t *)t->t_wchan) != NULL) { in sema_change_pri()
306 tp->t_wchan = NULL; in sema_p_sig()
354 tp->t_wchan = NULL; in sema_v()
H A Dturnstile.c452 ASSERT(t->t_wchan0 == NULL && t->t_wchan == NULL); in turnstile_block()
460 t->t_wchan = sobj; in turnstile_block()
491 (owner = SOBJ_OWNER(t->t_sobj_ops, t->t_wchan)) != NULL) { in turnstile_block()
504 if (t->t_wchan == (void *)mp) in turnstile_block()
571 kmutex_t *upi_lock = (kmutex_t *)t->t_wchan; in turnstile_block()
709 t->t_wchan = NULL; in turnstile_dequeue()
H A Dcondvar.c71 condvar_impl_t *cvp = (condvar_impl_t *)t->t_wchan; in cv_unsleep()
93 condvar_impl_t *cvp = (condvar_impl_t *)t->t_wchan; in cv_change_pri()
150 ASSERT(t->t_wchan0 == NULL && t->t_wchan == NULL); in cv_block()
155 t->t_wchan = (caddr_t)cvp; in cv_block()
H A Dsunpm.c2861 (mp = (kmutex_t *)owner->t_wchan) && in pm_blocked_by_us()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dsobj.c209 if (thr.t_wchan == NULL) { in wchan_walk_step()
224 if (ww->ww_compare == (uintptr_t)thr.t_wchan) in wchan_walk_step()
238 if (ww->ww_seen[i] == thr.t_wchan) in wchan_walk_step()
250 ww->ww_seen[ww->ww_seen_ndx++] = thr.t_wchan; in wchan_walk_step()
252 ww->ww_seen[ww->ww_seen_size - 1] = thr.t_wchan; in wchan_walk_step()
256 return (wsp->walk_callback((uintptr_t)thr.t_wchan, in wchan_walk_step()
H A Dthread.c520 t.t_wchan, t.t_ts, t.t_prioinv, stbuf); in thread()
716 addr, t.t_procp, t.t_lwp, t.t_cid, t.t_pri, t.t_wchan); in threadlist()
H A Dgcore.c1024 psp->pr_wchan = (uintptr_t)t->t_wchan; in gcore_prgetlwpsinfo()
/illumos-gate/usr/src/uts/common/disp/
H A Dshuttle.c52 ASSERT(t->t_wchan0 == (caddr_t)1 && t->t_wchan == NULL); in shuttle_unsleep()
H A Dthread.c728 t->t_wchan = NULL; in thread_free()
1447 ASSERT(t->t_wchan0 == NULL && t->t_wchan == NULL); in setrun_locked()
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl_quiesce.c317 (t)->t_wchan != NULL && \
/illumos-gate/usr/src/uts/common/sys/
H A Dthread.h139 #define t_wchan t_lwpchan.lc_wchan macro
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_quiesce.c497 (t)->t_wchan != NULL && \
/illumos-gate/usr/src/uts/i86pc/io/dr/
H A Ddr_quiesce.c519 (t)->t_wchan != NULL && \
/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Ddr_quiesce.c520 (t)->t_wchan != NULL && \
/illumos-gate/usr/src/uts/common/syscall/
H A Dlwp_sobj.c1449 tp->t_wchan = NULL; in lwp_release()
1480 tp->t_wchan = NULL; in lwp_release_all()
2313 tp->t_wchan = NULL; in lwp_rwlock_release()
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprsubr.c180 if (t->t_wchan == (caddr_t)&p->p_holdlwps && in prchoose()
3297 psp->pr_wchan = (uintptr_t)t->t_wchan; in prgetlwpsinfo()
H A Dprioctl.c3383 psp->pr_wchan = t->t_wchan; in oprgetpsinfo()