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

123

/opensolaris-onvv-gate/usr/src/uts/common/sys/
H A Dttcompat.h74 int t_state; /* state bits */ member in struct:__anon9212
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
357 * to give assurrance that they are consistent with t_state:
442 #define ISTOPPED(t) ((t)->t_state == TS_STOPPED && \
446 #define ISWAKEABLE(t) (((t)->t_state == TS_SLEEP && \
450 #define ISWAITING(t) ((t)->t_state == TS_WAIT)
453 #define CPR_ISTOPPED(t) ((t)->t_state == TS_STOPPED && \
464 ((t)->t_state
[all...]
H A Dldterm.h213 unsigned int t_state; /* internal state of ldterm module */ member in struct:ldterm_mod
/opensolaris-onvv-gate/usr/src/uts/common/io/
H A Dldterm.c702 tp->t_state = 0;
827 ctp->tp->t_state &= ~TS_IOCWAIT;
842 tp->t_state |= TS_CLOSE;
881 tp->t_state |= TS_IOCWAIT;
903 while (tp->t_state & TS_IOCWAIT) {
955 (tp->t_state & (TS_CLOSE|TS_IOCWAIT)) == (TS_CLOSE|TS_IOCWAIT)) {
959 tp->t_state &= ~TS_IOCWAIT;
1115 tp->t_state |= TS_NOCANON;
1128 if (tp->t_state & TS_MEUC) {
1138 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...]
/opensolaris-onvv-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...]
/opensolaris-onvv-gate/usr/src/uts/common/disp/
H A Dfss.c958 if (t == curthread || t->t_state == TS_ONPROC) {
1088 if (t->t_state != TS_RUN && t->t_state != TS_WAIT) {
1428 if (t->t_state == TS_RUN || t->t_state == TS_ONPROC ||
1429 t->t_state == TS_WAIT)
1510 ASSERT(t->t_state == TS_FREE);
1551 ASSERT(ct->t_state == TS_STOPPED);
1784 if (t->t_state == TS_ONPROC || t->t_state
[all...]
H A Dthread.c571 ASSERT(t == curthread || t->t_state == TS_FREE || t->t_procp == &p0);
633 t->t_state = TS_ZOMB; /* set zombie thread */
729 ASSERT(t != &t0 && t->t_state == TS_FREE);
962 ASSERT(t->t_state == TS_FREE);
1001 t->t_state = TS_FREE;
1087 ttoproc(t)->p_agenttp == curthread || t->t_state == TS_STOPPED);
1227 if (t->t_state == TS_SLEEP) {
1232 } else if (t->t_state & (TS_RUN | TS_ONPROC)) {
1237 } else if (t->t_state == TS_WAIT) {
1239 } 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.c1592 if (t->t_state == TS_RUN && (t->t_schedflag & TS_LOAD) == 0) {
1652 (t->t_state & (TS_ZOMB | TS_FREE | TS_STOPPED |
1657 ASSERT(t->t_state & (TS_SLEEP | TS_RUN));
1665 if (t->t_state == TS_SLEEP && swapin_time > maxslp) {
1673 if ((t->t_state == TS_SLEEP && swapin_time > ts_minslp) ||
1674 (t->t_state == TS_RUN && swapin_time > ts_minrun)) {
1771 } else if (t->t_state == TS_ONPROC &&
1803 ASSERT(t->t_state == TS_ONPROC);
1939 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
/opensolaris-onvv-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);
/opensolaris-onvv-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,
/opensolaris-onvv-gate/usr/src/uts/common/smbsrv/
H A Dsmb_dfs.h157 * t_state valid states are online/offline (see DFS_STORAGE_STATE_XXX in
165 uint32_t t_state; member in struct:dfs_target
/opensolaris-onvv-gate/usr/src/uts/common/netinet/
H A Dtcp_var.h32 short t_state; /* state of this connection */ member in struct:tcpcb
/opensolaris-onvv-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;
/opensolaris-onvv-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Ddfs.c1043 smb_tracef("[%d] state\t%X", i, t->t_state);
1299 rc |= nvlist_add_uint32(nvl, "t_state", t->t_state);
1323 uint32_t t_state; local
1374 rc |= nvlist_lookup_uint32(nvl, "t_state", &t_state);
1380 dfs_target_init(info->i_targets, t_server, t_share, t_state);
1507 t->t_state = strtoul(lfield[2], NULL, 10);
1550 t->t_server, t->t_share, t->t_state,
1604 t->t_state
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_tree.c291 tree->t_state = SMB_TREE_STATE_DISCONNECTING;
306 tree->t_state = SMB_TREE_STATE_DISCONNECTED;
312 if (do_exec && (tree->t_state == SMB_TREE_STATE_DISCONNECTED) &&
909 tree->t_state = SMB_TREE_STATE_CONNECTED;
947 ASSERT(tree->t_state == SMB_TREE_STATE_DISCONNECTED);
980 switch (tree->t_state) {
1004 switch (tree->t_state) {
/opensolaris-onvv-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,
/opensolaris-onvv-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;
/opensolaris-onvv-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;
/opensolaris-onvv-gate/usr/src/uts/i86pc/os/
H A Dintr.c337 it->t_state = TS_ONPROC;
407 it->t_state = TS_FREE;
423 it->t_state = TS_FREE;
603 it->t_state = TS_ONPROC;
665 it->t_state = TS_FREE;
676 it->t_state = TS_FREE;

Completed in 158 milliseconds

123