Lines Matching defs:read
16 * read/write.
19 * - buffered uses the generic_file_aio_{read,write} helpers
21 * - synchronous is used when there is multi-client read/write
143 /* snapped files are read-only */
434 * only return a short read to the caller if we hit EOF.
446 int read;
458 read = 0;
471 dout("striped_read %llu~%u (read %u) got %d%s%s\n", pos, left, read,
478 if (read < pos - off) {
479 dout(" zero gap %llu to %llu\n", off + read, pos);
480 zero_page_vector_range(page_off + read,
481 pos - off - read, pages);
484 read = pos - off;
498 zero_page_vector_range(page_off + read, len - read,
500 read = len;
510 ret = read;
516 * Completely synchronous read and write methods. Direct from __user
519 * If the read spans object boundary, just do multiple reads.
735 * back to the MDS mid-read.
737 * Hmm, the sync read case isn't actually async... should it be?
751 int checkeof = 0, read = 0;
787 read += ret;
795 ret += read;
904 * f_pos value back to the file because a concurrent read(),
935 .read = do_sync_read,