Searched refs:t_state (Results 1 - 25 of 70) sorted by relevance

123

/illumos-gate/usr/src/uts/common/sys/
H A Dttcompat.h74 int t_state; /* state bits */ member in struct:__anon9124
H A Dstrtty.h75 short t_state; /* internal state */ member in struct:strtty
H A Dthread.h51 * Values that t_state may assume. Note that t_state cannot have more
123 uint_t t_state; /* thread state (protected by thread_lock) */ member in struct:_kthread
192 * Pointer to the dispatcher lock protecting t_state and state-related
358 * to give assurrance that they are consistent with t_state:
443 #define ISTOPPED(t) ((t)->t_state == TS_STOPPED && \
447 #define ISWAKEABLE(t) (((t)->t_state == TS_SLEEP && \
451 #define ISWAITING(t) ((t)->t_state == TS_WAIT)
454 #define CPR_ISTOPPED(t) ((t)->t_state == TS_STOPPED && \
465 ((t)->t_state
[all...]
H A Dldterm.h213 unsigned int t_state; /* internal state of ldterm module */ member in struct:ldterm_mod
/illumos-gate/usr/src/uts/common/io/
H A Dldterm.c701 tp->t_state = 0;
826 ctp->tp->t_state &= ~TS_IOCWAIT;
841 tp->t_state |= TS_CLOSE;
880 tp->t_state |= TS_IOCWAIT;
902 while (tp->t_state & TS_IOCWAIT) {
954 (tp->t_state & (TS_CLOSE|TS_IOCWAIT)) == (TS_CLOSE|TS_IOCWAIT)) {
958 tp->t_state &= ~TS_IOCWAIT;
1114 tp->t_state |= TS_NOCANON;
1127 if (tp->t_state & TS_MEUC) {
1137 tp->t_state
[all...]
H A Dttcompat.c205 tp->t_state = 0;
265 tp->t_state |= TS_IOCWAIT | TS_TIOCNAK;
275 while (tp->t_state & TS_IOCWAIT) {
281 if (!(tp->t_state & TS_TIOCNAK))
412 tp->t_state |= TS_W_IN;
433 tp->t_state &= ~TS_W_IN;
452 tp->t_state &= ~TS_W_OUT;
600 tp->t_state |= TS_IOCWAIT;
809 if (!(tp->t_state&TS_IOCWAIT) || iocp->ioc_id != tp->t_iocid) {
849 tp->t_state
[all...]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Dprocfs.d.in297 pr_flag = ((T->t_state == @TS_STOPPED@) ? (PR_STOPPED |
324 (T->t_state == @TS_SLEEP@) ? SSLEEP :
325 (T->t_state == @TS_RUN@) ? SRUN :
326 (T->t_state == @TS_ONPROC@) ? SONPROC :
327 (T->t_state == @TS_ZOMB@) ? SZOMB :
328 (T->t_state == @TS_STOPPED@) ? SSTOP :
329 (T->t_state == @TS_WAIT@) ? SWAIT : 0;
332 (T->t_state == @TS_SLEEP@) ? 'S' :
333 (T->t_state == @TS_RUN@) ? 'R' :
334 (T->t_state
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dsleepq.c182 ASSERT(t->t_state == TS_SLEEP);
239 ASSERT(tp->t_state == TS_SLEEP);
263 ASSERT(tp->t_state == TS_SLEEP);
H A Dsemaphore.c76 ASSERT(curthread->t_state == TS_ONPROC); \
305 ASSERT(tp->t_state == TS_SLEEP);
353 ASSERT(tp->t_state == TS_SLEEP);
H A Dsched.c554 if (thread_pri != -1 && tp->t_state == TS_RUN &&
677 } else if (tp->t_state == TS_RUN)
688 if (tp->t_state != TS_SLEEP)
795 ASSERT(tp->t_state == TS_ONPROC);
865 ASSERT(tp->t_state == TS_RUN);
/illumos-gate/usr/src/uts/common/cpr/
H A Dcpr_uthread.c132 if (tp->t_state == TS_STOPPED) {
158 if (tp->t_state == TS_ONPROC && tp->t_cpu != CPU)
199 tp->t_state);
205 "sched=%x\n", (void *)tp, tp->t_state,
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dsmb_dfs.h165 * t_state valid states are online/offline (see DFS_STORAGE_STATE_XXX in
175 uint32_t t_state; member in struct:dfs_target
/illumos-gate/usr/src/uts/common/disp/
H A Dfss.c1259 if (t == curthread || t->t_state == TS_ONPROC) {
1395 if (t->t_state != TS_RUN && t->t_state != TS_WAIT) {
1401 if (t->t_state == TS_ONPROC)
1740 if (t->t_state == TS_RUN || t->t_state == TS_ONPROC ||
1741 t->t_state == TS_WAIT)
1822 ASSERT(t->t_state == TS_FREE);
1863 ASSERT(ct->t_state == TS_STOPPED);
2096 if (t->t_state
[all...]
H A Dthread.c572 ASSERT(t == curthread || t->t_state == TS_FREE || t->t_procp == &p0);
634 t->t_state = TS_ZOMB; /* set zombie thread */
730 ASSERT(t != &t0 && t->t_state == TS_FREE);
963 ASSERT(t->t_state == TS_FREE);
1002 t->t_state = TS_FREE;
1088 ttoproc(t)->p_agenttp == curthread || t->t_state == TS_STOPPED);
1235 if (t->t_state == TS_SLEEP) {
1240 } else if (t->t_state & (TS_RUN | TS_ONPROC)) {
1245 } else if (t->t_state == TS_WAIT) {
1247 } else if (t->t_state
[all...]
H A Ddisp.c672 if (t->t_state != TS_ONPROC || t->t_disp_queue != CPU->cpu_disp) {
827 thread_onproc(tp, cpup); /* set t_state to TS_ONPROC */
875 if (t->t_state == TS_ONPROC &&
879 ASSERT(t->t_state != TS_ONPROC ||
905 if ((t->t_state == TS_RUN) && (t->t_waitrq == 0)) {
972 ASSERT(curthread->t_state == TS_ZOMB);
1100 if ((curthread->t_state == TS_RUN) && (curthread->t_waitrq == 0)) {
1319 THREAD_RUN(tp, &dp->disp_lock); /* set t_state to TS_RUN */
1542 THREAD_RUN(tp, &dp->disp_lock); /* set t_state to TS_RUN */
1617 if (tp->t_state !
[all...]
H A Dts.c1593 if (t->t_state == TS_RUN && (t->t_schedflag & TS_LOAD) == 0) {
1653 (t->t_state & (TS_ZOMB | TS_FREE | TS_STOPPED |
1658 ASSERT(t->t_state & (TS_SLEEP | TS_RUN));
1666 if (t->t_state == TS_SLEEP && swapin_time > maxslp) {
1674 if ((t->t_state == TS_SLEEP && swapin_time > ts_minslp) ||
1675 (t->t_state == TS_RUN && swapin_time > ts_minrun)) {
1772 } else if (t->t_state == TS_ONPROC &&
1804 ASSERT(t->t_state == TS_ONPROC);
1940 if (tx->t_state != TS_RUN && tx->t_state !
[all...]
H A Ddisp_lock.c221 t->t_state = TS_STOPPED;
223 * Ensure that t_state reaches global visibility before t_lockp
/illumos-gate/usr/src/uts/common/netinet/
H A Dtcp_var.h32 short t_state; /* state of this connection */ member in struct:tcpcb
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl_quiesce.c315 ((t)->t_state == TS_SLEEP && \
358 if (tp->t_state == TS_STOPPED) {
379 if (tp->t_state == TS_ONPROC && tp->t_cpu != CPU)
417 cache_t_state = tp->t_state;
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dfindstack_subr.c132 uint_t t_state; member in struct:mdb_findstack_kthread
163 fsip->fsi_tstate = thr.t_state;
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Ddfs.c1042 smb_tracef("[%d] state\t%X", i, t->t_state);
1298 rc |= nvlist_add_uint32(nvl, "t_state", t->t_state);
1322 uint32_t t_state; local
1373 rc |= nvlist_lookup_uint32(nvl, "t_state", &t_state);
1379 dfs_target_init(info->i_targets, t_server, t_share, t_state);
1506 t->t_state = strtoul(lfield[2], NULL, 10);
1549 t->t_server, t->t_share, t->t_state,
1603 t->t_state
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_tree.c292 tree->t_state = SMB_TREE_STATE_DISCONNECTING;
307 tree->t_state = SMB_TREE_STATE_DISCONNECTED;
313 if (do_exec && (tree->t_state == SMB_TREE_STATE_DISCONNECTED) &&
935 tree->t_state = SMB_TREE_STATE_CONNECTED;
973 ASSERT(tree->t_state == SMB_TREE_STATE_DISCONNECTED);
1010 switch (tree->t_state) {
1034 switch (tree->t_state) {
/illumos-gate/usr/src/uts/i86pc/io/dr/
H A Ddr_quiesce.c516 ((t)->t_state == TS_SLEEP && \
558 if (tp->t_state == TS_STOPPED) {
579 if (tp->t_state == TS_ONPROC && tp->t_cpu != CPU)
628 "t_state=0x%x, t_proc_flag=0x%x, "
631 (void *)tp, tp->t_state,
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_quiesce.c493 ((t)->t_state == TS_SLEEP && \
539 if (tp->t_state == TS_STOPPED) {
559 if (tp->t_state == TS_ONPROC && tp->t_cpu != CPU)
596 cache_t_state = tp->t_state;
/illumos-gate/usr/src/uts/i86pc/io/apix/
H A Dapix_intr.c268 it->t_state = TS_ONPROC;
333 it->t_state = TS_FREE;
344 it->t_state = TS_FREE;
660 it->t_state = TS_ONPROC;
723 it->t_state = TS_FREE;
742 it->t_state = TS_FREE;

Completed in 121 milliseconds

123