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() 287 if (cache->n_ret >= SWAP_SLOTS_CACHE_SIZE) { in free_swap_slot() 294 swapcache_free_entries(cache->slots_ret, cache->n_ret); in free_swap_slot() 295 cache->n_ret = 0; in free_swap_slot() 297 cache->slots_ret[cache->n_ret++] = entry; in free_swap_slot()
1052 int n_ret = 0; in cluster_alloc_swap() local1058 while (n_ret < nr) { in cluster_alloc_swap()1063 slots[n_ret++] = swp_entry(si->type, offset); in cluster_alloc_swap()1068 return n_ret; in cluster_alloc_swap()1080 int n_ret = 0; in scan_swap_map_slots() local1180 if (!n_ret) in scan_swap_map_slots()1188 slots[n_ret++] = swp_entry(si->type, offset); in scan_swap_map_slots()1191 if ((n_ret == nr) || (offset >= si->highest_bit)) in scan_swap_map_slots()1198 if (n_ret) in scan_swap_map_slots()1235 return n_ret; in scan_swap_map_slots()[all …]
21 int n_ret; member
645 static void calc_ebrg(int baud, int *n_ret, int *m_ret) in calc_ebrg() argument650 *n_ret = 0; in calc_ebrg()675 *n_ret = n - 1; in calc_ebrg()