/illumos-gate/usr/src/uts/common/sys/ |
H A D | ttcompat.h | 74 int t_state; /* state bits */ member in struct:__anon9124
|
H A D | strtty.h | 75 short t_state; /* internal state */ member in struct:strtty
|
H A D | thread.h | 51 * 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 D | ldterm.h | 213 unsigned int t_state; /* internal state of ldterm module */ member in struct:ldterm_mod
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | ldterm.c | 701 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 D | ttcompat.c | 205 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 D | procfs.d.in | 297 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 D | sleepq.c | 182 ASSERT(t->t_state == TS_SLEEP); 239 ASSERT(tp->t_state == TS_SLEEP); 263 ASSERT(tp->t_state == TS_SLEEP);
|
H A D | semaphore.c | 76 ASSERT(curthread->t_state == TS_ONPROC); \ 305 ASSERT(tp->t_state == TS_SLEEP); 353 ASSERT(tp->t_state == TS_SLEEP);
|
H A D | sched.c | 554 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 D | cpr_uthread.c | 132 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 D | smb_dfs.h | 165 * 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 D | fss.c | 1259 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 D | thread.c | 572 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 D | disp.c | 672 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 D | ts.c | 1593 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 D | disp_lock.c | 221 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 D | tcp_var.h | 32 short t_state; /* state of this connection */ member in struct:tcpcb
|
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | sysctrl_quiesce.c | 315 ((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 D | findstack_subr.c | 132 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 D | dfs.c | 1042 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 D | smb_tree.c | 292 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 D | dr_quiesce.c | 516 ((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 D | sbdp_quiesce.c | 493 ((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 D | apix_intr.c | 268 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;
|