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 */
182 * a swap device; in __drain_swap_slots_cache()
183 * 2) disabling of swap slot cache, when we run low in __drain_swap_slots_cache()
184 * on swap slots when allocating memory and need in __drain_swap_slots_cache()
185 * to return swap slots to global pool. in __drain_swap_slots_cache()
198 * fill any swap slots in slots cache of such cpu. in __drain_swap_slots_cache()
222 "without swap slots cache.\n", __func__)) in enable_swap_slots_cache()
233 /* called with swap slot cache's alloc lock held */