Home
last modified time | relevance | path

Searched refs:n_ret (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/mm/
H A Dswap_slots.c155 cache->n_ret = 0; in alloc_swap_slot_cache()
189 swapcache_free_entries(cache->slots_ret, cache->n_ret); in drain_slots_cache_cpu()
190 cache->n_ret = 0; in drain_slots_cache_cpu()
286 if (cache->n_ret >= SWAP_SLOTS_CACHE_SIZE) { in free_swap_slot()
293 swapcache_free_entries(cache->slots_ret, cache->n_ret); in free_swap_slot()
294 cache->n_ret = 0; in free_swap_slot()
296 cache->slots_ret[cache->n_ret++] = entry; in free_swap_slot()
H A Dswapfile.c781 int n_ret = 0; in scan_swap_map_slots() local
854 if (n_ret) in scan_swap_map_slots()
884 if (!n_ret) in scan_swap_map_slots()
894 slots[n_ret++] = swp_entry(si->type, offset); in scan_swap_map_slots()
897 if ((n_ret == nr) || (offset >= si->highest_bit)) in scan_swap_map_slots()
904 if (n_ret) in scan_swap_map_slots()
944 return n_ret; in scan_swap_map_slots()
986 return n_ret; in scan_swap_map_slots()
1041 int n_ret; in scan_swap_map() local
1043 n_ret in scan_swap_map()
1057 int n_ret = 0; get_swap_pages() local
[all...]
/kernel/linux/linux-6.6/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()
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()
H A Dswapfile.c809 int n_ret = 0; in scan_swap_map_slots() local
882 if (n_ret) in scan_swap_map_slots()
912 if (!n_ret) in scan_swap_map_slots()
922 slots[n_ret++] = swp_entry(si->type, offset); in scan_swap_map_slots()
925 if ((n_ret == nr) || (offset >= si->highest_bit)) in scan_swap_map_slots()
932 if (n_ret) in scan_swap_map_slots()
972 return n_ret; in scan_swap_map_slots()
1000 return n_ret; in scan_swap_map_slots()
1053 int n_ret = 0; in get_swap_pages() local
1096 n_ret in get_swap_pages()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dswap_slots.h19 spinlock_t free_lock; /* protects slots_ret, n_ret */
21 int n_ret; member
/kernel/linux/linux-6.6/include/linux/
H A Dswap_slots.h19 spinlock_t free_lock; /* protects slots_ret, n_ret */
21 int n_ret; member
/kernel/linux/linux-5.10/drivers/tty/serial/
H A 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()
/kernel/linux/linux-6.6/drivers/tty/serial/
H A Dsunsab.c643 static void calc_ebrg(int baud, int *n_ret, int *m_ret) in calc_ebrg() argument
648 *n_ret = 0; in calc_ebrg()
673 *n_ret = n - 1; in calc_ebrg()

Completed in 10 milliseconds