Searched refs:nr_pblocks (Results 1 – 1 of 1) sorted by relevance
3868 unsigned long nr_pblocks; in check_swap_activate() local3906 nr_pblocks = map.m_len; in check_swap_activate()3909 nr_pblocks & sec_blks_mask) { in check_swap_activate()3912 nr_pblocks = roundup(nr_pblocks, blks_per_sec); in check_swap_activate()3913 if (cur_lblock + nr_pblocks > sis->max) in check_swap_activate()3914 nr_pblocks -= blks_per_sec; in check_swap_activate()3916 if (!nr_pblocks) { in check_swap_activate()3918 nr_pblocks = map.m_len; in check_swap_activate()3924 nr_pblocks); in check_swap_activate()3930 if (cur_lblock + nr_pblocks >= sis->max) in check_swap_activate()[all …]