Lines Matching defs:vecs

1731 	fssh_size_t fileVecCount, const fssh_iovec *vecs, fssh_size_t vecCount,
1736 // There are no file vecs at this offset, so we're obviously trying
1756 status = fssh_read_pages(fd, fileVecs[0].offset, &vecs[vecIndex],
1787 if (size < vecs[vecIndex].iov_len)
1790 size -= vecs[vecIndex].iov_len;
1827 fssh_size_t vecLeft = vecs[vecIndex].iov_len - vecOffset;
1841 = (void *)((fssh_addr_t)vecs[vecIndex].iov_base + vecOffset);
2172 fssh_read_pages(int fd, fssh_off_t pos, const fssh_iovec *vecs,
2178 toRead += vecs[i].iov_len;
2182 // We're supposed to read less than specified by the vecs. Since
2183 // readv_pos() doesn't support this, we need to clone the vecs.
2190 fssh_size_t vecLen = fssh_min_c(vecs[i].iov_len, toRead);
2191 newVecs[i].iov_base = vecs[i].iov_base;
2197 vecs = newVecs;
2201 fssh_ssize_t bytesRead = fssh_readv_pos(fd, pos, vecs, count);
2213 fssh_write_pages(int fd, fssh_off_t pos, const fssh_iovec *vecs,
2219 toWrite += vecs[i].iov_len;
2223 // We're supposed to write less than specified by the vecs. Since
2224 // writev_pos() doesn't support this, we need to clone the vecs.
2231 fssh_size_t vecLen = fssh_min_c(vecs[i].iov_len, toWrite);
2232 newVecs[i].iov_base = vecs[i].iov_base;
2238 vecs = newVecs;
2242 fssh_ssize_t bytesWritten = fssh_writev_pos(fd, pos, vecs, count);
2255 fssh_size_t fileVecCount, const fssh_iovec *vecs, fssh_size_t vecCount,
2259 vecs, vecCount, _vecIndex, _vecOffset, _bytes, false);
2266 fssh_size_t fileVecCount, const fssh_iovec *vecs, fssh_size_t vecCount,
2270 vecs, vecCount, _vecIndex, _vecOffset, _bytes, true);
2387 const fssh_iovec *vecs, fssh_size_t count, fssh_size_t *_numBytes)
2392 cookie, pos, vecs, count, _numBytes);
2398 const fssh_iovec *vecs, fssh_size_t count, fssh_size_t *_numBytes)
2403 cookie, pos, vecs, count, _numBytes);
2697 fssh_file_io_vec *vecs, fssh_size_t *_count)
2701 FUNCTION(("vfs_get_file_map: vnode %p, vecs %p, offset %lld, size = %u\n", vnode, vecs, offset, (unsigned)size));
2703 return FS_CALL(vnode, get_file_map, offset, size, vecs, _count);