/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/common/ |
H A D | callstack.c | 84 pstatus_t pstatus; local 89 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), 0) == -1) 92 symstr = print_address_ps(ph, (ulong_t)pstatus.pr_lwp.pr_reg[R_PC], 94 (void) printf(" 0x%08x:%-17s\n", EC_WORD(pstatus.pr_lwp.pr_reg[R_PC]), 97 fp = pstatus.pr_lwp.pr_reg[R_FP];
|
H A D | dis.c | 93 pstatus_t pstatus; local 95 if (pread(ph->pp_statusfd, &pstatus, 96 sizeof (pstatus), 0) == -1) 97 perr("pap: reading pstatus"); 100 pstatus.pr_lwp.pr_lwpid, pltbase,
|
H A D | main.c | 136 pstatus_t pstatus; local 228 if (read(pstatusfd, &pstatus, sizeof (pstatus)) == -1) 234 while ((pstatus.pr_lwp.pr_why == PR_SYSEXIT) && 235 (pstatus.pr_lwp.pr_what == SYS_execve)) { 237 if (!(pstatus.pr_lwp.pr_reg[R_PS] & ERRBIT)) { 252 if (read(pstatusfd, &pstatus, sizeof (pstatus)) == -1) 266 if ((pstatus.pr_lwp.pr_why != PR_SYSEXIT) || 267 (pstatus [all...] |
H A D | bpt.c | 273 pstatus_t pstatus; local 327 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), 0) == -1) 331 if ((pstatus.pr_lwp.pr_why != PR_FAULTED) || 332 (pstatus.pr_lwp.pr_what != FLTBPT)) { 335 if ((pstatus.pr_lwp.pr_what <= MAXFAULT) && 336 (pstatus.pr_lwp.pr_why == PR_FAULTED)) 337 fltmsg = fault_strings[pstatus.pr_lwp.pr_what]; 343 pstatus.pr_lwp.pr_why, fltmsg, 344 pstatus 408 pstatus_t pstatus; local [all...] |
H A D | ps.c | 250 pstatus_t pstatus; local 252 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), 0) == -1) 255 *dm = (int)pstatus.pr_dmodel;
|
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/amd64/ |
H A D | regs.c | 55 pstatus_t pstatus; local 57 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), 63 disp_reg_line(ph, &pstatus, "gs", REG_GS, "fs", REG_FS); 64 disp_reg_line(ph, &pstatus, "es", REG_ES, "ds", REG_DS); 65 disp_reg_line(ph, &pstatus, "rdi", REG_RDI, "rsi", REG_RSI); 66 disp_reg_line(ph, &pstatus, "rbp", REG_RBP, "rsp", REG_RSP); 67 disp_reg_line(ph, &pstatus, "rbx", REG_RBX, "rdx", REG_RDX); 68 disp_reg_line(ph, &pstatus, "rcx", REG_RCX, "rax", REG_RAX); 69 disp_reg_line(ph, &pstatus, "trapn [all...] |
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/i386/ |
H A D | regs.c | 53 pstatus_t pstatus; local 55 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), 61 disp_reg_line(ph, &pstatus, "gs", GS, "fs", FS); 62 disp_reg_line(ph, &pstatus, "es", ES, "ds", DS); 63 disp_reg_line(ph, &pstatus, "edi", EDI, "esi", ESI); 64 disp_reg_line(ph, &pstatus, "ebp", EBP, "esp", ESP); 65 disp_reg_line(ph, &pstatus, "ebx", EBX, "edx", EDX); 66 disp_reg_line(ph, &pstatus, "ecx", ECX, "eax", EAX); 67 disp_reg_line(ph, &pstatus, "trapn [all...] |
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/sparc/ |
H A D | regs.c | 53 pstatus_t pstatus; local 56 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), 61 prst = &pstatus; 73 pstatus_t pstatus; local 76 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), 81 prst = &pstatus; 93 pstatus_t pstatus; local 96 if (pread(ph->pp_statusfd, &pstatus, sizeo 112 pstatus_t pstatus; local 132 pstatus_t pstatus; local 153 pstatus_t pstatus; local [all...] |
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/sparcv9/ |
H A D | regs.c | 66 pstatus_t pstatus; local 69 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), 74 prst = &pstatus; 86 pstatus_t pstatus; local 89 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), 94 prst = &pstatus; 106 pstatus_t pstatus; local 109 if (pread(ph->pp_statusfd, &pstatus, sizeo 131 pstatus_t pstatus; local 151 pstatus_t pstatus; local 172 pstatus_t pstatus; local [all...] |
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | gen_layout_obj.c | 43 pstatus_t pstatus; variable
|
H A D | struct_layout.h | 551 const sl_pstatus_layout_t *pstatus; /* pstatus_t */ member in struct:__anon69
|
/illumos-gate/usr/src/cmd/ppgsz/ |
H A D | ppgsz.c | 441 const pstatus_t *pstatus; local 458 if ((pstatus = Pstatus(Pr)) == NULL) 478 pstatus->pr_brkbase && 480 pstatus->pr_brkbase + pstatus->pr_brksize) { 483 } else if (map.pr_vaddr >= pstatus->pr_stkbase && 485 pstatus->pr_stkbase + pstatus->pr_stksize) {
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | status.c | 48 static char *pstatus = 0, variable 104 if (!pstatus) 105 pstatus = makepath(Lp_System, PSTATUSFILE, (char *)0); 106 if ((fd = open_locked(pstatus, "r", 0)) >= 0) { 107 char *tmp = pstatus; /* not NULL */ 206 note("Had trouble reading file %s", pstatus); 247 note("Had trouble reading file %s", pstatus); 567 if (!pstatus) 568 pstatus = makepath(Lp_System, PSTATUSFILE, (char *)0); 569 if ((fd = open_locked(pstatus, " [all...] |
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | elf_notes.c | 173 pstatus_t pstatus; member in union:__anon187 255 prgetstatus(p, &bigwad->pstatus, p->p_zone); 256 bigwad->pstatus.pr_lwp.pr_why = 0; 262 error = elfnote(vp, &offset, NT_PSTATUS, sizeof (bigwad->pstatus), 263 (caddr_t)&bigwad->pstatus, rlimit, credp);
|
/illumos-gate/usr/src/lib/libpctx/common/ |
H A D | libpctx.c | 402 const pstatus_t *pstatus; local 413 pstatus = Pstatus(pctx->Pr); 414 if (pstatus->pr_nlwp <= 1) { 416 ret = action(pctx, pstatus->pr_pid, 1, pctx->uarg); 422 "/proc/%d/lstatus", (int)pstatus->pr_pid); 445 pstatus->pr_pid, lwps->pr_lwpid, pctx->uarg) != 0) 529 const pstatus_t *pstatus; local 660 pstatus = Pstatus(pctx->Pr); 661 lwpid = pstatus->pr_lwp.pr_lwpid; 662 switch (pstatus [all...] |
/illumos-gate/usr/src/lib/libc/i386/sys/ |
H A D | ptrace.c | 74 pstatus_t pstatus; /* from /proc/<pid>/status */ member in struct:cstatus 219 ps = &cp->pstatus; 560 if (pread(cp->statusfd, (char *)&cp->pstatus, 561 sizeof (cp->pstatus), (off_t)0) == sizeof (cp->pstatus) && 562 cp->pstatus.pr_ppid == ppid && 563 (cp->pstatus.pr_flags & PR_PTRACE) && 612 pstatus_t *ps = &cp->pstatus; 667 pstatus_t *ps = &cp->pstatus;
|
/illumos-gate/usr/src/lib/libc/sparc/sys/ |
H A D | ptrace.c | 74 pstatus_t pstatus; /* from /proc/<pid>/status */ member in struct:cstatus 219 ps = &cp->pstatus; 568 if (pread(cp->statusfd, (char *)&cp->pstatus, 569 sizeof (cp->pstatus), (off_t)0) == sizeof (cp->pstatus) && 570 cp->pstatus.pr_ppid == ppid && 571 (cp->pstatus.pr_flags & PR_PTRACE) && 620 pstatus_t *ps = &cp->pstatus; 677 pstatus_t *ps = &cp->pstatus;
|
/illumos-gate/usr/src/cmd/ptools/pflags/ |
H A D | pflags.c | 133 pstatus_t pstatus; local 160 (void) memcpy(&pstatus, Pstatus(Pr), sizeof (pstatus_t)); 170 is64 = (pstatus.pr_dmodel == PR_MODEL_LP64); 172 sigmask = pstatus.pr_sigtrace; 173 fltmask = pstatus.pr_flttrace; 174 entryset = pstatus.pr_sysentry; 175 exitset = pstatus.pr_sysexit; 186 if ((flags = (pstatus.pr_flags & PROCFLAGS)) != 0) 229 sigpend = *((uint32_t *)&pstatus.pr_sigpend); 230 sigpend1 = *((uint32_t *)&pstatus [all...] |
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.proc.c | 622 int jobflags, pstatus; local 639 pstatus = pp->p_flags & PALLSTATES; 641 (pstatus == status && pp->p_reason == reason || 663 if (pstatus == status) 670 status = pstatus;
|
/illumos-gate/usr/src/lib/watchmalloc/common/ |
H A D | malloc.c | 1340 pstatus_t pstatus; local 1352 if (read(pfd, &pstatus, sizeof (pstatus)) 1353 == sizeof (pstatus)) 1354 ctl.fltset = pstatus.pr_flttrace;
|
/illumos-gate/usr/src/cmd/ptools/plgrp/ |
H A D | plgrp.c | 1199 const pstatus_t *pstatus; local 1220 pstatus = Pstatus(Ph); 1226 if (lwpid == pstatus->pr_agentid || 1235 (void) printf(FMT_THREAD" ", (int)pstatus->pr_pid, (int)lwpid); 1236 return (do_op(plgrp_args, pstatus->pr_pid, lwpid, lwpsinfo));
|
/illumos-gate/usr/src/cmd/rpcinfo/ |
H A D | rpcinfo.c | 109 static int pstatus(/*CLIENT *client, ulong_t prognum, ulong_t vers*/); 421 if (pstatus(client, prognum, vers) < 0) 457 (void) pstatus(client, prognum, MAX_VERS); 461 (void) pstatus(client, prognum, (ulong_t)0); 471 if (pstatus(client, prognum, vers) < 0) 1409 if (pstatus(client, prognum, versnum) < 0) 1447 (void) pstatus(client, prognum, MAX_VERS); 1451 (void) pstatus(client, prognum, (ulong_t)0); 1460 if (pstatus(client, prognum, versnum) < 0) 1525 if (pstatus(clien 1657 pstatus(client, prog, vers) function [all...] |
/illumos-gate/usr/src/cmd/zlogin/ |
H A D | zlogin.c | 1446 int pstatus = 0, error = -1, lockfd, doorfd; local 1491 retval = waitpid(child_pid, &pstatus, 0); 1493 if (WIFSIGNALED(pstatus) || 1494 (WIFEXITED(pstatus) && WEXITSTATUS(pstatus) != 0)) {
|
/illumos-gate/usr/src/cmd/smbsrv/smbadm/ |
H A D | smbadm.c | 964 char *pstatus; local 976 pstatus = "On"; 979 pstatus = "Off"; 982 pstatus = "Unknown"; 985 (void) printf(gettext("\t\t%s: %s\n"), pinfo->name, pstatus); local
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | procfs.h | 156 typedef struct pstatus { struct
|