Home
last modified time | relevance | path

Searched refs:Pread (Results 1 – 25 of 30) sorted by relevance

12

/titanic_41/usr/src/cmd/truss/
H A Dexpound.c166 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, &timestruc, sizeof (timestruc), offset) in show_timestruc()
301 if (Pread(Proc, &timestruc32, sizeof (timestruc32), offset) in show_timestruc()
[all …]
H A Dstat.c69 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 Dactions.c423 (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 Dfcall.c990 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 Dprocset.c54 if (Pread(Proc, psp, sizeof (*psp), offset) == sizeof (*psp)) { in show_procset()
H A Dprint.c409 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 DPisadep.c68 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 DPisadep.c65 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 DPsymtab_machelf32.c269 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 DPlwpregs.c412 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 Dpr_meminfo.c165 if ((Pread(Pr, outdata, outarraysize, outaddr)) != outarraysize) { in pr_meminfo()
170 if (Pread(Pr, validity, validityarraysize, validityaddr) in pr_meminfo()
H A DPstack.c198 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 DPsymtab.c114 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 DPexecname.c184 Pread(P, &addr, sizeof (addr), P->psinfo.pr_argv) != -1 && in Pfindexec()
H A DPcontrol.c956 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 Dmapfile-vers166 Pread;
H A DPsyscall.c501 if (Pread(P, adp->arg_object, adp->arg_size, in Psyscall()
H A Dlibproc.h283 extern ssize_t Pread(struct ps_prochandle *, void *, size_t, uintptr_t);
/titanic_41/usr/src/cmd/ptools/psig/
H A Dpsig.c124 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 DPisadep.c85 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 DPisadep.c70 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 Dsavecore.c311 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 Ddt_isadep.c85 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 Ddt_isadep.c142 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 Dpargs.c585 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()

12