Searched refs:slots_ret (Results 1 – 2 of 2) sorted by relevance
117 swp_entry_t *slots, *slots_ret; in alloc_swap_slot_cache() local129 slots_ret = kvcalloc(SWAP_SLOTS_CACHE_SIZE, sizeof(swp_entry_t), in alloc_swap_slot_cache()131 if (!slots_ret) { in alloc_swap_slot_cache()138 if (cache->slots || cache->slots_ret) { in alloc_swap_slot_cache()143 kvfree(slots_ret); in alloc_swap_slot_cache()164 cache->slots_ret = slots_ret; in alloc_swap_slot_cache()187 if ((type & SLOTS_CACHE_RET) && cache->slots_ret) { in drain_slots_cache_cpu()189 swapcache_free_entries(cache->slots_ret, cache->n_ret); in drain_slots_cache_cpu()191 if (free_slots && cache->slots_ret) { in drain_slots_cache_cpu()192 slots = cache->slots_ret; in drain_slots_cache_cpu()[all …]
20 swp_entry_t *slots_ret; member