Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
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()
Dswapfile.c808 int n_ret = 0; in scan_swap_map_slots() local
881 if (n_ret) in scan_swap_map_slots()
911 if (!n_ret) in scan_swap_map_slots()
921 slots[n_ret++] = swp_entry(si->type, offset); in scan_swap_map_slots()
924 if ((n_ret == nr) || (offset >= si->highest_bit)) in scan_swap_map_slots()
931 if (n_ret) in scan_swap_map_slots()
971 return n_ret; in scan_swap_map_slots()
999 return n_ret; in scan_swap_map_slots()
1052 int n_ret = 0; in get_swap_pages() local
1095 n_ret = swap_alloc_cluster(si, swp_entries); in get_swap_pages()
[all …]
/linux-6.1.9/include/linux/
Dswap_slots.h21 int n_ret; member
/linux-6.1.9/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()