Searched refs:n_ret (Results 1 – 4 of 4) sorted by relevance
155 cache->n_ret = 0; in alloc_swap_slot_cache()189 swapcache_free_entries(cache->slots_ret, cache->n_ret); in drain_slots_cache_cpu()190 cache->n_ret = 0; in drain_slots_cache_cpu()286 if (cache->n_ret >= SWAP_SLOTS_CACHE_SIZE) { in free_swap_slot()293 swapcache_free_entries(cache->slots_ret, cache->n_ret); in free_swap_slot()294 cache->n_ret = 0; in free_swap_slot()296 cache->slots_ret[cache->n_ret++] = entry; in free_swap_slot()
780 int n_ret = 0; in scan_swap_map_slots() local853 if (n_ret) in scan_swap_map_slots()883 if (!n_ret) in scan_swap_map_slots()893 slots[n_ret++] = swp_entry(si->type, offset); in scan_swap_map_slots()896 if ((n_ret == nr) || (offset >= si->highest_bit)) in scan_swap_map_slots()903 if (n_ret) in scan_swap_map_slots()943 return n_ret; in scan_swap_map_slots()985 return n_ret; in scan_swap_map_slots()1040 int n_ret; in scan_swap_map() local1042 n_ret = scan_swap_map_slots(si, usage, 1, &entry); in scan_swap_map()[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()