/illumos-gate/usr/src/lib/libproc/i386/ |
H A D | Pisadep.c | 65 if (Pread(P, &r, sizeof (r), r_addr) == sizeof (r) && 82 if (Pread(P, instr, sizeof (int_syscall_instr), addr) != 148 if (Pread(P, instr, sizeof (instr), pc) != sizeof (instr) || 219 (sz = Pread(P, &frame, sizeof (frame), (uintptr_t)fp) 264 Pread(P, &uc, sizeof (uc), uc_addr) == sizeof (uc)) { 318 if (Pread(P, &arglist[0], sizeof (int) * (nargs+1), (uintptr_t)ap)
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | expound.c | 167 if (Pread(Proc, &utimbuf, sizeof (utimbuf), offset) 176 if (Pread(Proc, &utimbuf32, sizeof (utimbuf32), offset) 209 if (Pread(Proc, &tod, sizeof (tod), offset) 215 if (Pread(Proc, &tod32, sizeof (tod32), offset) 234 if (Pread(Proc, &itimerval, sizeof (itimerval), offset) 240 if (Pread(Proc, &itimerval32, sizeof (itimerval32), offset) 266 if (Pread(Proc, &timeval, sizeof (timeval), offset) 272 if (Pread(Proc, &timeval32, sizeof (timeval32), offset) 296 if (Pread(Proc, ×truc, sizeof (timestruc), offset) 302 if (Pread(Pro [all...] |
H A D | stat.c | 69 Pread(Proc, &statb, sizeof (statb), offset) == sizeof (statb)) { 114 Pread(Proc, &statb, sizeof (statb), offset) == sizeof (statb)) { 158 Pread(Proc, &statb, sizeof (statb), offset) == sizeof (statb)) {
|
H A D | procset.c | 54 if (Pread(Proc, psp, sizeof (*psp), offset) == sizeof (*psp)) {
|
H A D | actions.c | 423 (void) Pread(Proc, &offset, 427 (void) Pread(Proc, &offset32, 942 fail = (Pread(Proc, &nargs, sizeof (nargs), ap) != sizeof (nargs)); 951 fail = (Pread(Proc, &xnargs, sizeof (xnargs), ap) != 956 fail = (Pread(Proc, &nargs, sizeof (nargs), ap) != 1024 if (Pread(Proc, argaddr, ptrsize, ap) != ptrsize) { 1066 if ((nbytes = Pread(Proc, buffer, nbytes, offset)) <= 0)
|
H A D | fcall.c | 990 Pread(Proc, &trash, sizeof (trash), sp) != sizeof (trash)) 1676 if (Pread(Proc, &rwin, sizeof (rwin), sp + STACK_BIAS) 1682 Pread(Proc, &rwin, sizeof (rwin), fp + STACK_BIAS) 1690 if (Pread(Proc, &rwin, sizeof (rwin), sp) == sizeof (rwin)) { 1695 Pread(Proc, &rwin, sizeof (rwin), fp) != sizeof (rwin)) 1719 if (Pread(Proc, &inst, sizeof (inst), rpc) == sizeof (inst) && 1752 if (Pread(Proc, frame, sizeof (frame), fp) != sizeof (frame) || 1754 Pread(Proc, trash, sizeof (trash), frame[0]) != sizeof (trash))) 1784 if ((count = Pread(Proc, instr, sizeof (instr), pc)) < 0) 1821 if (Pread(Pro [all...] |
H A D | print.c | 410 Pread(Proc, fds, sizeof (fds), (long)val) == sizeof (fds)) { 625 if (Pread(Proc, buffer, (size_t)nb, (long)val) != nb) 1337 if (Pread(Proc, &ccc, sizeof (ccc), val) != sizeof (ccc)) 1351 if (pri->Errno || Pread(Proc, &ccc, sizeof (ccc), val) != sizeof (ccc)) 1502 if (Pread(Proc, &clname, PC_CLNMSZ, pri->sys_args[3]) != PC_CLNMSZ) { 1586 if (Pread(Proc, &prms, sizeof (prms), val) != sizeof (prms)) { 1646 (Pread(Proc, &psd, sizeof (psd), value) != sizeof (psd))) { 1731 if (Pread(Proc, &minfo32, sizeof (struct meminfo32), val) != 1755 if (Pread(Proc, &minfo, sizeof (struct meminfo), val) != 2374 Pread(Pro [all...] |
/illumos-gate/usr/src/lib/libproc/amd64/ |
H A D | Pisadep.c | 68 if (Pread(P, &r, sizeof (r), r_addr) == sizeof (r) && 80 if (Pread(P, &r, sizeof (r), r_addr) == sizeof (r) && 98 if (Pread(P, instr, sizeof (syscall_instr), addr) != 106 if (Pread(P, instr, sizeof (int_syscall_instr), addr) != 188 if (Pread(P, instr, sizeof (instr), (uintptr_t)pc) != sizeof (instr)) 282 (sz = Pread(P, &frame, sizeof (frame), (uintptr_t)fp) 330 Pread(P, &uc, sizeof (uc), uc_addr) == sizeof (uc)) { 423 if (Pread(P, ins, insnsize, sym.st_value) != insnsize) 441 if (Pread(P, args, size, (fp - size)) != size) 455 if (Pread( [all...] |
/illumos-gate/usr/src/cmd/ptools/psig/ |
H A D | psig.c | 124 if (Pread(Pr, &addr, sizeof (addr), sym.st_value) 127 Pread(Pr, &uaddr, sizeof (uaddr), (uintptr_t)addr) 137 if (Pread(Pr, &addr, sizeof (addr), sym.st_value) 140 Pread(Pr, &uaddr, sizeof (uaddr), addr) 244 (void) Pread(Pr, &addr, sizeof (addr), 253 (void) Pread(Pr, &intfnaddr, sizeof (intfnaddr), 267 if (Pread(Pr, aharr, aharrlen, aharraddr) != aharrlen) {
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Psymtab_machelf32.c | 273 if (Pread(P, dp, phdr->p_filesz, phdr->p_vaddr) != 364 if (Pread(P, hash, sizeof (hash), hptr) != sizeof (hash)) { 365 dprintf("Pread of .hash at %lx failed\n", 479 if (Pread(P, &elfdata[ep->e_phoff], phnum * ep->e_phentsize, 526 if (Pread(P, &elfdata[off], sp->sh_size, 553 if (Pread(P, &elfdata[off], sp->sh_size, 579 if (Pread(P, &elfdata[off], sp->sh_size, 642 if (Pread(P, &ndx, sizeof (ndx), (uintptr_t)hash) != 644 dprintf("Pread of .hash at %lx failed\n", (long)hash); 649 if (Pread( [all...] |
H A D | Plwpregs.c | 412 if (Pread(P, stkp, sizeof (*stkp), addr) != sizeof (*stkp)) 418 if (Pread(P, &stk32, sizeof (stk32), addr) != sizeof (stk32)) 457 if (Pread(P, stkp, sizeof (*stkp), addr) != sizeof (*stkp)) 466 if (Pread(P, &stk32, sizeof (stk32), addr) != sizeof (stk32)) 483 if (Pread(P, stkp, sizeof (*stkp), 491 if (Pread(P, &stk32, sizeof (stk32),
|
H A D | Pstack.c | 198 if (Pread(P, &u32, sizeof (u32), addr) != sizeof (u32)) 203 if (Pread(P, &uc, sizeof (uc), addr) != sizeof (uc))
|
H A D | pr_meminfo.c | 165 if ((Pread(Pr, outdata, outarraysize, outaddr)) != outarraysize) { 166 dprintf("pr_meminfo: Pread of outarray failed\n"); 170 if (Pread(Pr, validity, validityarraysize, validityaddr) 172 dprintf("pr_meminfo: Pread of validity array failed\n");
|
H A D | Psymtab.c | 114 if (Pread(P, &phdr, sizeof (phdr), a) != 142 if (Pread(P, &phdr, sizeof (phdr), a) != 1020 if (Pread(P, ehdr, sizeof (*ehdr), addr) != sizeof (*ehdr)) 1040 Pread(P, &shdr0, sizeof (shdr0), addr + ehdr->e_shoff) != 1059 if (Pread(P, phdr, sizeof (*phdr), a) != sizeof (*phdr)) 1074 if (Pread(P, ehdr, sizeof (Elf64_Ehdr), addr) != sizeof (Elf64_Ehdr)) 1094 Pread(P, &shdr0, sizeof (shdr0), addr + ehdr->e_shoff) != 1113 if (Pread(P, phdr, sizeof (*phdr), a) != sizeof (*phdr)) 1237 if (Pread(P, dynp, phdr.p_filesz, phdr.p_vaddr) != 1272 if (Pread( [all...] |
H A D | Pexecname.c | 184 Pread(P, &addr, sizeof (addr), P->psinfo.pr_argv) != -1 &&
|
H A D | Psyscall.c | 501 if (Pread(P, adp->arg_object, adp->arg_size,
|
H A D | Pcontrol.c | 966 if (Pread(P, &magic2, sizeof (magic2), (uintptr_t)&magic1) 970 Pread(P, &magic2, sizeof (magic2), (uintptr_t)&magic1) 2169 Pread(struct ps_prochandle *P, function 2319 * code -- PLTs for example. If the Pread() fails, we assume that we 2322 if (Pread(P, &cur, sizeof (cur), address) == sizeof (cur) && 3785 if (Pread(P, stkp, sizeof (*stkp), addr) != sizeof (*stkp)) 3791 if (Pread(P, &stk32, sizeof (stk32), addr) != sizeof (stk32)) 3820 if (Pread(P, stkp, sizeof (*stkp), 3828 if (Pread(P, &stk32, sizeof (stk32),
|
H A D | libproc.h | 278 extern ssize_t Pread(struct ps_prochandle *, void *, size_t, uintptr_t);
|
H A D | llib-lproc | 66 ssize_t Pread(struct ps_prochandle *Pr,
|
/illumos-gate/usr/src/lib/libproc/sparc/ |
H A D | Pisadep.c | 70 if (Pread(P, &r, sizeof (r), r_addr) == sizeof (r) && 90 if (Pread(P, &instr, sizeof (instr), addr) != sizeof (instr) || 293 Pread(P, &uc, sizeof (uc), sp + 299 n = Pread(P, &gregs[R_L0], sizeof (struct rwindow), sp); 305 * If we get here, then our Pread of the register window
|
/illumos-gate/usr/src/lib/libproc/sparcv9/ |
H A D | Pisadep.c | 85 if (Pread(P, &r, sizeof (r), r_addr) == sizeof (r) && 102 if (Pread(P, &r, sizeof (r), r_addr) == sizeof (r) && 126 if (Pread(P, &instr, sizeof (instr), addr) != sizeof (instr) || 378 Pread(P, &uc32, sizeof (uc32), sp + 384 n = Pread(P, &rw32, sizeof (struct rwindow32), sp); 396 Pread(P, &uc, sizeof (uc), sp + 402 n = Pread(P, &gregs[R_L0], sizeof (struct rwindow), sp); 409 * If we get here, then our Pread of the register window
|
/illumos-gate/usr/src/lib/libdtrace/sparc/ |
H A D | dt_isadep.c | 85 if (Pread(P, text, symp->st_size, symp->st_value) != symp->st_size) { 86 dt_dprintf("mr sparkle: Pread() failed\n"); 118 if (Pread(P, &text[i], 4, 121 "Pread() failed\n");
|
/illumos-gate/usr/src/cmd/savecore/ |
H A D | savecore.c | 311 Pread(int fd, void *buf, size_t size, offset_t off) function 363 Pread(dumpfd, &dumphdr, sizeof (dumphdr), endoff); 364 Pread(dumpfd, &datahdr, sizeof (datahdr), endoff + sizeof (dumphdr)); 402 Pread(dumpfd, &corehdr, sizeof (dumphdr_t), dumphdr.dump_start); 514 Pread(dumpfd, buf, nr, dumpoff); 1374 Pread(dumpfd, ksyms_cbase, ksyms_csize, dumphdr.dump_ksyms); 1396 Pread(dumpfd, pfn_table, pfn_table_size, dumphdr.dump_pfn); 1468 Pread(dumpfd, &ld, sizeof (log_dump_t), dumpoff); 1483 Pread(dumpfd, ctl.buf, ctl.len, dumpoff); 1492 Pread(dumpf [all...] |
/illumos-gate/usr/src/lib/libdtrace/i386/ |
H A D | dt_isadep.c | 142 if (Pread(P, text, symp->st_size, symp->st_value) != symp->st_size) { 143 dt_dprintf("mr sparkle: Pread() failed\n"); 290 if (Pread(P, text, symp->st_size, symp->st_value) != 292 dt_dprintf("mr sparkle: Pread() failed\n"); 369 if (Pread(P, text, symp->st_size, symp->st_value) != symp->st_size) { 370 dt_dprintf("mr sparkle: Pread() failed\n");
|
/illumos-gate/usr/src/man/man3proc/ |
H A D | Makefile | 117 Pread.3proc \ 357 Pread_string.3proc := LINKSRC = Pread.3proc
|