Home
last modified time | relevance | path

Searched refs:scan_swap_map_slots (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/mm/
H A Dswapfile.c138 * When this function is called from scan_swap_map_slots() and it's in __try_to_reclaim_swap()
772 static int scan_swap_map_slots(struct swap_info_struct *si, in scan_swap_map_slots() function
1043 n_ret = scan_swap_map_slots(si, usage, 1, &entry); in scan_swap_map()
1102 n_ret = scan_swap_map_slots(si, SWAP_HAS_CACHE, in get_swap_pages()
/kernel/linux/linux-6.6/mm/
H A Dswapfile.c145 * When this function is called from scan_swap_map_slots() and it's in __try_to_reclaim_swap()
464 * If scan_swap_map_slots() can't find a free cluster, it will check in swap_cluster_schedule_discard()
466 * taken by scan_swap_map_slots(), mark the swap entries bad (occupied). in swap_cluster_schedule_discard()
600 * It's possible scan_swap_map_slots() uses a free cluster in the middle of free
800 static int scan_swap_map_slots(struct swap_info_struct *si, in scan_swap_map_slots() function
1098 n_ret = scan_swap_map_slots(si, SWAP_HAS_CACHE, in get_swap_pages()
1109 * and since scan_swap_map_slots() can drop the si->lock, in get_swap_pages()
1641 if ((si->flags & SWP_WRITEOK) && scan_swap_map_slots(si, 1, 1, &entry)) in get_swap_page_of_type()
2511 /* wait for anyone still in scan_swap_map_slots */ in SYSCALL_DEFINE1()

Completed in 10 milliseconds