n_goal 992 mm/swapfile.c int get_swap_pages(int n_goal, swp_entry_t swp_entries[], int entry_size) n_goal 1001 mm/swapfile.c WARN_ON_ONCE(n_goal > 1 && size == SWAPFILE_CLUSTER); n_goal 1007 mm/swapfile.c if (n_goal > SWAP_BATCH) n_goal 1008 mm/swapfile.c n_goal = SWAP_BATCH; n_goal 1010 mm/swapfile.c if (n_goal > avail_pgs) n_goal 1011 mm/swapfile.c n_goal = avail_pgs; n_goal 1013 mm/swapfile.c atomic_long_sub(n_goal * size, &nr_swap_pages); n_goal 1045 mm/swapfile.c n_goal, swp_entries); n_goal 1072 mm/swapfile.c if (n_ret < n_goal) n_goal 1073 mm/swapfile.c atomic_long_add((long)(n_goal - n_ret) * size,