Lines Matching defs:off
90 #define preadv(fd, bufs, nbufs, off) \
91 pread(fd, (bufs)->iov_base, (bufs)->iov_len, off)
92 #define pwritev(fd, bufs, nbufs, off) \
93 pwrite(fd, (bufs)->iov_base, (bufs)->iov_len, off)
435 off_t off;
439 off = req->off;
448 if (off < 0) {
455 r = pread(fd, bufs->iov_base, bufs->iov_len, off);
457 r = preadv(fd, bufs, nbufs, off);
759 offset = req->off;
850 req->off = offset;
891 static ssize_t uv__fs_try_copy_file_range(int in_fd, off_t* off,
901 r = uv__fs_copy_file_range(in_fd, off, out_fd, NULL, len, 0);
949 off_t off;
954 off = req->off;
959 r = uv__fs_try_copy_file_range(in_fd, &off, out_fd, len);
964 r = sendfile(out_fd, in_fd, &off, len);
970 if (r != -1 || off > req->off) {
971 r = off - req->off;
972 req->off = off;
998 off_t off;
1000 off = req->off;
1001 r = uv__fs_copy_file_range(in_fd, &off, out_fd, NULL, req->bufsml[0].len, 0);
1003 r = off - req->off;
1004 req->off = off;
1009 r = sendfile(in_fd, out_fd, req->off, req->bufsml[0].len, NULL, &len, 0);
1014 r = sendfile(in_fd, out_fd, req->off, &len, NULL, 0);
1025 req->off += len;
1118 off_t off;
1122 off = req->off;
1127 if (off < 0) {
1134 r = pwrite(fd, bufs->iov_base, bufs->iov_len, off);
1136 r = pwritev(fd, bufs, nbufs, off);
1548 if (req->off >= 0)
1549 req->off += result;
1596 X(FTRUNCATE, ftruncate(req->file, req->off));
1788 int64_t off,
1792 req->off = off;
1908 int64_t off,
1915 req->off = off;
2031 int64_t off,
2037 req->off = off;
2098 int64_t off,
2117 req->off = off;