Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
H A Dswap.h648 #define reuse_swap_page(page, total_map_swapcount) \
649 (page_trans_huge_mapcount(page, total_map_swapcount) == 1)
/kernel/linux/linux-5.10/mm/
H A Dswapfile.c1715 * NOTE: total_map_swapcount should not be relied upon by the caller if
1719 bool reuse_swap_page(struct page *page, int *total_map_swapcount) in reuse_swap_page() argument
1728 if (total_map_swapcount) in reuse_swap_page()
1729 *total_map_swapcount = total_mapcount + total_swapcount; in reuse_swap_page()

Completed in 7 milliseconds