Home
last modified time | relevance | path

Searched refs:slots_ret (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/mm/
H A Dswap_slots.c116 swp_entry_t *slots, *slots_ret; in alloc_swap_slot_cache() local
130 if (!slots_ret) { in alloc_swap_slot_cache()
137 if (cache->slots || cache->slots_ret) { in alloc_swap_slot_cache()
142 kvfree(slots_ret); in alloc_swap_slot_cache()
163 cache->slots_ret = slots_ret; in alloc_swap_slot_cache()
186 if ((type & SLOTS_CACHE_RET) && cache->slots_ret) { in drain_slots_cache_cpu()
190 if (free_slots && cache->slots_ret) { in drain_slots_cache_cpu()
191 slots = cache->slots_ret; in drain_slots_cache_cpu()
192 cache->slots_ret = NULL; in drain_slots_cache_cpu()
280 if (!use_swap_slot_cache || !cache->slots_ret) { in free_swap_slot()
[all …]
/openbmc/linux/include/linux/
H A Dswap_slots.h20 swp_entry_t *slots_ret; member