Lines Matching refs:sis
3975 static int check_swap_activate(struct swap_info_struct *sis, in check_swap_activate() argument
4000 while (cur_lblock < last_lblock && cur_lblock < sis->max) { in check_swap_activate()
4032 if (cur_lblock + nr_pblocks > sis->max) in check_swap_activate()
4049 if (cur_lblock + nr_pblocks >= sis->max) in check_swap_activate()
4050 nr_pblocks = sis->max - cur_lblock; in check_swap_activate()
4062 ret = add_swap_extent(sis, cur_lblock, nr_pblocks, pblock); in check_swap_activate()
4072 sis->max = cur_lblock; in check_swap_activate()
4073 sis->pages = cur_lblock - 1; in check_swap_activate()
4074 sis->highest_bit = cur_lblock - 1; in check_swap_activate()
4082 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate() argument
4109 ret = check_swap_activate(sis, file, span); in f2fs_swap_activate()
4127 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate() argument