Home
last modified time | relevance | path

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

123

/titanic_50/usr/src/cmd/sgs/librtld_db/demo/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()
/titanic_50/usr/src/cmd/sgs/librtld_db/demo/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()
/titanic_50/usr/src/cmd/avs/sdbc/
H A Dsd_diag.c252 r = pread(fd, buf2, bufsize, (off_t)(seekpos << SCTRSHFT)); in do_sdtest1()
292 r = pread(fd, buf2, bufsize, (off_t)(seekpos << SCTRSHFT)); in do_sdtest2()
341 r = pread(fd, buf2, bufsize, (off_t)(seekpos[i] << SCTRSHFT)); in do_sdtest3()
379 r = pread(fd, buf2, bufsize, (i*fba_num_bufsize) << SCTRSHFT); in do_sdtest4()
393 r = pread(fd, buf2, bufsize, (i*fba_num_bufsize) << SCTRSHFT); in do_sdtest4()
440 r = pread(fd, buf2, bufsize, (i*fba_num_bufsize) << SCTRSHFT); in do_sdtest5()
466 r = pread(fd, buf2, bufsize, (i*fba_num_bufsize) << SCTRSHFT); in do_sdtest5()
526 r = pread(fd, buf3, bufsize, (off_t)(bottom_pos << SCTRSHFT)); in do_sdtest6()
538 r = pread(fd, buf4, bufsize, (off_t)(top_pos << SCTRSHFT)); in do_sdtest6()
611 r_rd = pread(fd, buf1, bufsize, (curr_pos << SCTRSHFT)); in do_sdtest7read()
[all …]
/titanic_50/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
430 extern ssize_t pread(int, void *, size_t, off_t);
/titanic_50/usr/src/cmd/sgs/librtld_db/demo/common/
H A Ddis.c95 if (pread(ph->pp_statusfd, &pstatus, in print_address_ps()
178 if (pread(ph->pp_statusfd, &pstat, sizeof (pstat), 0) == -1) in disasm()
H A Dcallstack.c89 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), 0) == -1) in CallStack()
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 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()
/titanic_50/usr/src/lib/libc/common/sys/
H A Dpread.s39 SYSCALL2_RESTART_RVAL1(__pread,pread)
/titanic_50/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()
/titanic_50/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()
/titanic_50/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()
/titanic_50/usr/src/cmd/dtrace/test/tst/common/misc/
H A Dtst.macroglob.ksh.out2 pread entry
/titanic_50/usr/src/cmd/ps/
H A Ducbps.c590 if ((i = pread(pfd, argv32, sizeof (argv32), in preadargs()
600 if ((i = pread(pfd, argv, sizeof (argv), in preadargs()
611 (i = pread(pfd, psa, bsize, argoff)) <= 0) { in preadargs()
676 if ((i = pread(pfd, envp32, sizeof (envp32), in preadenvs()
686 if ((i = pread(pfd, envp, sizeof (envp), in preadenvs()
697 (i = pread(pfd, psa+1, bsize, envoff)) <= 0) { in preadenvs()
/titanic_50/usr/src/lib/libc/port/gen/
H A Dwalkstack.c170 if ((pread(fd, (void *)&newfp, sizeof (fp->fr_savfp), in read_safe()
172 pread(fd, (void *)savepc, sizeof (fp->fr_savpc), in read_safe()
/titanic_50/usr/src/cmd/boot/common/
H A Dboot_utils.c100 ret = pread(fd, buf, size, off); in read_in()
/titanic_50/usr/src/cmd/sgs/librtld_db/demo/amd64/
H A Dregs.c57 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), in display_all_regs()
/titanic_50/usr/src/cmd/sgs/librtld_db/demo/i386/
H A Dregs.c55 if (pread(ph->pp_statusfd, &pstatus, sizeof (pstatus), in display_all_regs()
/titanic_50/usr/src/test/zfs-tests/cmd/readmmap/
H A Dreadmmap.c112 bytes = pread(fd, buf, size, 0); in main()
/titanic_50/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c371 ret = pread(contfd, buffer, segment->length, segment->offset); in move_segment_data()
830 retval = pread(device_fd, &first_byte, sizeof (first_byte), 0); in fru_open_container()
982 retval = pread(fd, &sec_hdr, sizeof (sec_hdr), in get_section()
1023 retval = pread(fd, seg_buf, size - sizeof (sec_hdr), in get_section()
1354 retval = pread(fd, &sec_layout, sizeof (sec_layout), offset); in fru_add_segment()
1384 retval = pread(fd, segment_buf, (bufsize - sizeof (segment_layout_t)), in fru_add_segment()
1646 retval = pread(fd, sec_layout, sizeof (section_layout_t), in fru_delete_segment()
1654 retval = pread(fd, seg_buf, bufsize, in fru_delete_segment()
1774 retval = pread(fd, buffer, nbytes, in fru_read_segment()
1846 retval = pread(device_fd, (char *)buffer, size, offset); in get_packet()
[all …]
/titanic_50/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/
H A Dfru_access.c372 ret = pread(contfd, buffer, in move_segment_data()
933 retval = pread(fd, &sec_hdr, sizeof (sec_hdr), in get_section()
962 retval = pread(fd, seg_buf, size - sizeof (sec_hdr), in get_section()
1282 retval = pread(fd, &sec_layout, sizeof (sec_layout), offset); in fru_add_segment()
1312 retval = pread(fd, segment_buf, (bufsize - sizeof (segment_layout_t)), in fru_add_segment()
1572 retval = pread(fd, sec_layout, sizeof (section_layout_t), in fru_delete_segment()
1580 retval = pread(fd, seg_buf, bufsize, in fru_delete_segment()
1700 retval = pread(fd, buffer, nbytes, seg_hash->u.seg_obj->segment.offset); in fru_read_segment()
1736 retval = pread(device_fd, (char *)buffer, size, offset); in get_packet()
1770 retval = pread(device_fd, payload, packet_object->paylen, in get_payload()
[all …]
/titanic_50/usr/src/man/man2/
H A DMakefile222 pread.2 \
364 pread.2 := LINKSRC = read.2
/titanic_50/usr/src/lib/libc/i386/sys/
H A Dptrace.c238 if (pread(cp->asfd, (char *)&data, sizeof (data), (off_t)addr) in ptrace()
560 if (pread(cp->statusfd, (char *)&cp->pstatus, in GrabProc()
646 while (pread(cp->statusfd, (char *)ps, sizeof (*ps), (off_t)0) < 0) { in ProcUpdate()
709 (void) pread(fd, cp->user.u_psargs, PSARGSZ, in GetPsargs()
/titanic_50/usr/src/cmd/sendmail/db/os/
H A Dos_rw.c43 *niop = pread(db_iop->fd_io, db_iop->buf,
/titanic_50/usr/src/cmd/ptools/pwait/
H A Dpwait.c160 if (pread(pfd->fd, &psinfo, in main()

123