Searched refs:avail_pgs (Results 1 – 1 of 1) sorted by relevance
1051 long avail_pgs; in get_swap_pages() local1060 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()