Home
last modified time | relevance | path

Searched refs:pr_errno (Results 1 – 21 of 21) sorted by relevance

/titanic_41/usr/src/lib/libproc/common/
H A DPsyscall.c513 if (P->status.pr_lwp.pr_errno) { /* error return */ in Psyscall()
514 error = P->status.pr_lwp.pr_errno; in Psyscall()
H A DP32ton.c324 dst->pr_errno = src->pr_errno; in lwpstatus_32_to_n()
697 dst->pr_errno = src->pr_errno; in lwpstatus_n_to_32()
H A DPcontrol.c629 (lasterrno = P->status.pr_lwp.pr_errno) != 0) { in Pxcreate()
645 P->status.pr_lwp.pr_errno == 0) { in Pxcreate()
1520 P->status.pr_lwp.pr_errno = 0; in Preopen()
1536 P->status.pr_lwp.pr_errno = 0; in Preopen()
/titanic_41/usr/src/lib/libpctx/common/
H A Dlibpctx.c712 if (pstatus->pr_lwp.pr_errno) { in pctx_run()
743 if (pstatus->pr_lwp.pr_errno || in pctx_run()
757 if (pstatus->pr_lwp.pr_errno) in pctx_run()
/titanic_41/usr/src/uts/common/sys/
H A Dprocfs.h136 int pr_errno; /* errno for failed syscall, 0 if successful */
593 int pr_errno; /* errno for failed syscall, 0 if successful */
H A Dmac_impl.h707 uint8_t pr_errno; member
/titanic_41/usr/src/cmd/truss/
H A Dipc.c260 int err = Lsp->pr_errno; in checkproc()
H A Dactions.c537 pri->Errno = Lsp->pr_errno; in sysexit()
H A Dsystable.c1461 (Lsp->pr_why == PR_SYSEXIT && Lsp->pr_errno == 0 && in getsubcode()
1466 if (Lsp->pr_why == PR_SYSEXIT && Lsp->pr_errno == 0 && in getsubcode()
H A Dmain.c1167 pri->Errno = Lsp->pr_errno; in worker_thread()
/titanic_41/usr/src/cmd/sgs/elfdump/common/
H A Dstruct_layout.h165 sl_field_t pr_errno; member
H A Dgen_struct_layout.c151 SCALAR_FIELD(lwpstatus_t, pr_errno, 0); in gen_lwpstatus()
H A Dcorenote.c964 if (data_present(state, &layout->pr_errno)) { in dump_lwpstatus()
965 w = extract_as_word(state, &layout->pr_errno); in dump_lwpstatus()
H A Delfdump.msg517 @ MSG_CNOTE_T_PR_ERRNO "pr_errno:"
/titanic_41/usr/src/cmd/nohup/
H A Dnohup.c399 if (lsp->pr_why == PR_SYSEXIT && lsp->pr_errno == EINTR) { in lwp_restart()
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_proc.c423 psp->pr_errno == 0 && psp->pr_what == SYS_execve) { in pt_post_attach()
630 psp->pr_errno, psp->pr_rval1, psp->pr_rval2); in pt_fork()
632 if (psp->pr_errno != 0) { in pt_fork()
741 csp->pr_errno != 0 || csp->pr_what != SYS_execve); in pt_fork()
813 psp->pr_lwp.pr_errno); in pt_exec()
815 if (psp->pr_lwp.pr_errno != 0) { in pt_exec()
3621 if (psp->pr_why == PR_SYSEXIT && psp->pr_errno == 0 && in pt_setrun()
4061 if (psp->pr_why == PR_SYSEXIT && psp->pr_errno == 0 && in pt_brkpt_disarm()
/titanic_41/usr/src/uts/common/io/mac/
H A Dmac_provider.c1400 pr->pr_errno = ENOBUFS; in mac_prop_info_set_default_str()
1443 pr->pr_errno = ENOSPC; in mac_prop_info_set_range_uint32()
H A Dmac.c3542 if (state.pr_errno != 0) in mac_prop_info()
3543 return (state.pr_errno); in mac_prop_info()
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/
H A Dgcore.c1288 sp->pr_errno = gcore_prgetrvals(lwp, &sp->pr_rval1, in gcore_prgetlwpstatus()
1290 if (sp->pr_errno == 0) in gcore_prgetlwpstatus()
/titanic_41/usr/src/lib/libdtrace/common/
H A Ddt_proc.c340 if (psp->pr_lwp.pr_errno != 0) in dt_proc_attach()
/titanic_41/usr/src/uts/common/fs/proc/
H A Dprsubr.c1052 sp->pr_errno = prgetrvals(lwp, &r1, &r2); in prgetlwpstatus32()
1053 if (sp->pr_errno == 0) { in prgetlwpstatus32()
1279 sp->pr_errno = prgetrvals(lwp, &sp->pr_rval1, &sp->pr_rval2); in prgetlwpstatus()
1280 if (sp->pr_errno == 0) in prgetlwpstatus()