Lines Matching refs:sis
3962 static int check_swap_activate(struct swap_info_struct *sis,
3987 while (cur_lblock < last_lblock && cur_lblock < sis->max) {
4019 if (cur_lblock + nr_pblocks > sis->max)
4036 if (cur_lblock + nr_pblocks >= sis->max)
4037 nr_pblocks = sis->max - cur_lblock;
4049 ret = add_swap_extent(sis, cur_lblock, nr_pblocks, pblock);
4059 sis->max = cur_lblock;
4060 sis->pages = cur_lblock - 1;
4061 sis->highest_bit = cur_lblock - 1;
4069 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file,
4096 ret = check_swap_activate(sis, file, span);
4114 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file,