/openbsd/sys/kern/ |
H A D | kern_ktrace.c | 172 atomic_setbits_int(&p->p_flag, P_INKTR); in ktrsyscall() 184 atomic_clearbits_int(&p->p_flag, P_INKTR); in ktrsyscall() 195 atomic_setbits_int(&p->p_flag, P_INKTR); in ktrsysret() 215 atomic_setbits_int(&p->p_flag, P_INKTR); in ktrnamei() 231 atomic_setbits_int(&p->p_flag, P_INKTR); in ktrgenio() 283 atomic_setbits_int(&p->p_flag, P_INKTR); in ktrpsig() 302 atomic_setbits_int(&p->p_flag, P_INKTR); in ktrstruct() 328 atomic_setbits_int(&p->p_flag, P_INKTR); in ktruser() 358 atomic_setbits_int(&p->p_flag, P_INKTR); in ktrexec() 392 atomic_setbits_int(&p->p_flag, P_INKTR); in ktrpledge() [all …]
|
H A D | kern_sig.c | 500 atomic_setbits_int(&p->p_flag, P_SIGSUSPEND); in dosigsuspend() 964 if (q->p_p == pr && (q->p_flag & P_WEXIT) == 0 && in ptsignal_locked() 981 if (q->p_flag & P_WEXIT) in ptsignal_locked() 998 if (q->p_flag & P_SIGSUSPEND) in ptsignal_locked() 1084 atomic_clearbits_int(&p->p_flag, P_SUSPSIG); in ptsignal_locked() 1107 atomic_clearbits_int(&p->p_flag, P_SUSPSIG); in ptsignal_locked() 1124 atomic_clearbits_int(&p->p_flag, P_WSLEEP); in ptsignal_locked() 1151 if (p->p_flag & P_SINTR) in ptsignal_locked() 1162 if ((p->p_flag & P_SINTR) == 0) in ptsignal_locked() 1495 if ((p->p_flag in cursig() [all...] |
H A D | kern_synch.c | 339 if (p->p_flag & P_CANTSLEEP) in sleep_setup() 347 if (p->p_flag & P_WEXIT) in sleep_setup() 358 atomic_setbits_int(&p->p_flag, P_WSLEEP); in sleep_setup() 361 atomic_setbits_int(&p->p_flag, P_SINTR); in sleep_setup() 373 catch = p->p_flag & P_SINTR; in sleep_finish() 376 KASSERT((p->p_flag & P_TIMEOUT) == 0); in sleep_finish() 413 atomic_clearbits_int(&p->p_flag, P_WSLEEP); in sleep_finish() 436 atomic_clearbits_int(&p->p_flag, P_SINTR); in sleep_finish() 439 if (p->p_flag & P_TIMEOUT) { in sleep_finish() 445 atomic_clearbits_int(&p->p_flag, P_TIMEOU in sleep_finish() [all...] |
H A D | kern_exit.c | 122 atomic_setbits_int(&p->p_flag, P_WEXIT); in exit1() 177 if ((p->p_flag & P_THREAD) == 0) { in exit1() 196 if ((p->p_flag & P_THREAD) == 0) in exit1() 205 if ((p->p_flag & P_THREAD) == 0) { in exit1() 273 if ((p->p_flag & P_THREAD) == 0) { in exit1() 343 if ((p->p_flag & P_THREAD) == 0) { in exit1() 367 if (p->p_flag & P_THREAD) { in exit1() 468 if (p->p_flag & P_THREAD) { in reaper()
|
H A D | kern_sched.c | 153 atomic_setbits_int(&p->p_flag, P_CPUPEG); in sched_idle() 337 KASSERT(p->p_flag & P_CPUPEG); in sched_chooseproc() 437 if (p->p_flag & P_CPUPEG) in sched_choosecpu() 521 if (p->p_flag & P_CPUPEG) in sched_steal_proc() 631 atomic_setbits_int(&p->p_flag, P_CPUPEG); in sched_peg_curproc() 643 atomic_clearbits_int(&p->p_flag, P_CPUPEG); in sched_unpeg_curproc()
|
H A D | kern_fork.c | 153 p->p_flag = 0; in thread_new() 410 atomic_setbits_int(&p->p_flag, P_SYSTEM); in fork1() 564 atomic_setbits_int(&p->p_flag, P_THREAD); in thread_fork() 598 atomic_setbits_int(&p->p_flag, P_SUSPSINGLE); in thread_fork()
|
H A D | sys_process.c | 449 atomic_setbits_int(&t->p_flag, P_TRACESINGLE); in ptrace_ctrl() 564 KASSERT((p->p_flag & P_SYSTEM) == 0); in ptrace_kstate() 582 if (t == NULL || ISSET(t->p_flag, P_WEXIT)) in ptrace_kstate() 632 KASSERT((p->p_flag & P_SYSTEM) == 0); in ptrace_ustate()
|
H A D | kern_proc.c | 499 p->p_p->ps_flags, PS_BITS, p->p_flag, P_BITS); in proc_printit() 622 p->p_flag | pr->ps_flags, in db_show_all_procs() 640 pr->ps_flags, p->p_flag, in db_show_all_procs()
|
H A D | kern_time.c | 787 if (p == NULL || ISSET(p->p_flag, P_SYSTEM | P_WEXIT)) in itimer_update() 802 atomic_setbits_int(&p->p_flag, P_ALRMPEND); in itimer_update() 808 atomic_setbits_int(&p->p_flag, P_PROFPEND); in itimer_update()
|
H A D | subr_prof.c | 353 atomic_setbits_int(&p->p_flag, P_OWEUPC); in addupc_intr()
|
H A D | init_main.c | 282 atomic_setbits_int(&p->p_flag, P_SYSTEM); in main()
|
/openbsd/usr.bin/w/ |
H A D | proc_compare.c | 110 if (p1->p_flag & P_SINTR && (p2->p_flag & P_SINTR) == 0) in proc_compare() 112 if (p2->p_flag & P_SINTR && (p1->p_flag & P_SINTR) == 0) in proc_compare()
|
/openbsd/usr.bin/tmux/ |
H A D | procname.c | 66 if ((p1->p_flag & P_SINTR) && !(p2->p_flag & P_SINTR)) in cmp_procs() 68 if (!(p1->p_flag & P_SINTR) && (p2->p_flag & P_SINTR)) in cmp_procs()
|
/openbsd/gnu/llvm/lldb/tools/debugserver/source/ |
H A D | RNBServices.cpp | 62 proc_info.kp_proc.p_flag & P_TRACED || // Being debugged? in GetProcesses() 63 proc_info.kp_proc.p_flag & P_WEXIT // Working on exiting? in GetProcesses()
|
/openbsd/sys/sys/ |
H A D | syscall_mi.h | 220 int code = (p->p_flag & P_THREAD) ? SYS___tfork : in mi_child_return() 254 if (p->p_flag & P_OWEUPC) { in mi_ast()
|
H A D | resourcevar.h | 53 atomic_clearbits_int(&(p)->p_flag, P_OWEUPC); \
|
H A D | sysctl.h | 391 int32_t p_flag; /* INT: P_* flags. */ member 607 (kp)->p_flag = (p)->p_flag; \
|
H A D | ktrace.h | 216 ((p)->p_p->ps_traceflag & (1<<(type)) && ((p)->p_flag & P_INKTR) == 0)
|
H A D | proc.h | 352 int p_flag; /* P_* flags. */ member
|
/openbsd/gnu/llvm/lldb/source/Host/netbsd/ |
H A D | HostNetBSD.cpp | 217 proc_kinfo[i].p_flag & P_TRACED || // Being debugged? in FindProcessesImpl() 218 proc_kinfo[i].p_flag & P_WEXIT) // Working on exiting in FindProcessesImpl()
|
/openbsd/bin/ps/ |
H A D | print.c | 254 flag = kp->p_flag; in printstate() 638 (void)printf("%*llu", v->width, (kp->p_flag & P_SYSTEM) ? 0 : in rssize() 649 (void)printf("%*llu", v->width, (kp->p_flag & P_SYSTEM) ? 0 : in p_rssize() 716 if (kp->p_flag & P_SYSTEM) in getpmem()
|
H A D | keyword.c | 105 {"f", "F", NULL, 0, pvar, 7, 0, POFF(p_flag), INT32, "x"},
|
/openbsd/gnu/llvm/lldb/source/Host/openbsd/ |
H A D | Host.cpp | 183 kinfo.p_flag & P_WEXIT) // Working on exiting in FindProcessesImpl()
|
/openbsd/sys/arch/amd64/amd64/ |
H A D | genassym.cf | 33 member p_flag
|
/openbsd/gnu/llvm/lldb/tools/darwin-threads/ |
H A D | examine-threads.c | 347 if (kinfo->kp_proc.p_flag & P_TRACED) in main()
|