Home
last modified time | relevance | path

Searched refs:t_proc_flag (Results 1 – 25 of 44) sorted by relevance

12

/titanic_44/usr/src/uts/common/syscall/
H A Dlwp_create.c149 t->t_proc_flag |= TP_EXITLWP; in syslwp_create()
152 t->t_proc_flag &= ~TP_HOLDLWP; in syslwp_create()
183 t->t_proc_flag |= TP_TWAIT; in syslwp_create()
185 t->t_proc_flag |= TP_DAEMON; in syslwp_create()
197 t->t_proc_flag &= ~TP_HOLDLWP; in syslwp_create()
H A Dlwpsys.c176 int daemon = (curthread->t_proc_flag & TP_DAEMON)? 1 : 0; in lwp_wait()
216 if (!(t->t_proc_flag & TP_TWAIT)) in lwp_wait()
370 if (!(t->t_proc_flag & TP_TWAIT)) in lwp_detach()
373 t->t_proc_flag &= ~TP_TWAIT; in lwp_detach()
H A Drusagesys.c67 if (t->t_proc_flag & TP_LWPEXIT) in getrusage()
/titanic_44/usr/src/uts/common/os/
H A Dlwp.c462 while ((curthread->t_proc_flag & TP_PRSTOP) && in lwp_create()
664 t->t_proc_flag |= TP_MSACCT; in lwp_create()
684 t->t_proc_flag |= TP_HOLDLWP; in lwp_create()
725 t->t_proc_flag &= ~TP_HOLDLWP; in lwp_create()
923 if (!(t->t_proc_flag & TP_DAEMON) && in lwp_exit()
950 if (!(t->t_proc_flag & TP_TWAIT) || (p->p_flag & SEXITLWPS)) in lwp_exit()
953 ASSERT(!(t->t_proc_flag & TP_DAEMON)); in lwp_exit()
958 if (t->t_proc_flag & TP_DAEMON) { in lwp_exit()
960 t->t_proc_flag &= ~TP_DAEMON; in lwp_exit()
962 t->t_proc_flag &= ~TP_TWAIT; in lwp_exit()
[all …]
H A Dsig.c461 (t->t_proc_flag & in issig_justlooking()
522 t->t_proc_flag |= TP_PRSTOP; in issig_forreal()
568 if ((t->t_proc_flag & TP_PAUSE) && !lwp->lwp_nostop) { in issig_forreal()
590 if ((t->t_proc_flag & TP_CHKPT) && !lwp->lwp_nostop) { in issig_forreal()
604 (t->t_proc_flag & TP_HOLDLWP)) && !lwp->lwp_nostop) { in issig_forreal()
618 if ((t->t_proc_flag & TP_PRSTOP) && !lwp->lwp_nostop) in issig_forreal()
859 (t->t_proc_flag & TP_LWPEXIT) || in stop()
862 t->t_proc_flag &= ~(TP_PRSTOP|TP_PRVSTOP); in stop()
879 t->t_proc_flag |= TP_STOPPING; /* must set before dropping p_lock */ in stop()
894 if (!(t->t_proc_flag & TP_CHKPT)) { in stop()
[all …]
H A Dfork.c203 curthread->t_proc_flag &= ~TP_HOLDLWP; in cfork()
382 lwptot(clone)->t_proc_flag |= in cfork()
383 (curthread->t_proc_flag & TP_TWAIT); in cfork()
403 ct->t_proc_flag |= in cfork()
404 (t->t_proc_flag & (TP_TWAIT|TP_DAEMON)); in cfork()
478 t->t_proc_flag |= TP_PRSTOP; in cfork()
494 t->t_proc_flag |= TP_PRSTOP; in cfork()
545 if (t->t_proc_flag & TP_HOLDLWP) in cfork()
918 t->t_proc_flag &= ~TP_HOLDLWP; in newproc()
H A Dcondvar.c702 if (t->t_proc_flag & TP_PAUSE) { in cv_wait_stop()
709 if (t->t_proc_flag & TP_CHKPT) { in cv_wait_stop()
718 (t->t_proc_flag & TP_HOLDLWP)) { in cv_wait_stop()
725 if (t->t_proc_flag & TP_PRSTOP) { in cv_wait_stop()
H A Dmsacct.c113 if ((t->t_proc_flag & TP_MSACCT) == 0) in init_mstate()
114 t->t_proc_flag |= TP_MSACCT; in init_mstate()
371 if (t->t_proc_flag & TP_LWPEXIT) in mstate_aggr_state()
H A Dclock_tick.c359 if (lwp == NULL || (t->t_proc_flag & TP_LWPEXIT) || intr) { in clock_tick_process()
386 if (t->t_proc_flag & TP_LWPEXIT) { in clock_tick_process()
/titanic_44/usr/src/uts/common/cpr/
H A Dcpr_uthread.c141 tp->t_proc_flag |= TP_CHKPT; in cpr_stop_user()
206 tp->t_proc_flag, tp->t_schedflag); in cpr_check_user_threads()
242 tp->t_proc_flag &= ~TP_CHKPT; in cpr_start_user_threads()
/titanic_44/usr/src/uts/common/fs/proc/
H A Dprcontrol.c1049 t->t_proc_flag |= TP_PRSTOP; in pr_stop()
1064 t->t_proc_flag |= TP_PRVSTOP; in pr_stop()
1180 !(t->t_proc_flag & TP_PRSTOP)) || in pr_setrun()
1213 t->t_proc_flag |= TP_PRSTOP; in pr_setrun()
1228 t->t_proc_flag &= in pr_setrun()
1232 t->t_proc_flag &= in pr_setrun()
1288 t->t_proc_flag &= in pr_setrun()
1336 ASSERT(!(t->t_proc_flag & TP_LWPEXIT)); in allsetrun()
1337 t->t_proc_flag &= ~(TP_PRSTOP|TP_PRVSTOP|TP_STOPPING); in allsetrun()
1564 ASSERT(!(t->t_proc_flag & TP_LWPEXIT)); in pr_nice()
[all …]
H A Dprioctl.c536 !(t->t_proc_flag & TP_PRSTOP)) || in prioctl64()
580 ASSERT(!(t->t_proc_flag & TP_LWPEXIT)); in prioctl64()
890 ASSERT(!(t->t_proc_flag & TP_LWPEXIT)); in prioctl64()
1117 ASSERT(!(t->t_proc_flag & TP_LWPEXIT)); in prioctl64()
1210 ASSERT(!(t->t_proc_flag & TP_LWPEXIT)); in prioctl64()
1363 if (!(flags & PR_ISTOP) && (t->t_proc_flag & TP_PRSTOP)) in oprgetstatus32()
1379 if (t->t_proc_flag & TP_MSACCT) in oprgetstatus32()
2108 !(t->t_proc_flag & TP_PRSTOP)) || in prioctl32()
2165 ASSERT(!(t->t_proc_flag & TP_LWPEXIT)); in prioctl32()
2512 ASSERT(!(t->t_proc_flag & TP_LWPEXIT)); in prioctl32()
[all …]
H A Dprsubr.c186 if (t->t_proc_flag & TP_PRSTOP) { in prchoose()
651 t->t_proc_flag &= ~TP_PAUSE; in prinvalidate()
653 t->t_proc_flag |= TP_PRSTOP; in prinvalidate()
662 t->t_proc_flag &= ~(TP_PRSTOP|TP_PRVSTOP|TP_STOPPING); in prinvalidate()
944 if (!(flags & PR_ISTOP) && (t->t_proc_flag & TP_PRSTOP)) in prgetlwpstatus32()
950 if (!(t->t_proc_flag & TP_TWAIT)) in prgetlwpstatus32()
952 if (t->t_proc_flag & TP_DAEMON) in prgetlwpstatus32()
1170 if (!(flags & PR_ISTOP) && (t->t_proc_flag & TP_PRSTOP)) in prgetlwpstatus()
1176 if (!(t->t_proc_flag & TP_TWAIT)) in prgetlwpstatus()
1178 if (t->t_proc_flag & TP_DAEMON) in prgetlwpstatus()
[all …]
H A Dprdata.h54 ((t)->t_proc_flag & TP_PRSTOP))
/titanic_44/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl_quiesce.c318 ((t)->t_proc_flag & TP_CHKPT))
362 tp->t_proc_flag |= TP_CHKPT; in sysctrl_stop_user_threads()
509 tp->t_proc_flag &= ~TP_CHKPT; in sysctrl_start_user_threads()
/titanic_44/usr/src/uts/common/sys/
H A Dthread.h119 ushort_t t_proc_flag; /* modified holding ttproc(t)->p_lock */ member
460 #define VSTOPPED(t) ((t)->t_proc_flag & TP_PRVSTOP)
467 ((t)->t_proc_flag & TP_CHKPT))
/titanic_44/usr/src/uts/i86pc/io/dr/
H A Ddr_quiesce.c519 ((t)->t_proc_flag & TP_CHKPT))
562 tp->t_proc_flag |= TP_CHKPT; in dr_stop_user_threads()
632 tp->t_proc_flag, tp->t_schedflag); in dr_stop_user_threads()
671 tp->t_proc_flag &= ~TP_CHKPT; in dr_start_user_threads()
/titanic_44/usr/src/uts/sun4u/ngdr/io/
H A Ddr_quiesce.c520 ((t)->t_proc_flag & TP_CHKPT))
563 tp->t_proc_flag |= TP_CHKPT; in dr_stop_user_threads()
633 tp->t_proc_flag, tp->t_schedflag); in dr_stop_user_threads()
672 tp->t_proc_flag &= ~TP_CHKPT; in dr_start_user_threads()
/titanic_44/usr/src/lib/libdtrace/common/
H A Dprocfs.d.in299 ((T->t_proc_flag & @TP_PRVSTOP@) ? PR_STOPPED | PR_ISTOP : 0)) |
301 ((!(T->t_proc_flag & @TP_TWAIT@)) ? PR_DETACH : 0) |
302 ((T->t_proc_flag & @TP_DAEMON@) ? PR_DAEMON : 0) |
323 pr_state = (T->t_proc_flag & @TP_PRVSTOP@) ? SSTOP :
331 pr_sname = (T->t_proc_flag & @TP_PRVSTOP@) ? 'T' :
/titanic_44/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_quiesce.c496 ((t)->t_proc_flag & TP_CHKPT))
543 tp->t_proc_flag |= TP_CHKPT;
637 tp->t_proc_flag &= ~TP_CHKPT;
/titanic_44/usr/src/uts/intel/ia32/os/
H A Dsyscall.c629 if (curthread->t_proc_flag & TP_CHANGEBIND) { in post_syscall()
631 if (curthread->t_proc_flag & TP_CHANGEBIND) { in post_syscall()
633 curthread->t_proc_flag &= ~TP_CHANGEBIND; in post_syscall()
653 if (ISHOLD(p) || (t->t_proc_flag & TP_EXITLWP)) in post_syscall()
/titanic_44/usr/src/uts/sparc/os/
H A Dsyscall.c719 if (curthread->t_proc_flag & TP_CHANGEBIND) { in post_syscall()
721 if (curthread->t_proc_flag & TP_CHANGEBIND) { in post_syscall()
723 curthread->t_proc_flag &= ~TP_CHANGEBIND; in post_syscall()
744 if (ISHOLD(p) || (t->t_proc_flag & TP_EXITLWP)) in post_syscall()
/titanic_44/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gcore.h72 ushort_t t_proc_flag; member
/titanic_44/usr/src/uts/common/fs/doorfs/
H A Ddoor_vnops.c119 ((curthread->t_proc_flag & TP_LWPEXIT) == 0)); in door_close()
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/
H A Dthread.c502 stbuf, t.t_flag, t.t_proc_flag, t.t_schedflag, in thread()
506 stbuf, t.t_flag, t.t_proc_flag, t.t_schedflag, in thread()

12