Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Dswapfile.c1051 long avail_pgs; in get_swap_pages() local
1060 avail_pgs = atomic_long_read(&nr_swap_pages) / size; in get_swap_pages()
1061 if (avail_pgs <= 0) { in get_swap_pages()
1066 n_goal = min3((long)n_goal, (long)SWAP_BATCH, avail_pgs); in get_swap_pages()