Lines Matching refs:from

337 		cifs_dbg(FYI, "Reset oplock val from read to None due to mand locks\n");
435 * and cancel any pending one. If calling this function from the
469 /* remove it from the lists */
826 cifs_dbg(FYI, "Reset oplock val from read to None due to mand locks\n");
847 /* return code from the ->release op is always ignored */
1574 * a lock from the file's list.
1599 * request - add all locks from the tmp
1684 * Windows 7 server can delay breaking lease from read to None
1878 filemap_fdatawait from here so tell
2136 static int cifs_partialpagewrite(struct page *page, unsigned from, unsigned to)
2151 offset += (loff_t)from;
2153 write_data += from;
2155 if ((to > PAGE_SIZE) || (from > to)) {
2174 write_data, to - from, &offset);
2226 * back from swapper_space to tmpfs file mapping
2342 index = mapping->writeback_index; /* Start from prev offset */
2545 cifs_dbg(FYI, "write_end for page %p from pos %lld with %d bytes\n",
2785 wdata_fill_from_iovec(struct cifs_writedata *wdata, struct iov_iter *from,
2794 copied = copy_page_from_iter(wdata->pages[i], 0, bytes, from);
2897 cifs_write_from_iter(loff_t offset, size_t len, struct iov_iter *from,
2906 struct iov_iter saved_from = *from;
2946 from, &pagevec, cur_len, &start);
2950 result, iov_iter_type(from),
2951 from->iov_offset, from->count);
2959 iov_iter_advance(from, cur_len);
2999 wdata, from, &cur_len, &num_pages);
3046 *from = saved_from;
3047 iov_iter_advance(from, offset - saved_offset);
3145 struct kiocb *iocb, struct iov_iter *from, bool direct)
3153 struct iov_iter saved_from = *from;
3154 size_t len = iov_iter_count(from);
3162 if (direct && iov_iter_is_kvec(from)) {
3167 rc = generic_write_checks(iocb, from);
3191 ctx->iter = *from;
3194 rc = setup_aio_ctx_iter(ctx, from, WRITE);
3209 * value from the later writes. If the other write succeeds, then
3211 * we'll get a new rc value from that.
3248 ssize_t cifs_direct_writev(struct kiocb *iocb, struct iov_iter *from)
3253 return __cifs_writev(iocb, from, true);
3256 ssize_t cifs_user_writev(struct kiocb *iocb, struct iov_iter *from)
3258 return __cifs_writev(iocb, from, false);
3262 cifs_writev(struct kiocb *iocb, struct iov_iter *from)
3278 rc = generic_write_checks(iocb, from);
3282 if (!cifs_find_lock_conflict(cfile, iocb->ki_pos, iov_iter_count(from),
3285 rc = __generic_file_write_iter(iocb, from);
3298 cifs_strict_writev(struct kiocb *iocb, struct iov_iter *from)
3316 written = generic_file_write_iter(iocb, from);
3319 written = cifs_writev(iocb, from);
3324 * to the server exactly from the pos to pos+len-1 rather than flush all
3326 * these pages but not on the region from pos to ppos+len-1.
3328 written = cifs_user_writev(iocb, from);
3334 * reading stale data from the cache. All subsequent read
3335 * operations will read new data from the server.
3440 * cifs_readdata_to_iov - copy data from pages in response to an iovec
3444 * This function copies data from a list of pages in a readdata response into
4014 * In strict cache mode we need to read from the server all the time
4018 * on pages affected by this read but not on the region from pos to
4267 * to prevent the VFS from repeatedly attempting to
4398 * Reads as many pages as possible from fscache. Returns -ENOBUFS
4627 /* We do not want to update the file size from server for inodes
4669 cifs_dbg(FYI, "write_begin from %lld len %d\n", (long long)pos, len);
4682 * If we write a full page it will be up to date, no need to read from
4875 * users (on this or other systems) from reading it
4886 * from reading or writing the file