Lines Matching defs:swap
9 * Removed kswapd_ctl limits, and swap out as many pages as needed
22 #include <linux/swap.h>
835 swp_entry_t swap = { .val = page_private(page) };
836 mem_cgroup_swapout(page, swap);
839 __delete_from_swap_cache(page, swap, shadow);
841 put_swap_page(page, swap);
1098 * have __GFP_FS (or __GFP_IO if it's simply going to swap,
1177 * Try to allocate it some swap space here.
1203 /* Fallback to swap normal pages */
1216 /* Adding to swap updated mapping */
1229 * The tail pages that are added into swap cache successfully
1401 * The tail pages that are failed to add into swap cache
1409 /* Not a candidate for swapping, so reclaim swap space. */
2229 /* If we have no swap space, do not bother scanning anon pages. */
2236 * Global reclaim will swap to prevent OOM even with no
2239 * using the memory controller's swap limit feature would be
3655 * Do not writeback or swap pages for boosted reclaim. The