/freebsd-11-stable/cddl/compat/opensolaris/include/ |
H A D | unistd.h | 37 #define pread64 pread
|
/freebsd-11-stable/contrib/file/src/ |
H A D | pread.c | 3 FILE_RCSID("@(#)$File: pread.c,v 1.3 2014/09/15 19:11:25 christos Exp $") 9 pread(int fd, void *buf, size_t len, off_t off) { function
|
H A D | buffer.c | 78 if (pread(b->fd, b->ebuf, b->elen, b->eoff) == -1) {
|
H A D | readelf.c | 378 if (pread(fd, xph_addr, xph_sizeof, off) < 398 if ((bufsize = pread(fd, nbuf, len, xph_offset)) == -1) { 942 if (pread(fd, xph_addr, xph_sizeof, off) < 974 (buflen = pread(fd, buf, CAST(size_t, buflen), offset)) <= 0) { 1358 if (pread(fd, xsh_addr, xsh_sizeof, CAST(off_t, (off + size * strtab))) 1375 if ((namesize = pread(fd, name, sizeof(name) - 1, 1386 if (pread(fd, xsh_addr, xsh_sizeof, off) < 1430 if (pread(fd, nbuf, xsh_size, xsh_offset) < 1643 if (pread(fd, xph_addr, xph_sizeof, off) < 1686 bufsize = pread(f [all...] |
/freebsd-11-stable/stand/i386/libi386/ |
H A D | pread.c | 2 * $NetBSD: pread.c,v 1.2 1997/03/22 01:48:38 thorpej Exp $ 37 __FBSDID("$FreeBSD: stable/11/stand/i386/libi386/pread.c 119482 2003-08-25 23:28:32Z obrien $"); 54 pread(fd, dest, size) function
|
/freebsd-11-stable/sbin/dump/ |
H A D | cache.c | 92 * block size, then revert to pread. Otherwise initialize the 96 return(pread(fd, buf, nbytes, offset)); 103 * revert to pread(). Full-block-reads are typically 109 return(pread(fd, buf, nbytes, offset)); 114 * result. If an error occurs, revert to pread() (this might 130 n = pread(fd, blk->b_Data, BlockSize, blk->b_Offset); 143 return(pread(fd, buf, nbytes, offset));
|
/freebsd-11-stable/usr.sbin/acpi/acpidump/ |
H A D | acpi_user.c | 106 pread(acpi_mem_fd, &rsdp, 8, addr); 111 pread(acpi_mem_fd, &rsdp, sizeof(rsdp), addr); 146 pread(acpi_mem_fd, &addr, sizeof(uint16_t), addr);
|
/freebsd-11-stable/usr.sbin/fifolog/lib/ |
H A D | fifolog_int.c | 94 i = pread(f->fd, f->recbuf, f->recsize, 0); 205 i = pread(ff->fd, ff->recbuf, ff->recsize, recno * ff->recsize);
|
/freebsd-11-stable/lib/libkvm/ |
H A D | kvm_minidump_amd64.c | 89 if (pread(kd->pmfd, &vmst->hdr, sizeof(vmst->hdr), 0) != 124 if (pread(kd->pmfd, bitmap, vmst->hdr.bitmapsize, off) != 138 if (pread(kd->pmfd, vmst->page_map, vmst->hdr.pmapsize, off) != 246 if (pread(kd->pmfd, &pt, AMD64_PAGE_SIZE, ofs) !=
|
H A D | kvm_minidump_i386.c | 89 if (pread(kd->pmfd, &vmst->hdr, sizeof(vmst->hdr), 0) != 118 if (pread(kd->pmfd, bitmap, vmst->hdr.bitmapsize, off) != 132 if (pread(kd->pmfd, vmst->ptemap, vmst->hdr.ptesize, off) !=
|
H A D | kvm_minidump_arm.c | 94 if (pread(kd->pmfd, &vmst->hdr, 132 if (pread(kd->pmfd, bitmap, vmst->hdr.bitmapsize, off) != 149 if (pread(kd->pmfd, vmst->ptemap, vmst->hdr.ptesize, off) !=
|
H A D | kvm_minidump_aarch64.c | 89 if (pread(kd->pmfd, &vmst->hdr, sizeof(vmst->hdr), 0) != 124 if (pread(kd->pmfd, bitmap, vmst->hdr.bitmapsize, off) != 148 if (pread(kd->pmfd, vmst->page_map, vmst->hdr.pmapsize, off) <
|
H A D | kvm_minidump_mips.c | 105 if (pread(kd->pmfd, &vmst->hdr, 139 if (pread(kd->pmfd, bitmap, vmst->hdr.bitmapsize, off) != 156 if (pread(kd->pmfd, vmst->ptemap, vmst->hdr.ptesize, off) !=
|
H A D | kvm_amd64.c | 221 if (pread(kd->pmfd, &pdpe, sizeof(pdpe), ofs) != sizeof(pdpe)) { 253 if (pread(kd->pmfd, &pde, sizeof(pde), ofs) != sizeof(pde)) { 285 if (pread(kd->pmfd, &pte, sizeof(pte), ofs) != sizeof(pte)) {
|
H A D | kvm_i386.c | 283 if (pread(kd->pmfd, &pte, sizeof(pte), ofs) != sizeof(pte)) { 284 _kvm_syserr(kd, kd->program, "_i386_vatop: pread"); 373 if (pread(kd->pmfd, &pte, sizeof(pte), ofs) != sizeof(pte)) {
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/dd/ |
H A D | dd_interceptors.cpp | 235 INTERCEPTOR(SSIZE_T, pread, int fd, void *ptr, SIZE_T count, OFF_T offset) { 237 return REAL(pread)(fd, ptr, count, offset); 323 INTERCEPT_FUNCTION(pread);
|
/freebsd-11-stable/tools/tools/bootparttest/ |
H A D | bootparttest.c | 83 ret = pread(disk.fd, buf, size,
|
/freebsd-11-stable/tests/sys/file/ |
H A D | ftruncate_test.c | 105 size = pread(fd, &ch, sizeof(ch), len - 1); 107 err(1, "pread on len %jd up", (intmax_t)len); 109 errx(-1, "pread len %jd size %jd up", 113 "pread length %jd size %jd ch %d up",
|
/freebsd-11-stable/tools/tools/ncpus/ |
H A D | acpi.c | 224 pread(acpi_mem_fd, &rsdp, 8, addr); 229 pread(acpi_mem_fd, &rsdp, sizeof(rsdp), addr);
|
H A D | biosmptable.c | 153 if ((size_t)pread(pfd, entry, size, addr) != size) { 154 warn("pread (%zu @ 0x%jx)", size, (intmax_t)addr);
|
/freebsd-11-stable/sys/kern/ |
H A D | capabilities.conf | 499 pread
|
/freebsd-11-stable/lib/libufs/ |
H A D | block.c | 72 cnt = pread(disk->d_fd, p2, size, (off_t)(blockno * disk->d_bsize));
|
/freebsd-11-stable/tools/tools/zfsboottest/ |
H A D | zfsboottest.c | 65 if (pread(fd, buf, bytes, off) != bytes)
|
/freebsd-11-stable/contrib/binutils/bfd/ |
H A D | opncls.c | 381 file_ptr (*pread) (struct bfd *nbfd, 396 @var{pread} and destroyed using @var{close}. 407 Calls @var{pread} to request @var{nbytes} of data from 409 <<bfd_read>>). @var{pread} either succeeds returning the 430 file_ptr (*pread) (struct bfd *abfd, void *stream, void *buf, member in struct:opncls 461 file_ptr nread = (vec->pread) (abfd, vec->stream, buf, nbytes, vec->where); 517 file_ptr (*pread) (struct bfd *abfd, 556 vec->pread = pread;
|
/freebsd-11-stable/tools/regression/security/cap_test/ |
H A D | cap_test_capabilities.c | 151 ssize = pread(fd_cap, &ch, sizeof(ch), 0); 152 ssize2 = pread(fd_cap, &ch, sizeof(ch), 0); 153 CHECK_RESULT(pread, CAP_PREAD, ssize >= 0);
|