/titanic_41/usr/src/cmd/truss/ |
H A D | expound.c | 166 if (Pread(Proc, &utimbuf, sizeof (utimbuf), offset) in show_utimens() 175 if (Pread(Proc, &utimbuf32, sizeof (utimbuf32), offset) in show_utimens() 208 if (Pread(Proc, &tod, sizeof (tod), offset) in show_timeofday() 214 if (Pread(Proc, &tod32, sizeof (tod32), offset) in show_timeofday() 233 if (Pread(Proc, &itimerval, sizeof (itimerval), offset) in show_itimerval() 239 if (Pread(Proc, &itimerval32, sizeof (itimerval32), offset) in show_itimerval() 265 if (Pread(Proc, &timeval, sizeof (timeval), offset) in show_timeval() 271 if (Pread(Proc, &timeval32, sizeof (timeval32), offset) in show_timeval() 295 if (Pread(Proc, ×truc, sizeof (timestruc), offset) in show_timestruc() 301 if (Pread(Proc, ×truc32, sizeof (timestruc32), offset) in show_timestruc() [all …]
|
H A D | stat.c | 69 Pread(Proc, &statb, sizeof (statb), offset) == sizeof (statb)) { in show_stat32() 114 Pread(Proc, &statb, sizeof (statb), offset) == sizeof (statb)) { in show_stat64_32() 158 Pread(Proc, &statb, sizeof (statb), offset) == sizeof (statb)) { in show_stat64()
|
H A D | actions.c | 423 (void) Pread(Proc, &offset, in sysentry() 427 (void) Pread(Proc, &offset32, in sysentry() 942 fail = (Pread(Proc, &nargs, sizeof (nargs), ap) != sizeof (nargs)); in showargs() 951 fail = (Pread(Proc, &xnargs, sizeof (xnargs), ap) != in showargs() 956 fail = (Pread(Proc, &nargs, sizeof (nargs), ap) != in showargs() 1024 if (Pread(Proc, argaddr, ptrsize, ap) != ptrsize) { in dumpargs() 1066 if ((nbytes = Pread(Proc, buffer, nbytes, offset)) <= 0) in showbuffer()
|
H A D | fcall.c | 990 Pread(Proc, &trash, sizeof (trash), sp) != sizeof (trash)) in callstack_info() 1676 if (Pread(Proc, &rwin, sizeof (rwin), sp + STACK_BIAS) in previous_fp() 1682 Pread(Proc, &rwin, sizeof (rwin), fp + STACK_BIAS) in previous_fp() 1690 if (Pread(Proc, &rwin, sizeof (rwin), sp) == sizeof (rwin)) { in previous_fp() 1695 Pread(Proc, &rwin, sizeof (rwin), fp) != sizeof (rwin)) in previous_fp() 1719 if (Pread(Proc, &inst, sizeof (inst), rpc) == sizeof (inst) && in get_return_address() 1752 if (Pread(Proc, frame, sizeof (frame), fp) != sizeof (frame) || in previous_fp() 1754 Pread(Proc, trash, sizeof (trash), frame[0]) != sizeof (trash))) in previous_fp() 1784 if ((count = Pread(Proc, instr, sizeof (instr), pc)) < 0) in return_count32() 1821 if (Pread(Proc, &rpc, sizeof (rpc), sp) != sizeof (rpc)) in get_return_address32() [all …]
|
H A D | procset.c | 54 if (Pread(Proc, psp, sizeof (*psp), offset) == sizeof (*psp)) { in show_procset()
|
H A D | print.c | 409 Pread(Proc, fds, sizeof (fds), (long)val) == sizeof (fds)) { in prt_pfd() 624 if (Pread(Proc, buffer, (size_t)nb, (long)val) != nb) in prt_iob() 1336 if (Pread(Proc, &ccc, sizeof (ccc), val) != sizeof (ccc)) in prt_ccc() 1350 if (pri->Errno || Pread(Proc, &ccc, sizeof (ccc), val) != sizeof (ccc)) in prt_rcc() 1501 if (Pread(Proc, &clname, PC_CLNMSZ, pri->sys_args[3]) != PC_CLNMSZ) { in print_pck() 1585 if (Pread(Proc, &prms, sizeof (prms), val) != sizeof (prms)) { in prt_pc5() 1638 if (Pread(Proc, &minfo32, sizeof (struct meminfo32), val) != in prt_mif() 1662 if (Pread(Proc, &minfo, sizeof (struct meminfo), val) != in prt_mif() 2278 Pread(Proc, set, setsize, val) == setsize) { in prt_prs() 2393 if (Pread(Proc, &laff, sizeof (lgrp_affinity_args_t), val) != in prt_laf()
|
/titanic_41/usr/src/lib/libproc/amd64/ |
H A D | Pisadep.c | 68 if (Pread(P, &r, sizeof (r), r_addr) == sizeof (r) && in Ppltdest() 80 if (Pread(P, &r, sizeof (r), r_addr) == sizeof (r) && in Ppltdest() 98 if (Pread(P, instr, sizeof (syscall_instr), addr) != in Pissyscall() 106 if (Pread(P, instr, sizeof (int_syscall_instr), addr) != in Pissyscall() 188 if (Pread(P, instr, sizeof (instr), (uintptr_t)pc) != sizeof (instr)) in argcount() 282 (sz = Pread(P, &frame, sizeof (frame), (uintptr_t)fp) in Pstack_iter32() 330 Pread(P, &uc, sizeof (uc), uc_addr) == sizeof (uc)) { in Pstack_iter32() 423 if (Pread(P, ins, insnsize, sym.st_value) != insnsize) in read_args() 441 if (Pread(P, args, size, (fp - size)) != size) in read_args() 455 if (Pread(P, &args[regargs], size, fp + in read_args() [all …]
|
/titanic_41/usr/src/lib/libproc/i386/ |
H A D | Pisadep.c | 65 if (Pread(P, &r, sizeof (r), r_addr) == sizeof (r) && in Ppltdest() 82 if (Pread(P, instr, sizeof (int_syscall_instr), addr) != in Pissyscall() 148 if (Pread(P, instr, sizeof (instr), pc) != sizeof (instr) || in argcount() 219 (sz = Pread(P, &frame, sizeof (frame), (uintptr_t)fp) in Pstack_iter() 264 Pread(P, &uc, sizeof (uc), uc_addr) == sizeof (uc)) { in Pstack_iter() 318 if (Pread(P, &arglist[0], sizeof (int) * (nargs+1), (uintptr_t)ap) in Psyscall_copyoutargs()
|
/titanic_41/usr/src/lib/libproc/common/ |
H A D | Psymtab_machelf32.c | 269 if (Pread(P, dp, phdr->p_filesz, phdr->p_vaddr) != in fake_elf64() 359 if (Pread(P, hash, sizeof (hash), hptr) != sizeof (hash)) { in fake_elf64() 477 if (Pread(P, &elfdata[ep->e_phoff], phnum * ep->e_phentsize, in fake_elf64() 524 if (Pread(P, &elfdata[off], sp->sh_size, in fake_elf64() 551 if (Pread(P, &elfdata[off], sp->sh_size, in fake_elf64() 577 if (Pread(P, &elfdata[off], sp->sh_size, in fake_elf64() 635 if (Pread(P, &ndx, sizeof (ndx), (uintptr_t)hash) != in fake_elf64() 642 if (Pread(P, &sym, sizeof (sym), in fake_elf64() 661 if (Pread(P, &ndx, sizeof (ndx), (uintptr_t)hash) != in fake_elf64() 697 if (Pread(P, &elfdata[off], sp->sh_size, sp->sh_addr) != in fake_elf64()
|
H A D | Plwpregs.c | 412 if (Pread(P, stkp, sizeof (*stkp), addr) != sizeof (*stkp)) in Plwp_stack() 418 if (Pread(P, &stk32, sizeof (stk32), addr) != sizeof (stk32)) in Plwp_stack() 457 if (Pread(P, stkp, sizeof (*stkp), addr) != sizeof (*stkp)) in Plwp_main_stack() 466 if (Pread(P, &stk32, sizeof (stk32), addr) != sizeof (stk32)) in Plwp_main_stack() 483 if (Pread(P, stkp, sizeof (*stkp), in Plwp_main_stack() 491 if (Pread(P, &stk32, sizeof (stk32), in Plwp_main_stack()
|
H A D | pr_meminfo.c | 165 if ((Pread(Pr, outdata, outarraysize, outaddr)) != outarraysize) { in pr_meminfo() 170 if (Pread(Pr, validity, validityarraysize, validityaddr) in pr_meminfo()
|
H A D | Pstack.c | 198 if (Pread(P, &u32, sizeof (u32), addr) != sizeof (u32)) in load_uclist() 203 if (Pread(P, &uc, sizeof (uc), addr) != sizeof (uc)) in load_uclist()
|
H A D | Psymtab.c | 114 if (Pread(P, &phdr, sizeof (phdr), a) != in get_saddrs() 142 if (Pread(P, &phdr, sizeof (phdr), a) != in get_saddrs() 1020 if (Pread(P, ehdr, sizeof (*ehdr), addr) != sizeof (*ehdr)) in read_ehdr32() 1040 Pread(P, &shdr0, sizeof (shdr0), addr + ehdr->e_shoff) != in read_ehdr32() 1059 if (Pread(P, phdr, sizeof (*phdr), a) != sizeof (*phdr)) in read_dynamic_phdr32() 1074 if (Pread(P, ehdr, sizeof (Elf64_Ehdr), addr) != sizeof (Elf64_Ehdr)) in read_ehdr64() 1094 Pread(P, &shdr0, sizeof (shdr0), addr + ehdr->e_shoff) != in read_ehdr64() 1113 if (Pread(P, phdr, sizeof (*phdr), a) != sizeof (*phdr)) in read_dynamic_phdr64() 1237 if (Pread(P, dynp, phdr.p_filesz, phdr.p_vaddr) != in file_differs() 1272 if (Pread(P, dynp, phdr.p_filesz, phdr.p_vaddr) != in file_differs() [all …]
|
H A D | Pexecname.c | 184 Pread(P, &addr, sizeof (addr), P->psinfo.pr_argv) != -1 && in Pfindexec()
|
H A D | Pcontrol.c | 956 if (Pread(P, &magic2, sizeof (magic2), (uintptr_t)&magic1) in Pgrab() 960 Pread(P, &magic2, sizeof (magic2), (uintptr_t)&magic1) in Pgrab() 2130 Pread(struct ps_prochandle *P, in Pread() function 2283 if (Pread(P, &cur, sizeof (cur), address) == sizeof (cur) && in Pdelbkpt() 3746 if (Pread(P, stkp, sizeof (*stkp), addr) != sizeof (*stkp)) in Lstack() 3752 if (Pread(P, &stk32, sizeof (stk32), addr) != sizeof (stk32)) in Lstack() 3781 if (Pread(P, stkp, sizeof (*stkp), in Lmain_stack() 3789 if (Pread(P, &stk32, sizeof (stk32), in Lmain_stack()
|
H A D | mapfile-vers | 166 Pread;
|
H A D | Psyscall.c | 501 if (Pread(P, adp->arg_object, adp->arg_size, in Psyscall()
|
H A D | libproc.h | 283 extern ssize_t Pread(struct ps_prochandle *, void *, size_t, uintptr_t);
|
/titanic_41/usr/src/cmd/ptools/psig/ |
H A D | psig.c | 124 if (Pread(Pr, &addr, sizeof (addr), sym.st_value) in uberdata_addr() 127 Pread(Pr, &uaddr, sizeof (uaddr), (uintptr_t)addr) in uberdata_addr() 137 if (Pread(Pr, &addr, sizeof (addr), sym.st_value) in uberdata_addr() 140 Pread(Pr, &uaddr, sizeof (uaddr), addr) in uberdata_addr() 244 (void) Pread(Pr, &addr, sizeof (addr), in look() 253 (void) Pread(Pr, &intfnaddr, sizeof (intfnaddr), in look() 267 if (Pread(Pr, aharr, aharrlen, aharraddr) != aharrlen) { in look()
|
/titanic_41/usr/src/lib/libproc/sparcv9/ |
H A D | Pisadep.c | 85 if (Pread(P, &r, sizeof (r), r_addr) == sizeof (r) && in Ppltdest() 102 if (Pread(P, &r, sizeof (r), r_addr) == sizeof (r) && in Ppltdest() 126 if (Pread(P, &instr, sizeof (instr), addr) != sizeof (instr) || in Pissyscall() 378 Pread(P, &uc32, sizeof (uc32), sp + in Pstack_iter() 384 n = Pread(P, &rw32, sizeof (struct rwindow32), sp); in Pstack_iter() 396 Pread(P, &uc, sizeof (uc), sp + in Pstack_iter() 402 n = Pread(P, &gregs[R_L0], sizeof (struct rwindow), sp); in Pstack_iter()
|
/titanic_41/usr/src/lib/libproc/sparc/ |
H A D | Pisadep.c | 70 if (Pread(P, &r, sizeof (r), r_addr) == sizeof (r) && in Ppltdest() 90 if (Pread(P, &instr, sizeof (instr), addr) != sizeof (instr) || in Pissyscall() 293 Pread(P, &uc, sizeof (uc), sp + in Pstack_iter() 299 n = Pread(P, &gregs[R_L0], sizeof (struct rwindow), sp); in Pstack_iter()
|
/titanic_41/usr/src/cmd/savecore/ |
H A D | savecore.c | 311 Pread(int fd, void *buf, size_t size, offset_t off) in Pread() function 363 Pread(dumpfd, &dumphdr, sizeof (dumphdr), endoff); in read_dumphdr() 364 Pread(dumpfd, &datahdr, sizeof (datahdr), endoff + sizeof (dumphdr)); in read_dumphdr() 402 Pread(dumpfd, &corehdr, sizeof (dumphdr_t), dumphdr.dump_start); in read_dumphdr() 514 Pread(dumpfd, buf, nr, dumpoff); in Copy() 1374 Pread(dumpfd, ksyms_cbase, ksyms_csize, dumphdr.dump_ksyms); in build_corefile() 1396 Pread(dumpfd, pfn_table, pfn_table_size, dumphdr.dump_pfn); in build_corefile() 1468 Pread(dumpfd, &ld, sizeof (log_dump_t), dumpoff); in message_save() 1483 Pread(dumpfd, ctl.buf, ctl.len, dumpoff); in message_save() 1492 Pread(dumpfd, dat.buf, dat.len, dumpoff); in message_save() [all …]
|
/titanic_41/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) { in dt_pid_create_return_probe() 118 if (Pread(P, &text[i], 4, in dt_pid_create_return_probe()
|
/titanic_41/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) { in dt_pid_create_return_probe() 290 if (Pread(P, text, symp->st_size, symp->st_value) != in dt_pid_create_offset_probe() 369 if (Pread(P, text, symp->st_size, symp->st_value) != symp->st_size) { in dt_pid_create_glob_offset_probes()
|
/titanic_41/usr/src/cmd/ptools/pargs/ |
H A D | pargs.c | 585 res = Pread(datap->pd_proc, buf, nelems * sizeof (uintptr_t), in read_ptr_array() 591 res = Pread(datap->pd_proc, arr32, nelems * sizeof (uint32_t), in read_ptr_array()
|