Lines Matching refs:len

742   ssize_t len;  in uv__fs_readlink()  local
775 len = os390_readlink(req->path, buf, maxlen); in uv__fs_readlink()
777 len = readlink(req->path, buf, maxlen); in uv__fs_readlink()
780 if (len == -1) { in uv__fs_readlink()
786 if (len == maxlen) { in uv__fs_readlink()
787 buf = uv__reallocf(buf, len + 1); in uv__fs_readlink()
793 buf[len] = '\0'; in uv__fs_readlink()
814 ssize_t len; in uv__fs_realpath() local
818 len = uv__fs_pathmax_size(req->path); in uv__fs_realpath()
819 buf = uv__malloc(len + 1); in uv__fs_realpath()
845 size_t len; in uv__fs_sendfile_emul() local
851 len = req->bufsml[0].len; in uv__fs_sendfile_emul()
881 for (nsent = 0; (size_t) nsent < len; ) { in uv__fs_sendfile_emul()
882 buflen = len - nsent; in uv__fs_sendfile_emul()
987 int out_fd, size_t len) { in uv__fs_try_copy_file_range() argument
996 r = uv__fs_copy_file_range(in_fd, off, out_fd, NULL, len, 0); in uv__fs_try_copy_file_range()
1046 size_t len; in uv__fs_sendfile() local
1050 len = req->bufsml[0].len; in uv__fs_sendfile()
1054 r = uv__fs_try_copy_file_range(in_fd, &off, out_fd, len); in uv__fs_sendfile()
1059 r = sendfile(out_fd, in_fd, &off, len); in uv__fs_sendfile()
1086 off_t len; in uv__fs_sendfile() local
1099 r = uv__fs_copy_file_range(in_fd, &off, out_fd, NULL, req->bufsml[0].len, 0); in uv__fs_sendfile()
1106 len = 0; in uv__fs_sendfile()
1107 r = sendfile(in_fd, out_fd, req->off, req->bufsml[0].len, NULL, &len, 0); in uv__fs_sendfile()
1111 len = req->bufsml[0].len; in uv__fs_sendfile()
1112 r = sendfile(in_fd, out_fd, req->off, &len, NULL, 0); in uv__fs_sendfile()
1122 if (r == 0 || ((errno == EAGAIN || errno == EINTR) && len != 0)) { in uv__fs_sendfile()
1123 req->off += len; in uv__fs_sendfile()
1124 return (ssize_t) len; in uv__fs_sendfile()
1638 for (offset = 0; size > 0 && bufs[offset].len <= size; ++offset) in uv__fs_buf_offset()
1639 size -= bufs[offset].len; in uv__fs_buf_offset()
1644 bufs[offset].len -= size; in uv__fs_buf_offset()
2160 size_t len, in uv_fs_sendfile() argument
2166 req->bufsml[0].len = len; in uv_fs_sendfile()