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 */
206 * a swap device; in __drain_swap_slots_cache()
207 * 2) disabling of swap slot cache, when we run low in __drain_swap_slots_cache()
208 * on swap slots when allocating memory and need in __drain_swap_slots_cache()
209 * to return swap slots to global pool. in __drain_swap_slots_cache()
222 * fill any swap slots in slots cache of such cpu. in __drain_swap_slots_cache()
246 "without swap slots cache.\n", __func__)) in enable_swap_slots_cache()
257 /* called with swap slot cache's alloc lock held */
278 /* Swap slots cache may be deactivated before acquiring lock */ in free_swap_slot()