Home
last modified time | relevance | path

Searched refs:p_flag (Results 1 – 25 of 79) sorted by relevance

1234

/original-bsd/sys/miscfs/procfs/
H A Dprocfs_ctl.c42 ((p)->p_flag & P_TRACED))
95 if (p->p_flag & P_TRACED)
110 p->p_flag |= P_TRACED;
155 if ((p->p_flag & P_TRACED) == 0)
159 p->p_flag &= ~P_TRACED;
171 p->p_flag &= ~P_WAITED; /* XXX ? */
198 if (p->p_flag & P_TRACED) {
201 (p->p_flag & P_TRACED) &&
H A Dprocfs_status.c64 if ((p->p_flag&P_CONTROLT) && (tp = sess->s_ttyp))
81 if (p->p_flag & P_INMEM)
H A Dprocfs_fpregs.c68 return ((p->p_flag & P_SYSTEM) == 0);
H A Dprocfs_regs.c68 return ((p->p_flag & P_SYSTEM) == 0);
/original-bsd/usr.bin/w/
H A Dproc_compare.c89 if (p1->p_flag & P_SINTR && (p2->p_flag & P_SINTR) == 0)
91 if (p2->p_flag & P_SINTR && (p1->p_flag & P_SINTR) == 0)
/original-bsd/sys/kern/
H A Dkern_fork.c157 p2->p_flag = P_INMEM;
158 if (p1->p_flag & P_PROFIL)
185 if (p1->p_session->s_ttyvp != NULL && p1->p_flag & P_CONTROLT)
186 p2->p_flag |= P_CONTROLT;
188 p2->p_flag |= P_PPWAIT;
210 p1->p_flag |= P_NOSWAP;
243 p1->p_flag &= ~P_NOSWAP;
251 while (p2->p_flag & P_PPWAIT)
H A Dkern_sig.c86 if (p->p_flag & P_NOCLDSTOP)
133 p->p_flag |= P_NOCLDSTOP;
135 p->p_flag &= ~P_NOCLDSTOP;
299 if (p->p_flag & P_NOCLDSTOP)
660 if (p->p_flag & P_TRACED)
724 if (p->p_flag & P_TRACED)
748 if (p->p_flag & P_PPWAIT)
765 if (p->p_flag & P_TRACED)
858 if (p->p_flag & P_PPWAIT)
873 if (p->p_flag & P_TRACED && (p->p_flag & P_PPWAIT) == 0) {
[all …]
H A Dsys_process.c70 curp->p_flag |= P_TRACED;
82 if ((p->p_flag & P_SUGID ||
86 if (p->p_flag & P_TRACED)
99 p->p_flag |= P_TRACED;
105 if (p->p_stat != SSTOP || p->p_pptr != curp || !(p->p_flag & P_TRACED))
113 p->p_flag &= ~P_WAITED;
287 p->p_flag &= ~P_TRACED;
H A Dkern_exit.c83 if (p->p_flag & P_PROFIL)
91 p->p_flag &= ~(P_TRACED | P_PPWAIT);
92 p->p_flag |= P_WEXIT;
186 if (q->p_flag & P_TRACED) {
187 q->p_flag &= ~P_TRACED;
382 if (p->p_stat == SSTOP && (p->p_flag & P_WAITED) == 0 &&
383 (p->p_flag & P_TRACED || uap->options & WUNTRACED)) {
384 p->p_flag |= P_WAITED;
H A Dkern_synch.c181 (p->p_flag & P_INMEM) &&
309 p->p_flag |= P_SINTR;
328 p->p_flag &= ~P_SINTR;
329 if (p->p_flag & P_TIMEOUT) {
330 p->p_flag &= ~P_TIMEOUT;
376 p->p_flag |= P_TIMEOUT;
496 if (p->p_flag & P_INMEM)
503 if ((p->p_flag & P_INMEM) == 0)
617 if (p->p_flag & P_INMEM)
623 if ((p->p_flag & P_INMEM) == 0)
H A Dkern_clock.c345 if ((p->p_flag & P_PROFIL) == 0) {
346 p->p_flag |= P_PROFIL;
365 if (p->p_flag & P_PROFIL) {
366 p->p_flag &= ~P_PROFIL;
394 if (p->p_flag & P_PROFIL)
H A Dkern_exec.c119 if ((p->p_flag & P_TRACED) && (error = VOP_ACCESS(vp, VREAD, cred, p)))
583 if (p->p_flag & P_PPWAIT) {
584 p->p_flag &= ~P_PPWAIT;
612 p->p_flag |= P_EXEC;
710 p->p_flag |= P_NOSWAP;
717 p->p_flag &= ~P_SUGID;
718 if ((p->p_flag & P_TRACED) == 0) {
734 p->p_flag |= P_SUGID;
743 if (p->p_flag & P_PROFIL)
H A Dkern_prot.c204 if (targp->p_flag & P_EXEC)
247 p->p_flag |= P_SUGID;
274 p->p_flag |= P_SUGID;
298 p->p_flag |= P_SUGID;
321 p->p_flag |= P_SUGID;
349 p->p_flag |= P_SUGID;
H A Dtty_tty.c22 #define cttyvp(p) ((p)->p_flag & P_CONTROLT ? (p)->p_session->s_ttyvp : NULL)
104 p->p_flag &= ~P_CONTROLT;
H A Dkern_physio.c83 p->p_flag |= P_PHYSIO;
92 p->p_flag &= ~P_PHYSIO;
/original-bsd/local/toolchest/ksh/sh/
H A Djobs.c376 if(pw->p_flag&P_STTY)
436 pw->p_flag |= P_STTY;
473 if(pw->p_flag&P_STOPPED)
523 if(pw->p_flag&P_PIPEJOB)
586 if(pw->p_flag&P_STOPPED)
658 if(pw && pw->p_flag)
862 pw->p_flag |= flag;
907 pw->p_flag = P_RUNNING;
980 if(pw->p_flag&P_STOPPED)
1116 pw->p_flag |= P_NOTIFY;
[all …]
/original-bsd/local/toolchest/ksh.2/sh/
H A Djobs.c405 if(pw->p_flag&P_STTY)
465 pw->p_flag |= P_STTY;
502 if(pw->p_flag&P_STOPPED)
552 if(pw->p_flag&P_PIPEJOB)
615 if(pw->p_flag&P_STOPPED)
687 if(pw && pw->p_flag)
891 pw->p_flag |= flag;
936 pw->p_flag = P_RUNNING;
1009 if(pw->p_flag&P_STOPPED)
1145 pw->p_flag |= P_NOTIFY;
[all …]
/original-bsd/sys/sparc/sparc/
H A Dsys_process.c86 curp->p_flag |= P_TRACED;
110 if ((p->p_flag & P_SUGID ||
114 if (p->p_flag & P_TRACED)
127 p->p_flag |= P_TRACED;
158 if (p->p_stat != SSTOP || p->p_pptr != curp || !(p->p_flag & P_TRACED))
183 p->p_flag &= ~P_WAITED;
305 p->p_flag &= ~P_TRACED;
/original-bsd/sys/pmax/pmax/
H A Dprocfs_machdep.c58 if ((p->p_flag & P_INMEM) == 0)
78 if ((p->p_flag & P_INMEM) == 0)
/original-bsd/sys/hp300/hp300/
H A Dprocfs_machdep.c60 if ((p->p_flag & P_INMEM) == 0)
84 if ((p->p_flag & P_INMEM) == 0)
/original-bsd/sys/hp/hpux/
H A Dhpux_sig.c87 if (p->p_flag & SOUSIG)
105 p->p_flag |= SOUSIG; /* XXX */
302 if (p->p_flag & SOUSIG)
305 if (p->p_flag & P_NOCLDSTOP)
331 p->p_flag |= SOUSIG; /* XXX */
371 p->p_flag |= SOUSIG; /* mark as simulating old stuff */
/original-bsd/sys/vm/
H A Dvm_meter.c130 if (p->p_flag & P_SYSTEM)
138 if (p->p_flag & P_INMEM) {
151 if (p->p_flag & P_INMEM)
H A Dvm_glue.c300 if (p->p_stat == SRUN && (p->p_flag & P_INMEM) == 0) { in scheduler()
346 p->p_flag |= P_INMEM; in scheduler()
371 (((p)->p_flag & \
493 p->p_flag &= ~P_INMEM;
/original-bsd/sys/i386/include/
H A Dcpu.h57 #define profile_tick(p, framep) { (p)->p_flag |= P_OWEUPC; aston(); }
/original-bsd/sys/scripts/
H A Dxps22 $p->p_flag, $p->p_stat, $p->p_wchan, \

1234