Lines Matching full:swap
3 * Manage cache of swap slots to be used for and returned from
4 * swap.
10 * We allocate the swap slots from the global pool and put
21 * The swap entry allocated is marked with SWAP_HAS_CACHE
25 * The swap slots cache is protected by a mutex instead of
43 /* Serialize swap slots cache enable/disable operations */
207 * a swap device; in __drain_swap_slots_cache()
208 * 2) disabling of swap slot cache, when we run low in __drain_swap_slots_cache()
209 * on swap slots when allocating memory and need in __drain_swap_slots_cache()
210 * to return swap slots to global pool. in __drain_swap_slots_cache()
223 * fill any swap slots in slots cache of such cpu. in __drain_swap_slots_cache()
247 "without swap slots cache.\n", __func__)) in enable_swap_slots_cache()
258 /* called with swap slot cache's alloc lock held */
276 /* Large folio swap slot is not covered. */ in free_swap_slot()
282 /* Swap slots cache may be deactivated before acquiring lock */ in free_swap_slot()