Searched refs:nr_pblocks (Results 1 – 1 of 1) sorted by relevance
3993 unsigned long nr_pblocks; in check_swap_activate() local4031 nr_pblocks = map.m_len; in check_swap_activate()4034 nr_pblocks & sec_blks_mask) { in check_swap_activate()4037 nr_pblocks = roundup(nr_pblocks, blks_per_sec); in check_swap_activate()4038 if (cur_lblock + nr_pblocks > sis->max) in check_swap_activate()4039 nr_pblocks -= blks_per_sec; in check_swap_activate()4041 if (!nr_pblocks) { in check_swap_activate()4043 nr_pblocks = map.m_len; in check_swap_activate()4049 nr_pblocks); in check_swap_activate()4055 if (cur_lblock + nr_pblocks >= sis->max) in check_swap_activate()[all …]