Searched refs:n_ret (Results 1 – 4 of 4) sorted by relevance
154 cache->n_ret = 0; in alloc_swap_slot_cache()188 swapcache_free_entries(cache->slots_ret, cache->n_ret); in drain_slots_cache_cpu()189 cache->n_ret = 0; in drain_slots_cache_cpu()284 if (cache->n_ret >= SWAP_SLOTS_CACHE_SIZE) { in free_swap_slot()291 swapcache_free_entries(cache->slots_ret, cache->n_ret); in free_swap_slot()292 cache->n_ret = 0; in free_swap_slot()294 cache->slots_ret[cache->n_ret++] = entry; in free_swap_slot()
804 int n_ret = 0; in scan_swap_map_slots() local877 if (n_ret) in scan_swap_map_slots()907 if (!n_ret) in scan_swap_map_slots()917 slots[n_ret++] = swp_entry(si->type, offset); in scan_swap_map_slots()920 if ((n_ret == nr) || (offset >= si->highest_bit)) in scan_swap_map_slots()927 if (n_ret) in scan_swap_map_slots()967 return n_ret; in scan_swap_map_slots()995 return n_ret; in scan_swap_map_slots()1048 int n_ret = 0; in get_swap_pages() local1091 n_ret = swap_alloc_cluster(si, swp_entries); in get_swap_pages()[all …]
21 int n_ret; member
644 static void calc_ebrg(int baud, int *n_ret, int *m_ret) in calc_ebrg() argument649 *n_ret = 0; in calc_ebrg()674 *n_ret = n - 1; in calc_ebrg()