Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/mm/
H A Dswap_slots.c40 bool swap_slot_cache_enabled; variable
50 #define use_swap_slot_cache (swap_slot_cache_active && swap_slot_cache_enabled)
75 swap_slot_cache_enabled = false; in disable_swap_slots_cache_lock()
86 swap_slot_cache_enabled = has_usable_swap(); in __reenable_swap_slots_cache()
97 return swap_slot_cache_enabled; in is_swap_slot_cache_enabled()
105 if (!swap_slot_cache_enabled) in check_cache_active()
H A Dswap_state.c486 if (!__swp_swapcount(entry) && swap_slot_cache_enabled) in __read_swap_cache_async()
/OK3568_Linux_fs/kernel/include/linux/
H A Dswap_slots.h29 extern bool swap_slot_cache_enabled;