/freebsd-9.3-release/sys/fs/procfs/ |
H A D | procfs_ctl.c | 63 ((p)->p_flag & P_TRACED)) 124 if (p->p_flag & P_TRACED) { 143 p->p_flag |= P_TRACED; 210 if ((p->p_flag & P_TRACED) == 0) { 216 p->p_flag &= ~(P_TRACED | P_STOPPED_TRACE); 238 p->p_flag &= ~P_WAITED; /* XXX ? */ 262 p->p_flag &= ~P_STOPPED_SIG; /* this uses SIGSTOP */ 271 if (p->p_flag & P_TRACED) { 274 (p->p_flag & P_TRACED) && 346 p->p_flag [all...] |
H A D | procfs.c | 121 if ((p->p_flag & P_SUGID) && pn->pn_type != pfstype_procdir) 136 return ((p->p_flag & P_SYSTEM) == 0); 147 return ((p->p_flag & P_SYSTEM) == 0 && p_candebug(td, p) == 0);
|
H A D | procfs_ioctl.c | 127 while (p->p_step == 0 && (p->p_flag & P_WEXIT) == 0) { 147 while (p->p_step == 0 && (p->p_flag & P_WEXIT) == 0) { 186 p->p_flag &= ~(P_STOPPED_TRACE|P_STOPPED_SIG);
|
H A D | procfs_status.c | 96 if ((p->p_flag & P_CONTROLT) && (tp = sess->s_ttyp)) 125 if (p->p_flag & P_INMEM) { 189 if ((p->p_flag & P_SYSTEM) != 0) {
|
/freebsd-9.3-release/sys/vm/ |
H A D | vm_glue.c | 634 if ((p->p_flag & P_INMEM) == 0) 644 if (p->p_flag & P_SWAPPINGIN) { 645 while (p->p_flag & P_SWAPPINGIN) 646 msleep(&p->p_flag, &p->p_mtx, PVM, "faultin", 0); 649 if ((p->p_flag & P_INMEM) == 0) { 655 p->p_flag |= P_SWAPPINGIN; 669 wakeup(&p->p_flag); 707 p->p_flag & (P_SWAPPINGOUT | P_SWAPPINGIN | P_INMEM)) { 755 if (p->p_flag & (P_INMEM | P_SWAPPINGOUT | P_SWAPPINGIN)) { 829 if ((p->p_flag [all...] |
/freebsd-9.3-release/sys/ddb/ |
H A D | db_ps.c | 174 if (!(p->p_flag & P_INMEM)) 176 if (p->p_flag & P_TRACED) 178 if (p->p_flag & P_WEXIT && p->p_state != PRS_ZOMBIE) 180 if (p->p_flag & P_PPWAIT) 182 if (p->p_flag & P_SYSTEM || p->p_lock > 0) 187 if (p->p_flag & P_CONTROLT) 192 if (p->p_flag & P_HADTHREADS) { 198 if (p->p_flag & P_SYSTEM) 201 if (p->p_flag & P_SYSTEM) 206 dumpthread(p, td, p->p_flag [all...] |
/freebsd-9.3-release/sys/kern/ |
H A D | kern_exit.c | 108 if (p->p_flag & P_ORPHAN) { 110 p->p_flag &= ~P_ORPHAN; 157 while (p->p_flag & P_HADTHREADS) { 206 p->p_flag &= ~P_STOPPED_SIG; 214 p->p_flag |= P_WEXIT; 269 p->p_flag &= ~(P_TRACED | P_PPWAIT | P_PPTRACE); 437 if (q->p_flag & P_TRACED) { 447 q->p_flag &= ~(P_TRACED | P_STOPPED_TRACE); 1103 if (q->p_flag & P_STATCHILD) { 1105 q->p_flag [all...] |
H A D | sys_process.c | 134 if ((td->td_proc->p_flag & P_INMEM) == 0) \ 698 if ((p->p_flag & P_WEXIT) != 0) { 711 if ((p->p_flag & P_SYSTEM) != 0) { 717 if ((p->p_flag & P_STOPPED_TRACE) != 0) { 753 if (p->p_flag & P_TRACED) { 759 if (curp->p_flag & P_TRACED) { 780 if ((p->p_flag & P_TRACED) == 0) { 792 if ((p->p_flag & (P_STOPPED_SIG | P_STOPPED_TRACE)) == 0 || 794 (p->p_flag & P_WAITED) == 0) { 799 if ((p->p_flag [all...] |
H A D | subr_syscall.c | 67 if (p->p_flag & P_TRACED) { 88 if (p->p_flag & P_TRACED && p->p_stops & S_PT_SCE) { 208 if (p->p_flag & P_TRACED) { 251 while (p2->p_flag & P_PPWAIT)
|
H A D | tty_tty.c | 70 if (!(curthread->td_proc->p_flag & P_CONTROLT))
|
H A D | kern_fork.c | 327 if (((p1->p_flag & (P_HADTHREADS|P_SYSTEM)) == P_HADTHREADS) && 358 if (((p1->p_flag & (P_HADTHREADS|P_SYSTEM)) == P_HADTHREADS) && 496 p2->p_flag = P_INMEM; 499 if (p1->p_flag & P_PROFIL) 522 p2->p_flag |= P_PROTECTED; 550 if ((p1->p_leader->p_flag & P_WEXIT) != 0) { 584 p2->p_flag |= p1->p_flag & P_SUGID; 587 if (p1->p_session->s_ttyvp != NULL && p1->p_flag & P_CONTROLT) 588 p2->p_flag | [all...] |
H A D | kern_thread.c | 435 if (p->p_flag & P_HADTHREADS) { 564 p->p_flag &= ~P_HADTHREADS; 627 if ((p->p_flag & P_HADTHREADS) == 0) 635 p->p_flag |= P_SINGLE_EXIT; 636 p->p_flag &= ~P_SINGLE_BOUNDARY; 638 p->p_flag &= ~P_SINGLE_EXIT; 640 p->p_flag |= P_SINGLE_BOUNDARY; 642 p->p_flag &= ~P_SINGLE_BOUNDARY; 644 p->p_flag |= P_STOPPED_SINGLE; 725 p->p_flag [all...] |
H A D | kern_clock.c | 657 if (p->p_flag & P_STOPPROF) 659 if ((p->p_flag & P_PROFIL) == 0) { 660 p->p_flag |= P_PROFIL; 677 if (p->p_flag & P_PROFIL) { 679 p->p_flag |= P_STOPPROF; 683 p->p_flag &= ~P_STOPPROF; 685 if ((p->p_flag & P_PROFIL) == 0) 687 p->p_flag &= ~P_PROFIL; 805 if (td->td_proc->p_flag & P_PROFIL)
|
H A D | kern_kthread.c | 103 p2->p_flag |= P_SYSTEM | P_KTHREAD; 180 if ((p->p_flag & P_KTHREAD) == 0) { 197 if ((p->p_flag & P_KTHREAD) == 0) { 295 p->p_flag |= P_HADTHREADS;
|
H A D | subr_trap.c | 107 KASSERT((p->p_flag & P_WEXIT) == 0, 134 if (p->p_flag & P_PROFIL) 207 if (td->td_pflags & TDP_OWEUPC && p->p_flag & P_PROFIL) {
|
H A D | kern_sig.c | 1609 if (p->p_pid <= 1 || p->p_flag & P_SYSTEM || 1643 if (p->p_pid <= 1 || p->p_flag & P_SYSTEM || 1843 (checkctty == 0 || p->p_flag & P_CONTROLT)) 1872 if ((p->p_flag & P_TRACED) == 0 && SIGISMEMBER(ps->ps_sigcatch, sig) && 2103 if (p->p_flag & P_CONTINUED) { 2104 p->p_flag &= ~P_CONTINUED; 2120 !((prop & SA_CONT) && (p->p_flag & P_STOPPED_SIG))) 2141 KASSERT(!(p->p_flag & P_WEXIT), 2148 if (p->p_flag & P_TRACED) 2155 p->p_flag [all...] |
H A D | kern_exec.c | 292 if (p->p_flag & P_HADTHREADS) { 306 if (p->p_flag & P_HADTHREADS) { 377 KASSERT((p->p_flag & P_INEXEC) == 0, 379 p->p_flag |= P_INEXEC; 667 p->p_flag |= P_EXEC; 668 if (p->p_pptr && (p->p_flag & P_PPWAIT)) { 669 p->p_flag &= ~(P_PPWAIT | P_PPTRACE); 705 (p->p_flag & P_TRACED) == 0) { 762 p->p_flag &= ~P_SUGID; 805 p->p_flag [all...] |
H A D | subr_kdb.c | 539 if (p->p_flag & P_INMEM) { 556 if (p->p_flag & P_INMEM && p->p_pid == pid) 585 if (p != NULL && (p->p_flag & P_INMEM))
|
/freebsd-9.3-release/sys/compat/linux/ |
H A D | linux_fork.c | 125 p2->p_flag |= P_PPWAIT; 140 while (p2->p_flag & P_PPWAIT) 275 p2->p_flag |= P_PPWAIT; 293 while (p2->p_flag & P_PPWAIT)
|
H A D | linux_emul.c | 319 if (q->p_flag & P_WEXIT) 326 if ((q->p_flag & P_WEXIT) == 0 && em->pdeath_signal != 0) { 464 if ((sp->p_flag & P_WEXIT) == 0)
|
/freebsd-9.3-release/sys/i386/linux/ |
H A D | linux_ptrace.c | 225 if (cpu_fxsr == 0 || (td->td_proc->p_flag & P_INMEM) == 0) 236 if (cpu_fxsr == 0 || (td->td_proc->p_flag & P_INMEM) == 0) 360 if ((p->p_flag & P_WEXIT) != 0) { 369 if ((p->p_flag & P_SYSTEM) != 0) { 375 if ((p->p_flag & P_TRACED) == 0) { 387 if (!P_SHOULDSTOP(p) || (p->p_flag & P_WAITED) == 0) {
|
/freebsd-9.3-release/usr.bin/logins/ |
H A D | logins.c | 71 static int p_flag; variable 265 if (p_flag) 376 p_flag = 1;
|
/freebsd-9.3-release/sys/sys/ |
H A D | proc.h | 498 int p_flag; /* (c) P_* flags. */ member in struct:proc 607 /* These flags are kept in p_flag. */ 642 #define P_SHOULDSTOP(p) ((p)->p_flag & P_STOPPED) 643 #define P_KILLED(p) ((p)->p_flag & P_WKILLED) 766 KASSERT(!((p)->p_flag & P_WEXIT) || (p) == curproc, \ 769 if (((p)->p_flag & P_INMEM) == 0) \ 785 if (((p)->p_flag & P_WEXIT) && (p)->p_lock == 0) \
|
/freebsd-9.3-release/crypto/heimdal/appl/login/ |
H A D | login.c | 370 static int p_flag; variable 386 { NULL, 'p', arg_flag, &p_flag, "don't purge environment" }, 763 if(p_flag)
|
/freebsd-9.3-release/sys/arm/arm/ |
H A D | genassym.c | 106 ASSYM(P_FLAG, offsetof(struct proc, p_flag));
|