Lines Matching refs:from

326  * internally draws from another pool of inode numbers (currently global
367 * max_inodes is always 0, and is called from potentially
410 * @swapped: the change in number of pages swapped from inode
432 * to stop a racing shmem_recalc_inode() from thinking that a page has
490 * that an entry was not already brought back from swap by a racing thread.
709 * from any local list before iput() since it could be deleted
848 * Remove swap entry from page cache, free the swap and its page cache.
969 * But read a folio back from swap if any of it is within i_size
978 * Remove range of pages and swap entries from page cache, and free them.
1363 * If swap found in inode, free it and move page from swapcache to filecache.
1413 * remove placeholder inode from swaplist, nor let it be freed
1414 * (igrab() would protect from unlink, but not from unmount).
1437 * Move the page from the page cache to the swap cache.
1450 * Our capabilities prevent regular writeback or sync from ever calling
1521 * the inode from eviction. But don't unlock the mutex until
1523 * prune a !swapped inode from the swaplist under this mutex.
1634 /* Allow allocations only from the originally specified zones. */
1714 * When a page is moved from swapcache to shmem filecache (either by the
1716 * shmem_unuse_inode()), it may have been read in earlier from swap, in
1891 * folio after reading from swap.
1935 * shmem_get_folio_gfp - find page in cache, or get from swap, or allocate
2187 * prevent the hole-punch from ever completing: which in turn
2188 * locks writers out with its hold on i_rwsem. So refrain from
2303 * Called directly from mm/mmap.c, or drivers/char/mem.c
2368 * ipc_lock_object() when called from shmctl_do_lock(),
2369 * no serialization needed when called from shm_destroy().
2734 size_t from = offset_in_folio(folio, pos);
2735 folio_zero_segments(folio, 0, from,
2736 from + copied, folio_size(folio));
2866 static ssize_t shmem_file_write_iter(struct kiocb *iocb, struct iov_iter *from)
2873 ret = generic_write_checks(iocb, from);
2882 ret = generic_perform_write(iocb, from);
3363 dput(dentry); /* Undo the count from "create" - this does all the work */
3593 * support from the LSM "for free". As soon as we have any other xattrs
4362 /* Copy the default limits from ctx into sbinfo */