Home
last modified time | relevance | path

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

12

/openbsd/sys/kern/
H A Dkern_ktrace.c172 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 Dkern_sig.c500 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 Dkern_synch.c339 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 Dkern_exit.c122 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 Dkern_sched.c153 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 Dkern_fork.c153 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 Dsys_process.c449 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 Dkern_proc.c499 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 Dkern_time.c787 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 Dsubr_prof.c353 atomic_setbits_int(&p->p_flag, P_OWEUPC); in addupc_intr()
H A Dinit_main.c282 atomic_setbits_int(&p->p_flag, P_SYSTEM); in main()
/openbsd/usr.bin/w/
H A Dproc_compare.c110 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 Dprocname.c66 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 DRNBServices.cpp62 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 Dsyscall_mi.h220 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 Dresourcevar.h53 atomic_clearbits_int(&(p)->p_flag, P_OWEUPC); \
H A Dsysctl.h391 int32_t p_flag; /* INT: P_* flags. */ member
607 (kp)->p_flag = (p)->p_flag; \
H A Dktrace.h216 ((p)->p_p->ps_traceflag & (1<<(type)) && ((p)->p_flag & P_INKTR) == 0)
H A Dproc.h352 int p_flag; /* P_* flags. */ member
/openbsd/gnu/llvm/lldb/source/Host/netbsd/
H A DHostNetBSD.cpp217 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 Dprint.c254 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 Dkeyword.c105 {"f", "F", NULL, 0, pvar, 7, 0, POFF(p_flag), INT32, "x"},
/openbsd/gnu/llvm/lldb/source/Host/openbsd/
H A DHost.cpp183 kinfo.p_flag & P_WEXIT) // Working on exiting in FindProcessesImpl()
/openbsd/sys/arch/amd64/amd64/
H A Dgenassym.cf33 member p_flag
/openbsd/gnu/llvm/lldb/tools/darwin-threads/
H A Dexamine-threads.c347 if (kinfo->kp_proc.p_flag & P_TRACED) in main()

12