Home
last modified time | relevance | path

Searched refs:swap_slot_cache_active (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/mm/
H A Dswap_slots.c38 static bool swap_slot_cache_active; variable
49 #define use_swap_slot_cache (swap_slot_cache_active && swap_slot_cache_enabled)
56 swap_slot_cache_active = false; in deactivate_swap_slots_cache()
64 swap_slot_cache_active = true; in reactivate_swap_slots_cache()
100 if (!swap_slot_cache_active) { in check_cache_active()
111 return swap_slot_cache_active; in check_cache_active()
267 if (swap_slot_cache_active) in refill_swap_slots_cache()
/kernel/linux/linux-6.6/mm/
H A Dswap_slots.c39 static bool swap_slot_cache_active; variable
48 #define use_swap_slot_cache (swap_slot_cache_active && swap_slot_cache_enabled)
55 swap_slot_cache_active = false; in deactivate_swap_slots_cache()
63 swap_slot_cache_active = true; in reactivate_swap_slots_cache()
99 if (!swap_slot_cache_active) { in check_cache_active()
110 return swap_slot_cache_active; in check_cache_active()
265 if (swap_slot_cache_active) in refill_swap_slots_cache()

Completed in 1 milliseconds