Home
last modified time | relevance | path

Searched refs:swap_slot_cache_enabled (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/mm/
H A Dswap_slots.c40 bool swap_slot_cache_enabled; variable
48 #define use_swap_slot_cache (swap_slot_cache_active && swap_slot_cache_enabled)
71 swap_slot_cache_enabled = false; in disable_swap_slots_cache_lock()
82 swap_slot_cache_enabled = has_usable_swap(); in __reenable_swap_slots_cache()
95 if (!swap_slot_cache_enabled) in check_cache_active()
H A Dswap_state.c448 if (!swap_swapcount(si, entry) && swap_slot_cache_enabled) in __read_swap_cache_async()
/openbmc/linux/include/linux/
H A Dswap_slots.h29 extern bool swap_slot_cache_enabled;