Home
last modified time | relevance | path

Searched refs:n_ret (Results 1 – 4 of 4) sorted by relevance

/linux/mm/
H A Dswap_slots.c154 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()
H A Dswapfile.c1052 int n_ret = 0; in cluster_alloc_swap() local
1058 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() local
1180 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 …]
/linux/include/linux/
H A Dswap_slots.h21 int n_ret; member
/linux/drivers/tty/serial/
H A Dsunsab.c645 static void calc_ebrg(int baud, int *n_ret, int *m_ret) in calc_ebrg() argument
650 *n_ret = 0; in calc_ebrg()
675 *n_ret = n - 1; in calc_ebrg()