/openbsd/sys/kern/ |
H A D | kern_ktrace.c | 172 atomic_setbits_int(&p->p_flag, P_INKTR); in ktrsyscall() 186 atomic_clearbits_int(&p->p_flag, P_INKTR); in ktrsyscall() 197 atomic_setbits_int(&p->p_flag, P_INKTR); in ktrsysret() 219 atomic_setbits_int(&p->p_flag, P_INKTR); in ktrnamei() 237 atomic_setbits_int(&p->p_flag, P_INKTR); in ktrgenio() 289 atomic_setbits_int(&p->p_flag, P_INKTR); in ktrpsig() 308 atomic_setbits_int(&p->p_flag, P_INKTR); in ktrstruct() 334 atomic_setbits_int(&p->p_flag, P_INKTR); in ktruser() 364 atomic_setbits_int(&p->p_flag, P_INKTR); in ktrexec() 401 atomic_setbits_int(&p->p_flag, P_INKTR); in ktrpledge() [all …]
|
H A D | kern_sig.c | 988 if (q->p_flag & P_WEXIT) in ptsignal_locked() 1005 if (q->p_flag & P_SIGSUSPEND) in ptsignal_locked() 1149 if (p->p_flag & P_SINTR) in ptsignal_locked() 1160 if ((p->p_flag & P_SINTR) == 0) in ptsignal_locked() 1535 if (!ISSET(q->p_flag, flag)) in process_continue() 1578 if (ISSET(p->p_flag, P_WEXIT)) in proc_stop() 2083 if (p->p_flag & P_SUSPSINGLE) in userret() 2087 if (p->p_flag & P_PROFPEND) { in userret() 2091 if (p->p_flag & P_ALRMPEND) { in userret() 2107 if (p->p_flag & P_SIGSUSPEND) { in userret() [all …]
|
H A D | kern_synch.c | 337 if (p->p_flag & P_CANTSLEEP) in sleep_setup() 345 if (p->p_flag & P_WEXIT) in sleep_setup() 356 atomic_setbits_int(&p->p_flag, P_WSLEEP); in sleep_setup() 359 atomic_setbits_int(&p->p_flag, P_SINTR); in sleep_setup() 371 catch = p->p_flag & P_SINTR; in sleep_finish() 374 KASSERT((p->p_flag & P_TIMEOUT) == 0); in sleep_finish() 402 atomic_clearbits_int(&p->p_flag, P_WSLEEP); in sleep_finish() 425 atomic_clearbits_int(&p->p_flag, P_SINTR); in sleep_finish() 428 if (p->p_flag & P_TIMEOUT) { in sleep_finish() 434 atomic_clearbits_int(&p->p_flag, P_TIMEOUT); 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() 280 KASSERT(!ISSET(p->p_flag, P_WSLEEP)); in setrunqueue() 338 KASSERT(p->p_flag & P_CPUPEG); in sched_chooseproc() 371 KASSERT(!ISSET(p->p_flag, P_WSLEEP)); in sched_chooseproc() 439 if (p->p_flag & P_CPUPEG) in sched_choosecpu() 523 if (p->p_flag & P_CPUPEG) in sched_steal_proc() 633 atomic_setbits_int(&p->p_flag, P_CPUPEG); in sched_peg_curproc() 645 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 | 472 atomic_setbits_int(&t->p_flag, P_TRACESINGLE); in ptrace_ctrl() 587 KASSERT((p->p_flag & P_SYSTEM) == 0); in ptrace_kstate() 605 if (t == NULL || ISSET(t->p_flag, P_WEXIT)) in ptrace_kstate() 655 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 | sched_bsd.c | 469 if (ISSET(p->p_flag, P_WSLEEP)) { in setrunnable() 479 if (ISSET(p->p_flag, P_WSLEEP)) in setrunnable()
|
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 | 284 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 | 215 int code = (p->p_flag & P_THREAD) ? SYS___tfork : in mi_child_return() 246 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)
|
/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()
|