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
42 /* Serialize swap slots cache enable/disable operations */
209 * a swap device; in __drain_swap_slots_cache()
210 * 2) disabling of swap slot cache, when we run low in __drain_swap_slots_cache()
211 * on swap slots when allocating memory and need in __drain_swap_slots_cache()
212 * to return swap slots to global pool. in __drain_swap_slots_cache()
225 * fill any swap slots in slots cache of such cpu. in __drain_swap_slots_cache()
249 "without swap slots cache.\n", __func__)) in enable_swap_slots_cache()
260 /* called with swap slot cache's alloc lock held */
281 /* Swap slots cache may be deactivated before acquiring lock */ in free_swap_slot()