Searched refs:t_schedflag (Results 1 - 25 of 46) sorted by relevance

12

/illumos-gate/usr/src/uts/common/os/
H A Dsched.c220 if (t->t_schedflag & TS_LOAD)
276 if ((t->t_schedflag & (TS_SWAPENQ |
316 t->t_schedflag |= (TS_ALLSTART & ~TS_CSTART);
420 if ((t->t_schedflag & (TS_SWAPENQ |
492 t->t_schedflag |= (TS_ALLSTART & ~TS_CSTART);
516 ASSERT(tp->t_schedflag & TS_ON_SWAPQ);
526 tp->t_schedflag &= ~TS_ON_SWAPQ;
555 (tp->t_schedflag & TS_LOAD) == 0) {
559 ASSERT((tp->t_schedflag & TS_ON_SWAPQ) == 0);
601 tp->t_schedflag |
[all...]
H A Dcondvar.c152 t->t_schedflag &= ~TS_SIGNALLED;
196 ASSERT(curthread->t_schedflag & TS_DONT_SWAP);
286 signalled = (t->t_schedflag & TS_SIGNALLED);
329 ASSERT(curthread->t_schedflag & TS_DONT_SWAP);
341 signalled = (t->t_schedflag & TS_SIGNALLED);
422 signalled = (t->t_schedflag & TS_SIGNALLED);
558 curthread->t_schedflag &= ~TS_DONT_SWAP;
565 signalled = (t->t_schedflag & TS_SIGNALLED);
568 ASSERT(curthread->t_schedflag & TS_DONT_SWAP);
H A Dpanic.c170 ushort_t panic_schedflag; /* t_schedflag for panic_thread */
218 ushort_t schedflag = t->t_schedflag;
226 t->t_schedflag |= TS_DONT_SWAP;
H A Dsleepq.c238 tp->t_schedflag |= TS_SIGNALLED;
H A Dlwp.c675 * We omit the TS_CREATE flag from t_schedflag so that the lwp
685 t->t_schedflag |= (TS_ALLSTART & ~(TS_CSTART | TS_CREATE));
809 ASSERT(t->t_state == TS_STOPPED && !(t->t_schedflag & TS_CREATE));
814 if (!(t->t_schedflag & TS_CSTART))
816 t->t_schedflag |= (TS_CSTART | TS_CREATE);
1207 t->t_schedflag |= TS_CSTART;
1588 t->t_schedflag |= (TS_XSTART | TS_PSTART);
1599 if ((t->t_schedflag & TS_CSTART) == 0) {
1601 t->t_schedflag |= TS_CSTART;
1635 thread_lock(t); /* SUSPENDED looks at t_schedflag */
[all...]
H A Dwaitq.c230 t->t_schedflag |= TS_DONT_SWAP;
H A Dsig.c203 t->t_schedflag |= TS_XSTART | TS_PSTART;
272 tt->t_schedflag |= TS_XSTART;
354 tt->t_schedflag |= TS_CSTART;
466 * hang beacuse we will be stopped with TS_PSTART set in t_schedflag.
572 * be stopped with TS_PSTART set in t_schedflag. We will
1084 if ((tx->t_schedflag &
1175 ASSERT((t->t_schedflag & TS_ALLSTART) == 0);
1176 t->t_schedflag |= flags;
1195 t->t_schedflag |= TS_XSTART | TS_PSTART;
1206 t->t_schedflag |
[all...]
/illumos-gate/usr/src/uts/common/disp/
H A Dcpucaps.c66 * zone is marked by setting TS_PROJWAITQ flag in thread's t_schedflag field and
135 * bits in t_schedflag in this case.
141 * TS_ZONEWAITQ bits in t_schedflag. Returns True if the thread was placed on a
1049 t->t_schedflag |= TS_PROJWAITQ;
1051 } else if (t->t_schedflag & TS_PROJWAITQ) {
1052 t->t_schedflag &= ~TS_PROJWAITQ;
1057 if (t->t_schedflag & TS_ZONEWAITQ)
1058 t->t_schedflag &= ~TS_ZONEWAITQ;
1063 t->t_schedflag |= TS_ZONEWAITQ;
1065 } else if (t->t_schedflag
[all...]
H A Ddisp.c779 ASSERT(tp->t_schedflag & TS_LOAD); /* thread must be swapped in */
823 tp->t_schedflag |= TS_DONT_SWAP;
1191 ASSERT((tp->t_schedflag & TS_ALLSTART) == 0);
1198 if ((tp->t_schedflag & (TS_LOAD | TS_ON_SWAPQ)) != TS_LOAD) {
1250 !(tp->t_schedflag & TS_RUNQMATCH))
1380 ASSERT((tp->t_schedflag & TS_ALLSTART) == 0);
1387 if ((tp->t_schedflag & (TS_LOAD | TS_ON_SWAPQ)) != TS_LOAD) {
1624 if ((tp->t_schedflag & (TS_LOAD | TS_ON_SWAPQ)) != TS_LOAD)
1701 ASSERT(t->t_schedflag & TS_LOAD);
1714 ASSERT(t->t_schedflag
[all...]
H A Dts.c637 t->t_schedflag &= ~TS_RUNQMATCH;
1410 ASSERT(t->t_schedflag & TS_DONT_SWAP);
1412 t->t_schedflag &= ~TS_DONT_SWAP;
1438 t->t_schedflag |= TS_DONT_SWAP;
1593 if (t->t_state == TS_RUN && (t->t_schedflag & TS_LOAD) == 0) {
1655 !(t->t_schedflag & TS_LOAD) || !SWAP_OK(t))
1761 if ((t->t_schedflag & TS_LOAD) &&
1764 t->t_schedflag &= ~TS_DONT_SWAP;
1842 if ((t->t_schedflag & TS_SWAPENQ) && !(tspp->ts_flags & TSIASET)) {
H A Dfss.c1738 t->t_schedflag |= TS_RUNQMATCH;
1894 ct->t_schedflag |= TS_RUNQMATCH;
2157 if (t->t_state == TS_RUN && (t->t_schedflag & TS_LOAD) == 0) {
2204 !(t->t_schedflag & TS_LOAD) ||
2279 if (t->t_schedflag & TS_SWAPENQ) {
2331 ASSERT(t->t_schedflag & TS_DONT_SWAP);
2333 t->t_schedflag &= ~TS_DONT_SWAP;
2359 t->t_schedflag |= TS_DONT_SWAP;
2471 * t_schedflag if the thread is eligible to be swapped out.
2550 if ((t->t_schedflag
[all...]
H A Drt.c418 t->t_schedflag &= ~TS_RUNQMATCH;
914 t->t_schedflag &= ~TS_DONT_SWAP;
965 if (t->t_state == TS_RUN && (t->t_schedflag & TS_LOAD) == 0) {
H A Dthread.c433 t->t_schedflag = TS_LOAD | TS_DONT_SWAP;
1266 if ((t->t_schedflag & TS_ALLSTART) != TS_ALLSTART)
1279 t->t_schedflag &= ~TS_ALLSTART;
/illumos-gate/usr/src/uts/common/cpr/
H A Dcpr_uthread.c137 if (tp->t_schedflag & TS_RESUME)
138 tp->t_schedflag &= ~TS_RESUME;
206 tp->t_proc_flag, tp->t_schedflag);
251 tp->t_schedflag |= TS_RESUME;
/illumos-gate/usr/src/uts/common/sys/
H A Dthread.h120 ushort_t t_schedflag; /* modified holding thread_lock(t) */ member in struct:_kthread
400 * Thread scheduler flag (t_schedflag) definitions.
444 !((t)->t_schedflag & TS_PSTART))
455 !((t)->t_schedflag & TS_RESUME))
472 ((t)->t_schedflag & (TS_CSTART|TS_UNPAUSE)) != (TS_CSTART|TS_UNPAUSE))
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dfindstack_subr.c134 ushort_t t_schedflag; member in struct:mdb_findstack_kthread
166 if ((thr.t_schedflag & TS_LOAD) == 0) {
/illumos-gate/usr/src/uts/i86pc/io/dr/
H A Ddr_quiesce.c560 tp->t_schedflag &= ~TS_RESUME;
629 "t_schedflag=0x%x\n",
632 tp->t_proc_flag, tp->t_schedflag);
677 tp->t_schedflag |= TS_RESUME;
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl_quiesce.c360 tp->t_schedflag &= ~TS_RESUME;
515 tp->t_schedflag |= TS_RESUME;
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gcore.h88 ushort_t t_schedflag; member in struct:mdb_kthread
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_quiesce.c541 tp->t_schedflag &= ~TS_RESUME;
643 tp->t_schedflag |= TS_RESUME;
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmlsetup.c290 t0.t_schedflag = TS_LOAD | TS_DONT_SWAP;
/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Ddr_quiesce.c561 tp->t_schedflag &= ~TS_RESUME;
630 "t_schedflag=0x%x\n",
633 tp->t_proc_flag, tp->t_schedflag);
678 tp->t_schedflag |= TS_RESUME;
/illumos-gate/usr/src/uts/intel/ia32/os/
H A Dsyscall.c152 ASSERT(t == curthread && curthread->t_schedflag & TS_DONT_SWAP);
246 ASSERT(t->t_schedflag & TS_DONT_SWAP);
731 if (CPU->cpu_runrun || t->t_schedflag & TS_ANYWAITQ)
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprcontrol.c1224 t->t_schedflag |= TS_PSTART;
1277 tx->t_schedflag |= TS_PSTART;
1339 t->t_schedflag |= TS_PSTART;
1484 t->t_schedflag |= TS_XSTART | TS_PSTART;
1499 tx->t_schedflag |= TS_XSTART;
2433 t->t_schedflag |= TS_UNPAUSE;
/illumos-gate/usr/src/uts/sun4/os/
H A Dtrap.c172 ASSERT((curthread->t_schedflag & TS_DONT_SWAP) ||
175 ASSERT(curthread->t_schedflag & TS_DONT_SWAP);
1375 ASSERT(curthread->t_schedflag & TS_DONT_SWAP);
1596 if (CPU->cpu_runrun || curthread->t_schedflag & TS_ANYWAITQ)

Completed in 184 milliseconds

12