Home
last modified time | relevance | path

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

/linux-6.6.21/mm/
Dswapfile.c1047 int get_swap_pages(int n_goal, swp_entry_t swp_entries[], int entry_size) in get_swap_pages() argument
1056 WARN_ON_ONCE(n_goal > 1 && size == SWAPFILE_CLUSTER); in get_swap_pages()
1066 n_goal = min3((long)n_goal, (long)SWAP_BATCH, avail_pgs); in get_swap_pages()
1068 atomic_long_sub(n_goal * size, &nr_swap_pages); in get_swap_pages()
1098 n_goal, swp_entries); in get_swap_pages()
1124 if (n_ret < n_goal) in get_swap_pages()
1125 atomic_long_add((long)(n_goal - n_ret) * size, in get_swap_pages()