/illumos-gate/usr/src/cmd/sgs/demo_rdb/common/ |
H A D | main.c | 234 while ((pstatus.pr_lwp.pr_why == PR_SYSEXIT) && in main() 266 if ((pstatus.pr_lwp.pr_why != PR_SYSEXIT) || in main() 271 "what: %d\n", pstatus.pr_lwp.pr_why, in main()
|
H A D | bpt.c | 331 if ((pstatus.pr_lwp.pr_why != PR_FAULTED) || in continue_to_break() 336 (pstatus.pr_lwp.pr_why == PR_FAULTED)) in continue_to_break() 343 pstatus.pr_lwp.pr_why, fltmsg, in continue_to_break() 462 if ((pstatus.pr_lwp.pr_why != PR_FAULTED) || in step_n() 465 "why: 0x%x what: 0x%x\n", pstatus.pr_lwp.pr_why, in step_n()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Psyscall.c | 157 P->status.pr_lwp.pr_why == PR_SYSENTRY)) { in Pcreate_agent() 286 if (P->status.pr_lwp.pr_why == PR_SYSENTRY && in execute() 467 } while (P->state == PS_STOP && P->status.pr_lwp.pr_why != PR_SYSEXIT); in Psyscall() 480 if (P->state != PS_STOP || P->status.pr_lwp.pr_why != PR_SYSEXIT) in Psyscall()
|
H A D | Pcontrol.c | 620 (P->status.pr_lwp.pr_why == PR_REQUESTED || in Pxcreate() 621 P->status.pr_lwp.pr_why == PR_SYSENTRY || in Pxcreate() 622 P->status.pr_lwp.pr_why == PR_SYSEXIT)) in Pxcreate() 667 P->status.pr_lwp.pr_why == PR_SYSENTRY && in Pxcreate() 696 P->status.pr_lwp.pr_why == PR_SYSEXIT && in Pxcreate() 712 P->status.pr_lwp.pr_why == PR_SYSEXIT && in Pxcreate() 1630 P->status.pr_lwp.pr_why = PR_SYSEXIT; in Preopen() 1641 (P->status.pr_lwp.pr_why == PR_REQUESTED || in Preopen() 1642 (P->status.pr_lwp.pr_why == PR_SYSEXIT && in Preopen() 1645 if (P->status.pr_lwp.pr_why == PR_REQUESTED) { in Preopen() [all …]
|
H A D | P32ton.c | 307 dst->pr_why = src->pr_why; in lwpstatus_32_to_n() 680 dst->pr_why = src->pr_why; in lwpstatus_n_to_32()
|
H A D | Pgcore.c | 168 psp->pr_why = lsp->pr_why; in mkprstatus() 293 psp->pr_why = lsp->pr_why; in mkprstatus32()
|
/illumos-gate/usr/src/cmd/ptools/pflags/ |
H A D | pflags.c | 306 (void) printf("\twhy = %s", prwhy(psp->pr_why)); in lwplook() 307 if (psp->pr_why != PR_REQUESTED && in lwplook() 308 psp->pr_why != PR_SUSPENDED) in lwplook() 310 prwhat(psp->pr_why, psp->pr_what)); in lwplook()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_proc.c | 561 pid, psp->pr_why, psp->pr_what); in dt_proc_control() 574 if (psp->pr_why == PR_REQUESTED) { in dt_proc_control() 589 if (psp->pr_why == PR_FAULTED && psp->pr_what == FLTBPT) in dt_proc_control() 591 else if (psp->pr_why == PR_SYSENTRY && in dt_proc_control() 594 else if (psp->pr_why == PR_SYSEXIT && in dt_proc_control() 597 else if (psp->pr_why == PR_SYSEXIT && in dt_proc_control()
|
/illumos-gate/usr/src/cmd/nohup/ |
H A D | nohup.c | 399 if (lsp->pr_why == PR_SYSEXIT && lsp->pr_errno == EINTR) { in lwp_restart() 503 psp->pr_lwp.pr_why == PR_JOBCONTROL) { in do_pnohup() 768 if (psp->pr_lwp.pr_why == PR_JOBCONTROL) { in pnohup()
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | main.c | 749 if ((Lsp->pr_why != PR_SYSENTRY && in main() 750 Lsp->pr_why != PR_SYSEXIT) || in main() 775 ((Pstate(Proc) == PS_STOP && Lsp->pr_why == PR_REQUESTED) || in main() 933 Lsp->pr_why == PR_JOBCONTROL) in worker_thread() 1016 switch (Lsp->pr_why) { in worker_thread() 1288 Lsp->pr_why, what); in worker_thread() 1294 if (Lsp->pr_why == PR_SYSEXIT && in worker_thread() 1355 Lsp->pr_why == PR_FAULTED && in worker_thread() 1379 if (Lsp->pr_why == PR_REQUESTED) { in worker_thread() 1409 Lsp->pr_why == PR_FAULTED && in worker_thread()
|
H A D | actions.c | 198 switch (Lsp->pr_why) { in stopsig() 405 if (Lsp->pr_why == PR_SYSEXIT && what == SYS_execve) { in sysentry()
|
H A D | systable.c | 1467 (Lsp->pr_why == PR_SYSEXIT && Lsp->pr_errno == 0 && in getsubcode() 1472 if (Lsp->pr_why == PR_SYSEXIT && Lsp->pr_errno == 0 && in getsubcode()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_proc.c | 416 psp->pr_flags, psp->pr_why, psp->pr_what); in pt_post_attach() 424 if ((psp->pr_flags & PR_ISTOP) && psp->pr_why == PR_SYSEXIT && in pt_post_attach() 440 psp->pr_why == PR_JOBCONTROL && getsid(0) == Pstatus(P)->pr_sid) in pt_post_attach() 545 if (psp->pr_why == PR_FAULTED && (psp->pr_what == FLTBPT || in pt_pre_detach() 548 else if (psp->pr_why == PR_SIGNALLED && psp->pr_what == SIGINT) in pt_pre_detach() 675 if (Pstatus(C)->pr_lwp.pr_why != PR_SYSEXIT) in pt_fork() 680 if (csp->pr_why != PR_SYSEXIT || in pt_fork() 742 } while (csp->pr_why != PR_SYSEXIT || in pt_fork() 1527 switch (psp->pr_why) { in pt_print_reason() 1579 psp->pr_why, psp->pr_what); in pt_print_reason() [all …]
|
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | struct_layout.h | 156 sl_field_t pr_why; member 222 sl_field_t pr_why; member
|
H A D | gen_struct_layout.c | 145 SCALAR_FIELD(lwpstatus_t, pr_why, 0); in gen_lwpstatus() 219 SCALAR_FIELD(prstatus_t, pr_why, 1); in gen_prstatus()
|
H A D | corenote.c | 1025 if (data_present(state, &layout->pr_why)) { in dump_lwpstatus() 1026 w = extract_as_word(state, &layout->pr_why); in dump_lwpstatus() 1231 if (data_present(state, &layout->pr_why)) { in dump_prstatus() 1232 w = extract_as_word(state, &layout->pr_why); in dump_prstatus()
|
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | old_procfs.h | 174 short pr_why; /* Reason for process stop (if stopped) */ member 478 short pr_why; /* Reason for process stop (if stopped) */ member
|
/illumos-gate/usr/src/uts/sparc/sys/ |
H A D | old_procfs.h | 173 short pr_why; /* Reason for process stop (if stopped) */ member 477 short pr_why; /* Reason for process stop (if stopped) */ member
|
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | old_notes.c | 160 bigwad->prstat.pr_why = 0; in write_old_elfnotes()
|
H A D | elf_notes.c | 308 bigwad->pstatus.pr_lwp.pr_why = 0; in write_elfnotes() 574 bigwad->lwpstatus.pr_why = 0; in write_elfnotes()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | procfs.h | 129 short pr_why; /* reason for lwp stop, if stopped */ 722 short pr_why; /* reason for lwp stop, if stopped */
|
/illumos-gate/usr/src/cmd/ptools/pstack/ |
H A D | pstack.c | 702 (psp->pr_why == PR_SYSENTRY || in call_stack() 703 psp->pr_why == PR_SYSEXIT))) { in call_stack()
|
/illumos-gate/usr/src/lib/libpctx/common/ |
H A D | libpctx.c | 664 switch (pstatus->pr_lwp.pr_why) { in pctx_run() 842 (int)pid, pstatus->pr_lwp.pr_why); in pctx_run()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | gcore.c | 1230 sp->pr_why = PR_REQUESTED; in gcore_prgetlwpstatus() 1233 sp->pr_why = t->t_whystop; in gcore_prgetlwpstatus()
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prioctl.c | 1336 sp->pr_why = PR_REQUESTED; in oprgetstatus32() 1339 sp->pr_why = t->t_whystop; in oprgetstatus32() 3125 sp->pr_why = PR_REQUESTED; in oprgetstatus() 3128 sp->pr_why = t->t_whystop; in oprgetstatus()
|