Home
last modified time | relevance | path

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

/Linux-v4.19/mm/
Dswap_slots.c149 cache->n_ret = 0; in alloc_swap_slot_cache()
190 swapcache_free_entries(cache->slots_ret, cache->n_ret); in drain_slots_cache_cpu()
191 cache->n_ret = 0; in drain_slots_cache_cpu()
290 if (cache->n_ret >= SWAP_SLOTS_CACHE_SIZE) { in free_swap_slot()
297 swapcache_free_entries(cache->slots_ret, cache->n_ret); in free_swap_slot()
298 cache->n_ret = 0; in free_swap_slot()
300 cache->slots_ret[cache->n_ret++] = entry; in free_swap_slot()
Dswapfile.c693 int n_ret = 0; in scan_swap_map_slots() local
763 if (n_ret) in scan_swap_map_slots()
793 if (!n_ret) in scan_swap_map_slots()
804 slots[n_ret++] = swp_entry(si->type, offset); in scan_swap_map_slots()
807 if ((n_ret == nr) || (offset >= si->highest_bit)) in scan_swap_map_slots()
814 if (n_ret) in scan_swap_map_slots()
840 return n_ret; in scan_swap_map_slots()
878 return n_ret; in scan_swap_map_slots()
932 int n_ret; in scan_swap_map() local
934 n_ret = scan_swap_map_slots(si, usage, 1, &entry); in scan_swap_map()
[all …]
/Linux-v4.19/include/linux/
Dswap_slots.h21 int n_ret; member
/Linux-v4.19/drivers/tty/serial/
Dsunsab.c648 static void calc_ebrg(int baud, int *n_ret, int *m_ret) in calc_ebrg() argument
653 *n_ret = 0; in calc_ebrg()
678 *n_ret = n - 1; in calc_ebrg()