Lines Matching defs:read
60 * read/write.
63 * - buffered uses the generic_file_aio_{read,write} helpers
65 * - synchronous is used when there is multi-client read/write
382 /* snapped files are read-only */
393 * write) or any MDS (for read). Update wanted set
951 * Completely synchronous read and write methods. Direct from __user
954 * If the read spans object boundary, just do multiple reads. (That's not
958 * only return a short read to the caller if we hit EOF.
1087 * Short read after big offset adjustment?
1089 * len read.
1099 /* Short read but not EOF? Zero out the remainder. */
1277 * If read is satisfied by single OSD request,
1278 * it can pass EOF. Otherwise read is within
1412 (write ? "write" : "read"), file, pos, (unsigned)count,
1668 * crypto block, then we must do a read/modify/write cycle. We
1706 * Allocate a read request for one or two extents,
2004 * back to the MDS mid-read.
2006 * Hmm, the sync read case isn't actually async... should it be?
2018 int retry_op = 0, read = 0;
2111 BUG_ON(ret > 0 || read > 0);
2123 read += ret;
2125 if (iocb->ki_pos < i_size && read < len) {
2126 size_t zlen = min_t(size_t, len - read,
2130 read += ret;
2133 return read;
2142 read += ret;
2150 ret += read;
2158 * back to the MDS mid-read.
2969 * {read,write}_iter, which will get caps again.