Lines Matching defs:swap
7 * Removed kswapd_ctl limits, and swap out as many pages as needed
20 #include <linux/swap.h>
69 #include "swap.h"
525 * space in any swap device?
530 /* Is the memcg below its swap limit? */
1354 swp_entry_t swap = folio->swap;
1358 __delete_from_swap_cache(folio, swap, shadow);
1359 mem_cgroup_swapout(folio, swap);
1361 put_swap_folio(folio, swap);
1628 * We can "enter_fs" for swap-cache with only __GFP_IO
1729 * have __GFP_FS (or __GFP_IO if it's simply going to swap,
1823 * Try to allocate it some swap space here.
1849 /* Fallback to swap normal pages */
2063 * The tail pages that are failed to add into swap cache
2071 /* Not a candidate for swapping, so reclaim swap space. */
2997 /* If we have no swap space, do not bother scanning anon folios. */
3004 * Global reclaim will swap to prevent OOM even with no
3007 * using the memory controller's swap limit feature would be
3188 /* Aging the anon LRU is valuable if swap is present: */
7517 * Do not writeback or swap pages for boosted reclaim. The