Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/cmd/truss/
H A Dexpound.c167 if (Pread(Proc, &utimbuf, sizeof (utimbuf), offset) in show_utimens()
176 if (Pread(Proc, &utimbuf32, sizeof (utimbuf32), offset) in show_utimens()
209 if (Pread(Proc, &tod, sizeof (tod), offset) in show_timeofday()
215 if (Pread(Proc, &tod32, sizeof (tod32), offset) in show_timeofday()
234 if (Pread(Proc, &itimerval, sizeof (itimerval), offset) in show_itimerval()
240 if (Pread(Proc, &itimerval32, sizeof (itimerval32), offset) in show_itimerval()
266 if (Pread(Proc, &timeval, sizeof (timeval), offset) in show_timeval()
272 if (Pread(Proc, &timeval32, sizeof (timeval32), offset) in show_timeval()
296 if (Pread(Proc, &timestruc, sizeof (timestruc), offset) in show_timestruc()
302 if (Pread(Proc, &timestruc32, sizeof (timestruc32), offset) in show_timestruc()
[all …]
H A Dstat.c63 Pread(Proc, &statb, sizeof (statb), offset) == sizeof (statb)) { in show_stat32()
108 Pread(Proc, &statb, sizeof (statb), offset) == sizeof (statb)) { in show_stat64_32()
151 Pread(Proc, &statb, sizeof (statb), offset) == sizeof (statb)) { in show_stat64()
H A Dfcall.c990 Pread(Proc, &trash, sizeof (trash), sp) != sizeof (trash)) in callstack_info()
1665 if (Pread(Proc, &rwin, sizeof (rwin), sp + STACK_BIAS) in previous_fp()
1671 Pread(Proc, &rwin, sizeof (rwin), fp + STACK_BIAS) in previous_fp()
1676 if (Pread(Proc, &rwin, sizeof (rwin), sp) == sizeof (rwin)) { in previous_fp()
1681 Pread(Proc, &rwin, sizeof (rwin), fp) != sizeof (rwin)) in previous_fp()
1703 if (Pread(Proc, &inst, sizeof (inst), rpc) == sizeof (inst) && in get_return_address()
1736 if (Pread(Proc, frame, sizeof (frame), fp) != sizeof (frame) || in previous_fp()
1738 Pread(Proc, trash, sizeof (trash), frame[0]) != sizeof (trash))) in previous_fp()
1768 if ((count = Pread(Proc, instr, sizeof (instr), pc)) < 0) in return_count32()
1805 if (Pread(Proc, &rpc, sizeof (rpc), sp) != sizeof (rpc)) in get_return_address32()
[all …]
H A Dactions.c423 (void) Pread(Proc, &offset, in sysentry()
427 (void) Pread(Proc, &offset32, in sysentry()
920 fail = (Pread(Proc, &nargs, sizeof (nargs), ap) != sizeof (nargs)); in showargs()
929 fail = (Pread(Proc, &xnargs, sizeof (xnargs), ap) != in showargs()
934 fail = (Pread(Proc, &nargs, sizeof (nargs), ap) != in showargs()
997 if (Pread(Proc, argaddr, ptrsize, ap) != ptrsize) { in dumpargs()
1039 if ((nbytes = Pread(Proc, buffer, nbytes, offset)) <= 0) in showbuffer()
H A Dprint.c414 Pread(Proc, fds, sizeof (fds), (long)val) == sizeof (fds)) { in prt_pfd()
629 if (Pread(Proc, buffer, (size_t)nb, (long)val) != nb) in prt_iob()
1341 if (Pread(Proc, &ccc, sizeof (ccc), val) != sizeof (ccc)) in prt_ccc()
1355 if (pri->Errno || Pread(Proc, &ccc, sizeof (ccc), val) != sizeof (ccc)) in prt_rcc()
1506 if (Pread(Proc, &clname, PC_CLNMSZ, pri->sys_args[3]) != PC_CLNMSZ) { in print_pck()
1590 if (Pread(Proc, &prms, sizeof (prms), val) != sizeof (prms)) { in prt_pc5()
1655 (Pread(Proc, &psd, sizeof (psd), value) != sizeof (psd))) { in prt_psdelta()
1739 if (Pread(Proc, &minfo32, sizeof (struct meminfo32), val) != in prt_mif()
1762 if (Pread(Proc, &minfo, sizeof (struct meminfo), val) != in prt_mif()
2573 Pread(Proc, set, setsize, val) == setsize) { in prt_prs()
[all …]
H A Dprocset.c51 if (Pread(Proc, psp, sizeof (*psp), offset) == sizeof (*psp)) { in show_procset()
/illumos-gate/usr/src/lib/libproc/amd64/
H A DPisadep.c69 if (Pread(P, &r, sizeof (r), r_addr) == sizeof (r) && in Ppltdest()
81 if (Pread(P, &r, sizeof (r), r_addr) == sizeof (r) && in Ppltdest()
99 if (Pread(P, instr, sizeof (syscall_instr), addr) != in Pissyscall()
107 if (Pread(P, instr, sizeof (int_syscall_instr), addr) != in Pissyscall()
211 if (Pread(P, instr, sizeof (instr), (uintptr_t)pc) != sizeof (instr)) in argcount()
305 (sz = Pread(P, &frame, sizeof (frame), (uintptr_t)fp) in Pstack_iter32()
359 Pread(P, &uc, sizeof (uc), uc_addr) == sizeof (uc)) { in Pstack_iter32()
452 if (Pread(P, ins, insnsize, sym.st_value) != insnsize) in read_args()
470 if (Pread(P, args, size, (fp - size)) != size) in read_args()
484 if (Pread(P, &args[regargs], size, fp + in read_args()
[all …]
/illumos-gate/usr/src/lib/libproc/common/
H A DPsymtab_machelf32.c273 if (Pread(P, dp, phdr->p_filesz, phdr->p_vaddr) != in fake_elf64()
364 if (Pread(P, hash, sizeof (hash), hptr) != sizeof (hash)) { in fake_elf64()
479 if (Pread(P, &elfdata[ep->e_phoff], phnum * ep->e_phentsize, in fake_elf64()
526 if (Pread(P, &elfdata[off], sp->sh_size, in fake_elf64()
553 if (Pread(P, &elfdata[off], sp->sh_size, in fake_elf64()
579 if (Pread(P, &elfdata[off], sp->sh_size, in fake_elf64()
643 if (Pread(P, &ndx, sizeof (ndx), (uintptr_t)hash) != in fake_elf64()
650 if (Pread(P, &sym, sizeof (sym), in fake_elf64()
669 if (Pread(P, &ndx, sizeof (ndx), (uintptr_t)hash) != in fake_elf64()
705 if (Pread(P, &elfdata[off], sp->sh_size, sp->sh_addr) != in fake_elf64()
H A DPlwpregs.c673 if (Pread(P, stkp, sizeof (*stkp), addr) != sizeof (*stkp)) in Plwp_stack()
679 if (Pread(P, &stk32, sizeof (stk32), addr) != sizeof (stk32)) in Plwp_stack()
718 if (Pread(P, stkp, sizeof (*stkp), addr) != sizeof (*stkp)) in Plwp_main_stack()
727 if (Pread(P, &stk32, sizeof (stk32), addr) != sizeof (stk32)) in Plwp_main_stack()
744 if (Pread(P, stkp, sizeof (*stkp), in Plwp_main_stack()
752 if (Pread(P, &stk32, sizeof (stk32), in Plwp_main_stack()
H A Dpr_meminfo.c163 if ((Pread(Pr, outdata, outarraysize, outaddr)) != outarraysize) { in pr_meminfo()
168 if (Pread(Pr, validity, validityarraysize, validityaddr) in pr_meminfo()
H A DPstack.c196 if (Pread(P, &u32, sizeof (u32), addr) != sizeof (u32)) in load_uclist()
201 if (Pread(P, &uc, sizeof (uc), addr) != sizeof (uc)) in load_uclist()
H A DPsymtab.c133 if (Pread(P, &phdr, sizeof (phdr), a) != in get_saddrs()
161 if (Pread(P, &phdr, sizeof (phdr), a) != in get_saddrs()
1054 if (Pread(P, ehdr, sizeof (*ehdr), addr) != sizeof (*ehdr)) in read_ehdr32()
1074 Pread(P, &shdr0, sizeof (shdr0), addr + ehdr->e_shoff) != in read_ehdr32()
1093 if (Pread(P, phdr, sizeof (*phdr), a) != sizeof (*phdr)) in read_dynamic_phdr32()
1108 if (Pread(P, ehdr, sizeof (Elf64_Ehdr), addr) != sizeof (Elf64_Ehdr)) in read_ehdr64()
1128 Pread(P, &shdr0, sizeof (shdr0), addr + ehdr->e_shoff) != in read_ehdr64()
1147 if (Pread(P, phdr, sizeof (*phdr), a) != sizeof (*phdr)) in read_dynamic_phdr64()
1271 if (Pread(P, dynp, phdr.p_filesz, phdr.p_vaddr) != in file_differs()
1306 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.c1025 if (Pread(P, &magic2, sizeof (magic2), (uintptr_t)&magic1) in Pgrab()
1029 Pread(P, &magic2, sizeof (magic2), (uintptr_t)&magic1) in Pgrab()
2242 Pread(struct ps_prochandle *P, in Pread() function
2395 if (Pread(P, &cur, sizeof (cur), address) == sizeof (cur) && in Pdelbkpt()
3872 if (Pread(P, stkp, sizeof (*stkp), addr) != sizeof (*stkp)) in Lstack()
3878 if (Pread(P, &stk32, sizeof (stk32), addr) != sizeof (stk32)) in Lstack()
3907 if (Pread(P, stkp, sizeof (*stkp), in Lmain_stack()
3915 if (Pread(P, &stk32, sizeof (stk32), in Lmain_stack()
H A Dmapfile-vers184 Pread;
H A DPsyscall.c501 if (Pread(P, adp->arg_object, adp->arg_size, in Psyscall()
/illumos-gate/usr/src/lib/libproc/i386/
H A DPisadep.c66 if (Pread(P, &r, sizeof (r), r_addr) == sizeof (r) && in Ppltdest()
83 if (Pread(P, instr, sizeof (int_syscall_instr), addr) != in Pissyscall()
171 if (Pread(P, instr, sizeof (instr), pc) != sizeof (instr) || in argcount()
242 (sz = Pread(P, &frame, sizeof (frame), (uintptr_t)fp) in Pstack_iter()
292 Pread(P, &uc, sizeof (uc), uc_addr) == sizeof (uc)) { in Pstack_iter()
346 if (Pread(P, &arglist[0], sizeof (int) * (nargs+1), (uintptr_t)ap) in Psyscall_copyoutargs()
/illumos-gate/usr/src/cmd/ptools/psig/
H A Dpsig.c122 if (Pread(Pr, &addr, sizeof (addr), sym.st_value) in uberdata_addr()
125 Pread(Pr, &uaddr, sizeof (uaddr), (uintptr_t)addr) in uberdata_addr()
135 if (Pread(Pr, &addr, sizeof (addr), sym.st_value) in uberdata_addr()
138 Pread(Pr, &uaddr, sizeof (uaddr), addr) in uberdata_addr()
242 (void) Pread(Pr, &addr, sizeof (addr), in look()
251 (void) Pread(Pr, &intfnaddr, sizeof (intfnaddr), in look()
265 if (Pread(Pr, aharr, aharrlen, aharraddr) != aharrlen) { in look()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/savecore/
H A Dsavecore.c313 Pread(int fd, void *buf, size_t size, offset_t off) in Pread() function
365 Pread(dumpfd, &dumphdr, sizeof (dumphdr), endoff); in read_dumphdr()
366 Pread(dumpfd, &datahdr, sizeof (datahdr), endoff + sizeof (dumphdr)); in read_dumphdr()
404 Pread(dumpfd, &corehdr, sizeof (dumphdr_t), dumphdr.dump_start); in read_dumphdr()
517 Pread(dumpfd, buf, nr, dumpoff); in Copy()
1403 Pread(dumpfd, ksyms_cbase, ksyms_csize, dumphdr.dump_ksyms); in build_corefile()
1425 Pread(dumpfd, pfn_table, pfn_table_size, dumphdr.dump_pfn); in build_corefile()
1496 Pread(dumpfd, &ld, sizeof (log_dump_t), dumpoff); in message_save()
1511 Pread(dumpfd, ctl.buf, ctl.len, dumpoff); in message_save()
1520 Pread(dumpfd, dat.buf, dat.len, dumpoff); in message_save()
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/lib/libdtrace/sparc/
H A Ddt_isadep.c83 if (Pread(P, text, symp->st_size, symp->st_value) != symp->st_size) { in dt_pid_create_return_probe()
116 if (Pread(P, &text[i], 4, in dt_pid_create_return_probe()
/illumos-gate/usr/src/man/man3proc/
H A DMakefile120 Pread.3proc \
385 Pread_string.3proc := LINKSRC = Pread.3proc
/illumos-gate/usr/src/cmd/ptools/pargs/
H A Dpargs.c593 res = Pread(datap->pd_proc, buf, nelems * sizeof (uintptr_t), in read_ptr_array()
599 res = Pread(datap->pd_proc, arr32, nelems * sizeof (uint32_t), in read_ptr_array()

12