Home
last modified time | relevance | path

Searched refs:pread (Results 1 – 25 of 77) sorted by relevance

1234

/illumos-gate/usr/src/cmd/sgs/demo_rdb/sparc/
H A Dregs.c56 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), in display_local_regs()
76 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), in display_out_regs()
96 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), in display_special_regs()
115 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), in display_global_regs()
135 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), in display_in_regs()
155 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), in display_all_regs()
/illumos-gate/usr/src/cmd/sgs/demo_rdb/sparcv9/
H A Dregs.c69 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), in display_local_regs()
89 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), in display_out_regs()
109 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), in display_special_regs()
134 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), in display_global_regs()
154 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), in display_in_regs()
174 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), in display_all_regs()
/illumos-gate/usr/src/head/
H A Dunistd.h202 #pragma redefine_extname pread pread64
210 #define pread pread64
223 #pragma redefine_extname pread64 pread
231 #define pread64 pread
436 extern ssize_t pread(int, void *, size_t, off_t);
/illumos-gate/usr/src/cmd/sgs/demo_rdb/common/
H A Ddis.c96 if (pread(ph->pp_statusfd, &pstatus, in print_address_ps()
185 if (pread(ph->pp_statusfd, &pstat, sizeof (pstat), 0) == -1) in disasm()
H A Dbpt.c327 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), 0) == -1) in continue_to_break()
415 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), 0) == -1) in step_n()
457 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), 0) == -1) in step_n()
H A Dcallstack.c89 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), 0) == -1) in CallStack()
H A Dps.c252 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), 0) == -1) in ps_pdmodel()
262 if (pread(ph->pp_asfd, buf, size, (off_t)addr) != size) in ps_pread()
/illumos-gate/usr/src/lib/libc/common/sys/
H A Dpread.S39 SYSCALL2_RESTART_RVAL1(__pread,pread)
/illumos-gate/usr/src/lib/libc/sparc/sys/
H A Dptrace.c238 if (pread(cp->asfd, (char *)&data, sizeof (data), (off_t)addr) in ptrace()
326 (void) pread(cp->asfd, (char *)&ps->pr_lwp.pr_reg[R_L0], in ptrace()
568 if (pread(cp->statusfd, (char *)&cp->pstatus, in GrabProc()
645 (void) pread(cp->asfd, (char *)&ps->pr_lwp.pr_reg[R_L0], in ProcUpdate()
656 while (pread(cp->statusfd, (char *)ps, sizeof (*ps), (off_t)0) < 0) { in ProcUpdate()
719 (void) pread(fd, cp->user.u_psargs, PSARGSZ, in GetPsargs()
/illumos-gate/usr/src/cmd/hal/probing/volume/
H A Dprobe-volume.c145 if (pread (fd, buf, secsz, readoff) != secsz) { in hsfs_contents()
153 if (pread (fd, buf, secsz, readoff) != secsz) { in hsfs_contents()
172 if (pread (fd, buf, secsz, readoff) != secsz) { in hsfs_contents()
184 if (pread (fd, buf, secsz, readoff) != secsz) { in hsfs_contents()
/illumos-gate/usr/src/test/zfs-tests/cmd/mkholes/
H A Dmkholes.c167 ssize_t bytes = pread(fd, buf, readlen, off); in main()
193 if ((pread(fd, vbuf, len, off)) != len) { in main()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/misc/
H A Dtst.macroglob.ksh.out2 pread entry
/illumos-gate/usr/src/cmd/ps/
H A Ducbps.c592 if ((i = pread(pfd, argv32, sizeof (argv32), in preadargs()
602 if ((i = pread(pfd, argv, sizeof (argv), in preadargs()
613 (i = pread(pfd, psa, bsize, argoff)) <= 0) { in preadargs()
678 if ((i = pread(pfd, envp32, sizeof (envp32), in preadenvs()
688 if ((i = pread(pfd, envp, sizeof (envp), in preadenvs()
699 (i = pread(pfd, psa+1, bsize, envoff)) <= 0) { in preadenvs()
/illumos-gate/usr/src/boot/i386/libi386/
H A Dpread.c54 pread(fd, dest, size) in pread() function
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_mem_tracker.c44 if (pread(my_fd, &pbuf, sizeof (pbuf), 0) != sizeof (pbuf)) { in get_mem_kb()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dwalkstack.c169 if ((pread(fd, (void *)&newfp, sizeof (fp->fr_savfp), in read_safe()
171 pread(fd, (void *)savepc, sizeof (fp->fr_savpc), in read_safe()
/illumos-gate/usr/src/cmd/boot/common/
H A Dboot_utils.c100 ret = pread(fd, buf, size, off); in read_in()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c369 ret = pread(contfd, buffer, segment->length, segment->offset); in move_segment_data()
828 retval = pread(device_fd, &first_byte, sizeof (first_byte), 0); in fru_open_container()
980 retval = pread(fd, &sec_hdr, sizeof (sec_hdr), in get_section()
1021 retval = pread(fd, seg_buf, size - sizeof (sec_hdr), in get_section()
1352 retval = pread(fd, &sec_layout, sizeof (sec_layout), offset); in fru_add_segment()
1644 retval = pread(fd, sec_layout, sizeof (section_layout_t), in fru_delete_segment()
1652 retval = pread(fd, seg_buf, bufsize, in fru_delete_segment()
1772 retval = pread(fd, buffer, nbytes, in fru_read_segment()
1844 retval = pread(device_fd, (char *)buffer, size, offset); in get_packet()
1964 retval = pread(device_fd, in get_dev_or_buffered_packets()
[all …]
/illumos-gate/usr/src/cmd/sgs/demo_rdb/amd64/
H A Dregs.c57 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), in display_all_regs()
/illumos-gate/usr/src/cmd/sgs/demo_rdb/i386/
H A Dregs.c55 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), in display_all_regs()
/illumos-gate/usr/src/test/zfs-tests/cmd/readmmap/
H A Dreadmmap.c112 bytes = pread(fd, buf, size, 0); in main()
/illumos-gate/usr/src/man/man2/
H A DMakefile230 pread.2 \
373 pread.2 := LINKSRC = read.2
/illumos-gate/usr/src/lib/libc/i386/sys/
H A Dptrace.c236 if (pread(cp->asfd, (char *)&data, sizeof (data), (off_t)addr) in ptrace()
558 if (pread(cp->statusfd, (char *)&cp->pstatus, in GrabProc()
644 while (pread(cp->statusfd, (char *)ps, sizeof (*ps), (off_t)0) < 0) { in ProcUpdate()
707 (void) pread(fd, cp->user.u_psargs, PSARGSZ, in GetPsargs()
/illumos-gate/usr/src/cmd/boot/installgrub/
H A Dpcfs_glue.c103 ret = pread(dev_fd, filep->fi_memp, filep->fi_count, diskloc); in diskread()
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_rw.c43 *niop = pread(db_iop->fd_io, db_iop->buf,

1234