/freebsd/tools/test/stress2/misc/ |
H A D | pread.sh | 40 sed '1,/^EOF/d' < $here/$0 > pread.c 41 mycc -o pread -Wall -Wextra pread.c 42 rm -f pread.c 50 /tmp/pread $mntpoint 58 /tmp/pread /dev/fd 67 /tmp/pread $mntpoint 77 /tmp/pread $mntpoint 85 /tmp/pread $mntpoint 92 /tmp/pread $mntpoint 99 /tmp/pread $mntpoint [all …]
|
H A D | midi2.sh | 82 pread(fd, buf, 0xbc59, 0x27dbb298LL); 83 pread(fd, buf, 0xbc59, 0x104e35c6d22eLL); 84 pread(fd, buf2, 0x40eddf, 0x405d1df88cbf41LL);
|
H A D | overlap.sh | 116 while ((nread = pread(fdes, buf, siz, 0)) == 0) 128 } while ((nread = pread(fdes, buf, siz, 0)) != -1);
|
H A D | procfs5.sh | 80 error = pread(fd, buf, uio_resid, uio_offset);
|
/freebsd/sbin/dump/ |
H A D | cache.c | 94 return(pread(fd, buf, nbytes, offset)); in cread() 107 return(pread(fd, buf, nbytes, offset)); in cread() 128 n = pread(fd, blk->b_Data, BlockSize, blk->b_Offset); in cread() 141 return(pread(fd, buf, nbytes, offset)); in cread()
|
/freebsd/tests/sys/geom/class/eli/ |
H A D | unaligned_io.c | 103 n = pread(fd, buf1, iosz, 0); in main() 107 n = pread(fd, buf2 + i, iosz, 0); in main() 123 n = pread(fd, buf2, iosz, 0); in main()
|
/freebsd/usr.sbin/acpi/acpidump/ |
H A D | acpi_user.c | 104 pread(acpi_mem_fd, &rsdp, 8, addr); in acpi_get_rsdp() 109 pread(acpi_mem_fd, &rsdp, sizeof(rsdp), addr); in acpi_get_rsdp() 144 pread(acpi_mem_fd, &addr, sizeof(uint16_t), addr); in acpi_scan_rsd_ptr()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | get_diff.c | 67 while ((bytes = pread(fd1, buf1, DEV_BSIZE, off)) > 0) { in main() 68 if (pread(fd2, buf2, DEV_BSIZE, off) < 0) { in main()
|
/freebsd/lib/libkvm/ |
H A D | kvm_amd64.c | 216 if (pread(kd->pmfd, &pdpe, sizeof(pdpe), ofs) != sizeof(pdpe)) { in _amd64_vatop() 248 if (pread(kd->pmfd, &pde, sizeof(pde), ofs) != sizeof(pde)) { in _amd64_vatop() 280 if (pread(kd->pmfd, &pte, sizeof(pte), ofs) != sizeof(pte)) { in _amd64_vatop()
|
/freebsd/tests/sys/fs/fusefs/ |
H A D | read.cc | 407 ASSERT_EQ(bufsize, pread(fd, buf, bufsize, 0)) << strerror(errno); in TEST_F() 413 ASSERT_EQ(bufsize, pread(fd, buf, bufsize, 0)) << strerror(errno); in TEST_F() 576 ASSERT_EQ(0, pread(fd, buf, 0, offset)) << strerror(errno); in TEST_F() 602 ASSERT_EQ(bufsize, pread(fd, buf, bufsize, offset)) << strerror(errno); in TEST_F() 608 ASSERT_EQ(bufsize, pread(fd, buf, bufsize, offset)) << strerror(errno); in TEST_F() 636 ASSERT_EQ(halfbufsize, pread(fd, buf, bufsize, offset)) in TEST_F() 696 r = pread(fd, buf, bufsize, offset); in TEST_F() 727 ASSERT_EQ(bufsize, pread(fd, buf, bufsize, m_maxbcachebuf * 2)) in TEST_F() 730 ASSERT_EQ(0, pread(fd, buf, bufsize, m_maxbcachebuf)) in TEST_F() 954 ASSERT_EQ(bufsize, pread(fd, buf, bufsize, 0)) << strerror(errno); in TEST_F() [all …]
|
H A D | io.cc | 165 osize = pread(m_backing_fd, buf, isize, iofs); in SetUp() 302 ASSERT_EQ(size, pread(m_control_fd, control_buf, size, offs)) in do_mapread() 320 r = pread(m_test_fd, test_buf, size, offs); in do_read() 323 r = pread(m_control_fd, control_buf, size, offs); in do_read()
|
/freebsd/tests/sys/file/ |
H A D | fspacectl_test.c | 116 if (pread(fd, buf, blen, offset) != (ssize_t)blen) { in check_content_dealloc() 137 if (pread(fd, buf, blen, offset) != (ssize_t)blen) { in check_content_dealloc() 156 if (pread(fd, buf, blen, offset) != (ssize_t)blen) { in check_content_dealloc()
|
/freebsd/usr.sbin/fifolog/lib/ |
H A D | fifolog_int.c | 92 i = pread(f->fd, f->recbuf, f->recsize, 0); in fifolog_int_open_i() 203 i = pread(ff->fd, ff->recbuf, ff->recsize, recno * ff->recsize); in fifolog_int_read()
|
/freebsd/cddl/compat/opensolaris/include/ |
H A D | unistd.h | 35 #define pread64 pread
|
/freebsd/contrib/file/src/ |
H A D | readelf.c | 380 if (pread(fd, xph_addr, xph_sizeof, off) < in dophn_core() 404 if ((bufsize = pread(fd, nbuf, len, offs)) == -1) { in dophn_core() 1015 if (pread(fd, xph_addr, xph_sizeof, off) < in get_offset_from_virtaddr() 1051 (buflen = pread(fd, buf, CAST(size_t, buflen), offset)) <= 0) { in get_string_on_virtaddr() 1444 if (pread(fd, xsh_addr, xsh_sizeof, offs) < CAST(ssize_t, xsh_sizeof)) { in doshn() 1462 if ((namesize = pread(fd, name, sizeof(name) - 1, offs)) in doshn() 1476 if (pread(fd, xsh_addr, xsh_sizeof, off) < in doshn() 1529 if (pread(fd, nbuf, xsh_size, offs) < in doshn() 1748 if (pread(fd, xph_addr, xph_sizeof, off) < in dophn_exec() 1794 bufsize = pread(fd, nbuf, len, offs); in dophn_exec()
|
H A D | pread.c | 9 pread(int fd, void *buf, size_t len, off_t off) { in pread() function
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/dd/ |
H A D | dd_interceptors.cpp | 236 INTERCEPTOR(SSIZE_T, pread, int fd, void *ptr, SIZE_T count, OFF_T offset) { in INTERCEPTOR() argument 238 return REAL(pread)(fd, ptr, count, offset); in INTERCEPTOR() 325 INTERCEPT_FUNCTION(pread); in InitializeInterceptors()
|
/freebsd/stand/i386/libi386/ |
H A D | pread.c | 51 pread(fd, dest, size) in pread() function
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc/ |
H A D | tst.macroglob.ksh.out | 4 pread entry
|
/freebsd/tools/tools/ncpus/ |
H A D | acpi.c | 222 pread(acpi_mem_fd, &rsdp, 8, addr); in acpi_get_rsdp() 227 pread(acpi_mem_fd, &rsdp, sizeof(rsdp), addr); in acpi_get_rsdp()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/tmpfile/ |
H A D | tmpfile_001_pos.c | 60 if (pread(fd, buf2, BSZ, 0) < 0) in main()
|
/freebsd/contrib/netbsd-tests/usr.bin/sdiff/ |
H A D | d_iflags_d1.out | 38 > native-pread: permit 57 native-pread: permit | native-nanosleep: permit
|
H A D | d_iflags_b1.out | 38 > native-pread: permit 57 native-pread: permit | native-nanosleep: permit
|
/freebsd/usr.bin/sdiff/tests/ |
H A D | d_iflags_b1.out | 38 > native-pread: permit 57 native-pread: permit | native-nanosleep: permit
|
H A D | d_iflags_d1.out | 38 > native-pread: permit 57 native-pread: permit | native-nanosleep: permit
|