Lines Matching refs:from

51  * FIXME: remove all knowledge of the buffer layer from the core VM
228 * Delete a page from the page cache and free it. Caller has to make
260 * delete_from_page_cache - delete page from page cache
261 * @page: the page which the kernel is trying to remove from page cache
282 * page_cache_delete_batch - delete several pages from page cache
287 * from the mapping. The function expects @pvec to be sorted by page index
313 * pages locked so they are protected from being removed.
696 * Grab the wb_err from the mapping. If it matches what we have in the file,
949 * The page might have been evicted from cache only
953 * data from the working set, only to cache data that will
1026 * and remove it from the wait queue.
1034 * WQ_FLAG_WOKEN bit, wake it up, and remove it from the wait queue.
1121 * Take a breather from holding the lock,
1124 * from wait queue
1138 * and removed them from the waitqueue, but there are still other
1193 /* How many times do we accept lock stealing from under a waiter? */
1304 * waiter from the wait-queues, but the PageWaiters bit will remain
1686 * swap entry from shmem/tmpfs, it is returned.
1702 * A shadow entry of a recently evicted page, or a swap entry from
1735 * swap entry from shmem/tmpfs, it is returned.
1888 * Any shadow entries of evicted pages, or swap entries from
1915 * entry from shmem/tmpfs or a DAX entry. Return it
2316 /* nr is the maximum number of bytes to copy from this page */
2712 * We never return with VM_FAULT_RETRY and a bit from VM_FAULT_ERROR set.
3192 generic_file_direct_write(struct kiocb *iocb, struct iov_iter *from)
3202 write_len = iov_iter_count(from);
3219 * the new data. We invalidate clean cached page from the region we're
3221 * without clobbering -EIOCBQUEUED from ->direct_IO().
3235 written = mapping->a_ops->direct_IO(iocb, from);
3267 iov_iter_revert(from, write_len - iov_iter_count(from));
3308 size_t copied; /* Bytes copied from user */
3317 * Bring in the user page that we will copy from _first_.
3318 * Otherwise there's a nasty deadlock on copying from the
3382 * @from: iov_iter with data to write
3385 * file. It does all basic checks, removes SUID from the file, updates
3400 ssize_t __generic_file_write_iter(struct kiocb *iocb, struct iov_iter *from)
3422 written = generic_file_direct_write(iocb, from);
3430 if (written < 0 || !iov_iter_count(from) || IS_DAX(inode))
3433 status = generic_perform_write(file, from, pos = iocb->ki_pos);
3438 * that this differs from normal direct-io semantics, which
3465 written = generic_perform_write(file, from, iocb->ki_pos);
3478 * @from: iov_iter with data to write
3488 ssize_t generic_file_write_iter(struct kiocb *iocb, struct iov_iter *from)
3495 ret = generic_write_checks(iocb, from);
3497 ret = __generic_file_write_iter(iocb, from);