Home
last modified time | relevance | path

Searched refs:pr_why (Results 1 – 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/cmd/sgs/demo_rdb/common/
H A Dmain.c234 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 Dbpt.c331 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 DPsyscall.c157 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 DPcontrol.c620 (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 DP32ton.c307 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 DPgcore.c168 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 Dpflags.c306 (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 Ddt_proc.c561 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 Dnohup.c397 if (lsp->pr_why == PR_SYSEXIT && lsp->pr_errno == EINTR) { in lwp_restart()
501 psp->pr_lwp.pr_why == PR_JOBCONTROL) { in do_pnohup()
766 if (psp->pr_lwp.pr_why == PR_JOBCONTROL) { in pnohup()
/illumos-gate/usr/src/cmd/truss/
H A Dmain.c749 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 Dactions.c198 switch (Lsp->pr_why) { in stopsig()
405 if (Lsp->pr_why == PR_SYSEXIT && what == SYS_execve) { in sysentry()
H A Dsystable.c1465 (Lsp->pr_why == PR_SYSEXIT && Lsp->pr_errno == 0 && in getsubcode()
1470 if (Lsp->pr_why == PR_SYSEXIT && Lsp->pr_errno == 0 && in getsubcode()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_proc.c416 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()
1530 switch (psp->pr_why) { in pt_print_reason()
1582 psp->pr_why, psp->pr_what); in pt_print_reason()
[all …]
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dstruct_layout.h156 sl_field_t pr_why; member
222 sl_field_t pr_why; member
H A Dgen_struct_layout.c145 SCALAR_FIELD(lwpstatus_t, pr_why, 0); in gen_lwpstatus()
219 SCALAR_FIELD(prstatus_t, pr_why, 1); in gen_prstatus()
H A Dcorenote.c1025 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 Dold_procfs.h174 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 Dold_procfs.h173 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 Dold_notes.c160 bigwad->prstat.pr_why = 0; in write_old_elfnotes()
H A Delf_notes.c308 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 Dprocfs.h129 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 Dpstack.c702 (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 Dlibpctx.c664 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 Dgcore.c1230 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 Dprioctl.c1355 sp->pr_why = PR_REQUESTED; in oprgetstatus32()
1358 sp->pr_why = t->t_whystop; in oprgetstatus32()
3168 sp->pr_why = PR_REQUESTED; in oprgetstatus()
3171 sp->pr_why = t->t_whystop; in oprgetstatus()

12