Home
last modified time | relevance | path

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

/Linux-v5.15/mm/
Dswap_slots.c153 cache->n_ret = 0; in alloc_swap_slot_cache()
187 swapcache_free_entries(cache->slots_ret, cache->n_ret); in drain_slots_cache_cpu()
188 cache->n_ret = 0; in drain_slots_cache_cpu()
283 if (cache->n_ret >= SWAP_SLOTS_CACHE_SIZE) { in free_swap_slot()
290 swapcache_free_entries(cache->slots_ret, cache->n_ret); in free_swap_slot()
291 cache->n_ret = 0; in free_swap_slot()
293 cache->slots_ret[cache->n_ret++] = entry; in free_swap_slot()
Dswapfile.c786 int n_ret = 0; in scan_swap_map_slots() local
859 if (n_ret) in scan_swap_map_slots()
889 if (!n_ret) in scan_swap_map_slots()
899 slots[n_ret++] = swp_entry(si->type, offset); in scan_swap_map_slots()
902 if ((n_ret == nr) || (offset >= si->highest_bit)) in scan_swap_map_slots()
909 if (n_ret) in scan_swap_map_slots()
949 return n_ret; in scan_swap_map_slots()
991 return n_ret; in scan_swap_map_slots()
1044 int n_ret = 0; in get_swap_pages() local
1087 n_ret = swap_alloc_cluster(si, swp_entries); in get_swap_pages()
[all …]
/Linux-v5.15/include/linux/
Dswap_slots.h21 int n_ret; member
/Linux-v5.15/drivers/tty/serial/
Dsunsab.c644 static void calc_ebrg(int baud, int *n_ret, int *m_ret) in calc_ebrg() argument
649 *n_ret = 0; in calc_ebrg()
674 *n_ret = n - 1; in calc_ebrg()