| /openbsd-src/regress/sys/kern/pwrite/ |
| H A D | pwrite.c | 34 if (pwrite(fd, &magic[1], 4, 4) != 4) in main() 56 if ((ret = pwrite(fd, &magic[5], 1, -1)) != -1) in main() 62 if ((ret = pwrite(fd, &magic[5], 1, LLONG_MAX)) != -1) in main() 71 if (pwrite(fd, &magic[2], 3, 2) != 3) in main() 84 else if ((ret = pwrite(fd, &c, 1, 7)) != -1) in main()
|
| H A D | Makefile | 3 PROG= pwrite
|
| /openbsd-src/lib/libc/sys/ |
| H A D | w_pwrite.c | 22 pwrite(int fd, const void *buf, size_t nbyte, off_t offset) in pwrite() function 27 ret = HIDDEN(pwrite)(fd, buf, nbyte, offset); in pwrite() 31 DEF_CANCEL(pwrite);
|
| /openbsd-src/usr.sbin/vmd/ |
| H A D | vioqcow2.c | 131 file->pwrite = qc2_pwrite; in virtio_qcow2_init() 440 if (pwrite(disk->fd, buf, sz, phys_off) != sz) in qc2_pwrite() 577 if (pwrite(disk->fd, &buf, sizeof(buf), l2tab + l2off * 8) != 8) in mkcluster() 582 if (pwrite(disk->fd, &buf, sizeof(buf), disk->l1off + 8 * l1off) != 8) in mkcluster() 606 if (pwrite(disk->fd, scratch, disk->clustersz, dst) == -1) in copy_cluster() 634 if (pwrite(disk->fd, &buf, sizeof(buf), l1off) != 8) in inc_refs() 646 if (pwrite(disk->fd, &refs, sizeof(refs), l2cluster + 2 * l2idx) != 2) in inc_refs() 752 if (pwrite(fd, &v, 8, refoff) != 8) in virtio_qcow2_create() 756 if (pwrite(fd, &refs, 2, initsz + 2*i) != 2) in virtio_qcow2_create()
|
| H A D | vioraw.c | 43 return pwrite(*(int *)file, buf, len, off); in raw_pwrite() 84 file->pwrite = raw_pwrite; in virtio_raw_init()
|
| H A D | virtio.h | 125 ssize_t (*pwrite)(void *, char *, size_t, off_t); member
|
| /openbsd-src/regress/usr.sbin/vmd/diskfmt/ |
| H A D | vioscribble.c | 104 if (qcowfile.pwrite(qcowfile.p, buf, len, off) == -1) in main() 106 rawfile.pwrite(rawfile.p, buf, len, off); in main()
|
| /openbsd-src/sbin/clri/ |
| H A D | clri.c | 115 if (pwrite(fd, sblock, sizeof(sblock), offset) != sizeof(sblock)) in main() 154 if (pwrite(fd, ibuf, bsize, offset) != bsize) in main()
|
| /openbsd-src/regress/sys/uvm/mmap_write_self/ |
| H A D | mmap_write_self.c | 51 if (pwrite(fd, buf, ps, 0) == ps) in main()
|
| /openbsd-src/lib/libutil/ |
| H A D | login.c | 65 (void)pwrite(fd, utp, sizeof(struct utmp), pos); in login()
|
| /openbsd-src/regress/sys/uvm/mmap_mod/ |
| H A D | mmap_mod.c | 43 if (pwrite(fd, pat, ps, 0) != ps) in main()
|
| /openbsd-src/regress/sys/kern/ |
| H A D | Makefile | 15 SUBDIR+= pipe pledge poll pread preadv ptmget ptrace ptrace2 pty pwrite pwritev
|
| /openbsd-src/usr.sbin/installboot/ |
| H A D | sparc64_installboot.c | 126 if (pwrite(devfd, blkstore, blksize, DEV_BSIZE) != (ssize_t)blksize) in md_installboot()
|
| H A D | bootstrap.c | 128 if (pwrite(devfd, boot, bootsize, 0) != (ssize_t)bootsize) in bootstrap()
|
| H A D | landisk_installboot.c | 225 if (pwrite(devfd, boot, bootsize, bootpos) != (ssize_t)bootsize) in md_bootstrap()
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/GSYM/ |
| H A D | FileWriter.cpp | 54 OS.pwrite(reinterpret_cast<const char *>(&Swapped), sizeof(Swapped), in fixup32()
|
| /openbsd-src/sbin/fsck_ext2fs/ |
| H A D | utilities.c | 323 if (pwrite(fd, buf, size, offset) == size) { in bwrite() 330 if (pwrite(fd, cp, secsize, offset + i) != secsize) { in bwrite()
|
| /openbsd-src/lib/libc/hidden/ |
| H A D | unistd.h | 120 PROTO_CANCEL(pwrite);
|
| /openbsd-src/sys/dev/pci/drm/i915/gem/ |
| H A D | i915_gem_object_types.h | 86 int (*pwrite)(struct drm_i915_gem_object *obj, member
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-rc/ |
| H A D | ResourceFileWriter.h | 193 FS->pwrite((const char *)&Value, sizeof(T), Position); in writeObjectAt()
|
| /openbsd-src/sbin/fsck_ffs/ |
| H A D | utilities.c | 418 if (pwrite(fd, buf, size, offset) == size) { in bwrite() 425 if (pwrite(fd, cp, secsize, offset + i) != secsize) { in bwrite()
|
| /openbsd-src/sbin/tunefs/ |
| H A D | tunefs.c | 300 if (pwrite(fi, buffer, size, blk * DEV_BSIZE) != size) in bwrite()
|
| /openbsd-src/include/ |
| H A D | unistd.h | 436 ssize_t pwrite(int, const void *, size_t, off_t)
|
| /openbsd-src/lib/libc/db/mpool/ |
| H A D | mpool.c | 397 if (pwrite(mp->fd, bp->page, mp->pagesize, off) != mp->pagesize) in mpool_write()
|
| /openbsd-src/gnu/llvm/lldb/docs/ |
| H A D | lldb-platform-packets.txt | 415 // vFile:pwrite: 422 // receive: vFile:pwrite:8,0,\cf\fa\ed\fe\0c\00\00
|