Lines Matching refs:off
96 for (off_t off = 0; off < ONE_GIG * 8; off += ONE_GIG) { in main() local
97 if ((written = pwritev(fd, iov, 1, off)) != DATA_LEN) in main()
98 err(EXIT_FAILURE, "pwritev(0x%" PRIx64 ") failed", off); in main()
101 for (off_t off = 0; off < ONE_GIG * 8; off += ONE_GIG) { in main() local
102 if ((read = preadv(fd, iov, 1, off)) != DATA_LEN) in main()
103 err(EXIT_FAILURE, "preadv(0x%" PRIx64 ") failed", off); in main()
105 errx(EXIT_FAILURE, "bad read at 0x%" PRIx64, off); in main()