Home
last modified time | relevance | path

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

/linux-6.3-rc2/mm/
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()
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()
A Dswapfile.c807 int n_ret = 0; in scan_swap_map_slots() local
880 if (n_ret) in scan_swap_map_slots()
910 if (!n_ret) in scan_swap_map_slots()
920 slots[n_ret++] = swp_entry(si->type, offset); in scan_swap_map_slots()
930 if (n_ret) in scan_swap_map_slots()
970 return n_ret; in scan_swap_map_slots()
998 return n_ret; in scan_swap_map_slots()
1051 int n_ret = 0; in get_swap_pages() local
1099 if (n_ret || size == SWAPFILE_CLUSTER) in get_swap_pages()
1123 if (n_ret < n_goal) in get_swap_pages()
[all …]
/linux-6.3-rc2/include/linux/
A Dswap_slots.h21 int n_ret; member
/linux-6.3-rc2/drivers/tty/serial/
A Dsunsab.c642 static void calc_ebrg(int baud, int *n_ret, int *m_ret) in calc_ebrg() argument
647 *n_ret = 0; in calc_ebrg()
672 *n_ret = n - 1; in calc_ebrg()

Completed in 14 milliseconds