Lines Matching refs:t_state
572 ASSERT(t == curthread || t->t_state == TS_FREE || t->t_procp == &p0); in thread_rele()
634 t->t_state = TS_ZOMB; /* set zombie thread */ in thread_exit()
730 ASSERT(t != &t0 && t->t_state == TS_FREE); in thread_free()
963 ASSERT(t->t_state == TS_FREE); in reapq_move_lq_to_tq()
1002 t->t_state = TS_FREE; in reapq_add()
1088 ttoproc(t)->p_agenttp == curthread || t->t_state == TS_STOPPED); in removectx()
1235 if (t->t_state == TS_SLEEP) { in setrun_locked()
1240 } else if (t->t_state & (TS_RUN | TS_ONPROC)) { in setrun_locked()
1245 } else if (t->t_state == TS_WAIT) { in setrun_locked()
1247 } else if (t->t_state == TS_STOPPED) { in setrun_locked()
1567 ttoproc(t)->p_agenttp == curthread || t->t_state == TS_STOPPED); in tsd_agent_get()
1589 ttoproc(t)->p_agenttp == curthread || t->t_state == TS_STOPPED); in tsd_agent_set()
1773 state = t->t_state; in thread_change_epri()
1830 state = t->t_state; in thread_change_pri()