| /freebsd-9-stable/sys/fs/procfs/ |
| D | procfs_ctl.c | 63 ((p)->p_flag & P_TRACED)) 124 if (p->p_flag & P_TRACED) { in procfs_control() 143 p->p_flag |= P_TRACED; in procfs_control() 210 if ((p->p_flag & P_TRACED) == 0) { in procfs_control() 216 p->p_flag &= ~(P_TRACED | P_STOPPED_TRACE); in procfs_control() 238 p->p_flag &= ~P_WAITED; /* XXX ? */ in procfs_control() 262 p->p_flag &= ~P_STOPPED_SIG; /* this uses SIGSTOP */ in procfs_control() 271 if (p->p_flag & P_TRACED) { in procfs_control() 274 (p->p_flag & P_TRACED) && in procfs_control() 346 p->p_flag &= ~P_STOPPED_SIG; in procfs_doprocctl()
|
| D | procfs.c | 121 if ((p->p_flag & P_SUGID) && pn->pn_type != pfstype_procdir) in procfs_attr() 136 return ((p->p_flag & P_SYSTEM) == 0); in procfs_notsystem() 147 return ((p->p_flag & P_SYSTEM) == 0 && p_candebug(td, p) == 0); in procfs_candebug()
|
| D | procfs_status.c | 96 if ((p->p_flag & P_CONTROLT) && (tp = sess->s_ttyp)) in procfs_doprocstatus() 125 if (p->p_flag & P_INMEM) { in procfs_doprocstatus() 189 if ((p->p_flag & P_SYSTEM) != 0) { in procfs_doproccmdline()
|
| D | procfs_ioctl.c | 127 while (p->p_step == 0 && (p->p_flag & P_WEXIT) == 0) { in procfs_ioctl() 147 while (p->p_step == 0 && (p->p_flag & P_WEXIT) == 0) { in procfs_ioctl() 186 p->p_flag &= ~(P_STOPPED_TRACE|P_STOPPED_SIG); in procfs_ioctl()
|
| /freebsd-9-stable/sys/ddb/ |
| D | db_ps.c | 174 if (!(p->p_flag & P_INMEM)) in db_ps() 176 if (p->p_flag & P_TRACED) in db_ps() 178 if (p->p_flag & P_WEXIT && p->p_state != PRS_ZOMBIE) in db_ps() 180 if (p->p_flag & P_PPWAIT) in db_ps() 182 if (p->p_flag & P_SYSTEM || p->p_lock > 0) in db_ps() 188 if (p->p_flag & P_CONTROLT) in db_ps() 193 if (p->p_flag & P_HADTHREADS) { in db_ps() 199 if (p->p_flag & P_SYSTEM) in db_ps() 202 if (p->p_flag & P_SYSTEM) in db_ps() 207 dumpthread(p, td, p->p_flag & P_HADTHREADS); in db_ps() [all …]
|
| /freebsd-9-stable/sys/vm/ |
| 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)) { in swapper() 755 if (p->p_flag & (P_INMEM | P_SWAPPINGOUT | P_SWAPPINGIN)) { in swapper() 829 if ((p->p_flag & P_SYSTEM) != 0) [all …]
|
| /freebsd-9-stable/sys/kern/ |
| D | kern_thread.c | 436 if (p->p_flag & P_HADTHREADS) { in thread_exit() 565 p->p_flag &= ~P_HADTHREADS; in thread_unthread() 628 if ((p->p_flag & P_HADTHREADS) == 0) in thread_single() 636 p->p_flag |= P_SINGLE_EXIT; in thread_single() 637 p->p_flag &= ~P_SINGLE_BOUNDARY; in thread_single() 639 p->p_flag &= ~P_SINGLE_EXIT; in thread_single() 641 p->p_flag |= P_SINGLE_BOUNDARY; in thread_single() 643 p->p_flag &= ~P_SINGLE_BOUNDARY; in thread_single() 645 p->p_flag |= P_STOPPED_SINGLE; in thread_single() 726 p->p_flag &= ~(P_STOPPED_SINGLE | P_SINGLE_EXIT); in thread_single() [all …]
|
| D | kern_exit.c | 190 while (p->p_flag & P_HADTHREADS) { in exit1() 239 p->p_flag &= ~P_STOPPED_SIG; in exit1() 247 p->p_flag |= P_WEXIT; in exit1() 302 p->p_flag &= ~(P_TRACED | P_PPWAIT | P_PPTRACE); in exit1() 468 if (!(q->p_flag & P_TRACED)) { in exit1() 490 q->p_flag &= ~(P_TRACED | P_STOPPED_TRACE); in exit1() 1156 if (q->p_flag & P_STATCHILD) { in kern_wait6() 1158 q->p_flag &= ~P_STATCHILD; in kern_wait6() 1177 (p->p_flag & P_TRACED) != 0 && in kern_wait6() 1178 (p->p_flag & (P_STOPPED_TRACE | P_STOPPED_SIG)) != 0 && in kern_wait6() [all …]
|
| D | kern_fork.c | 328 if (((p1->p_flag & (P_HADTHREADS|P_SYSTEM)) == P_HADTHREADS) && in fork_norfproc() 359 if (((p1->p_flag & (P_HADTHREADS|P_SYSTEM)) == P_HADTHREADS) && in fork_norfproc() 500 p2->p_flag = P_INMEM; in do_fork() 503 if (p1->p_flag & P_PROFIL) in do_fork() 526 p2->p_flag |= P_PROTECTED; in do_fork() 554 if ((p1->p_leader->p_flag & P_WEXIT) != 0) { in do_fork() 588 p2->p_flag |= p1->p_flag & P_SUGID; in do_fork() 591 if (p1->p_session->s_ttyvp != NULL && p1->p_flag & P_CONTROLT) in do_fork() 592 p2->p_flag |= P_CONTROLT; in do_fork() 595 p2->p_flag |= P_PPWAIT; in do_fork() [all …]
|
| D | sys_process.c | 136 if ((td->td_proc->p_flag & P_INMEM) == 0) \ 705 if ((p->p_flag & P_WEXIT) != 0) { 718 if ((p->p_flag & P_SYSTEM) != 0) { 724 if ((p->p_flag & P_STOPPED_TRACE) != 0) { 760 if (p->p_flag & P_TRACED) { 766 if (curp->p_flag & P_TRACED) { 787 if ((p->p_flag & P_TRACED) == 0) { 799 if ((p->p_flag & (P_STOPPED_SIG | P_STOPPED_TRACE)) == 0 || 801 (p->p_flag & P_WAITED) == 0) { 806 if ((p->p_flag & P_STOPPED_TRACE) == 0) { [all …]
|
| D | kern_sig.c | 1609 if (p->p_pid <= 1 || p->p_flag & P_SYSTEM || in killpg1() 1643 if (p->p_pid <= 1 || p->p_flag & P_SYSTEM || in killpg1() 1843 (checkctty == 0 || p->p_flag & P_CONTROLT)) in pgsignal() 1899 if ((p->p_flag & P_TRACED) == 0 && SIGISMEMBER(ps->ps_sigcatch, sig) && in trapsignal() 2115 if (p->p_flag & P_CONTINUED) { in tdsendsignal() 2116 p->p_flag &= ~P_CONTINUED; in tdsendsignal() 2132 !((prop & SA_CONT) && (p->p_flag & P_STOPPED_SIG))) in tdsendsignal() 2153 KASSERT(!(p->p_flag & P_WEXIT), in tdsendsignal() 2160 if (p->p_flag & P_TRACED) in tdsendsignal() 2167 p->p_flag &= ~P_STOPPED_SIG; in tdsendsignal() [all …]
|
| 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) in profclock_cnt()
|
| D | subr_syscall.c | 67 traced = (p->p_flag & P_TRACED) != 0; in syscallenter() 88 if (p->p_flag & P_TRACED) { in syscallenter() 215 if (p->p_flag & P_TRACED) { in syscallret() 258 while (p2->p_flag & P_PPWAIT) in syscallret()
|
| D | subr_trap.c | 107 KASSERT((p->p_flag & P_WEXIT) == 0, in userret() 134 if (p->p_flag & P_PROFIL) in userret() 207 if (td->td_pflags & TDP_OWEUPC && p->p_flag & P_PROFIL) { in ast()
|
| D | kern_kthread.c | 103 p2->p_flag |= P_SYSTEM | P_KTHREAD; in kproc_create() 180 if ((p->p_flag & P_KTHREAD) == 0) { in kproc_suspend() 197 if ((p->p_flag & P_KTHREAD) == 0) { in kproc_resume() 295 p->p_flag |= P_HADTHREADS; in kthread_add()
|
| 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 &= ~P_INEXEC; [all …]
|
| D | subr_kdb.c | 539 if (p->p_flag & P_INMEM) { in kdb_thr_first() 556 if (p->p_flag & P_INMEM && p->p_pid == pid) in kdb_thr_from_pid() 585 if (p != NULL && (p->p_flag & P_INMEM)) in kdb_thr_next()
|
| D | tty_tty.c | 70 if (!(curthread->td_proc->p_flag & P_CONTROLT)) in ctty_clone()
|
| /freebsd-9-stable/sys/i386/linux/ |
| D | linux_ptrace.c | 225 if (cpu_fxsr == 0 || (td->td_proc->p_flag & P_INMEM) == 0) in linux_proc_read_fpxregs() 236 if (cpu_fxsr == 0 || (td->td_proc->p_flag & P_INMEM) == 0) in linux_proc_write_fpxregs() 360 if ((p->p_flag & P_WEXIT) != 0) { in linux_ptrace() 369 if ((p->p_flag & P_SYSTEM) != 0) { in linux_ptrace() 375 if ((p->p_flag & P_TRACED) == 0) { in linux_ptrace() 387 if (!P_SHOULDSTOP(p) || (p->p_flag & P_WAITED) == 0) { in linux_ptrace()
|
| /freebsd-9-stable/usr.bin/logins/ |
| D | logins.c | 71 static int p_flag; variable 265 if (p_flag) in select_users() 376 p_flag = 1; in main()
|
| /freebsd-9-stable/sys/sys/ |
| D | proc.h | 501 int p_flag; /* (c) P_* flags. */ member 646 #define P_SHOULDSTOP(p) ((p)->p_flag & P_STOPPED) 647 #define P_KILLED(p) ((p)->p_flag & P_WKILLED) 775 KASSERT(!((p)->p_flag & P_WEXIT) || (p) == curproc, \ 778 if (((p)->p_flag & P_INMEM) == 0) \ 794 if (((p)->p_flag & P_WEXIT) && (p)->p_lock == 0) \
|
| /freebsd-9-stable/sys/compat/linux/ |
| D | linux_emul.c | 319 if (q->p_flag & P_WEXIT) in linux_proc_exit() 326 if ((q->p_flag & P_WEXIT) == 0 && em->pdeath_signal != 0) { in linux_proc_exit() 464 if ((sp->p_flag & P_WEXIT) == 0) in linux_kill_threads()
|
| /freebsd-9-stable/contrib/less/ |
| D | charset.c | 33 int *p_flag; member 215 if (p->p_flag != NULL) 216 *(p->p_flag) = 1;
|
| /freebsd-9-stable/sys/compat/svr4/ |
| D | svr4_misc.c | 1299 if ((p->p_flag & P_STOPPED_SIG) && 1301 (p->p_flag & P_WAITED) == 0 && 1302 (p->p_flag & P_TRACED || uap->options & SVR4_WSTOPPED)) { 1305 p->p_flag |= P_WAITED; 1327 (p->p_flag & P_CONTINUED)) { 1330 p->p_flag &= ~P_CONTINUED; 1365 if (q->p_flag & P_STATCHILD) { 1366 q->p_flag &= ~P_STATCHILD;
|
| /freebsd-9-stable/lib/libkvm/ |
| D | kvm_proc.c | 240 if ((proc.p_flag & P_INMEM) && proc.p_stats != NULL) { in kvm_proclist() 292 if ((proc.p_flag & P_CONTROLT) && sess.s_ttyp != NULL) { in kvm_proclist() 365 if ((proc.p_flag & P_CONTROLT) == 0 || in kvm_proclist() 397 kp->ki_flag = proc.p_flag; in kvm_proclist()
|