Lines Matching refs:sis
4034 static int check_swap_activate(struct swap_info_struct *sis, in check_swap_activate() argument
4059 while (cur_lblock < last_lblock && cur_lblock < sis->max) { in check_swap_activate()
4091 if (cur_lblock + nr_pblocks > sis->max) in check_swap_activate()
4108 if (cur_lblock + nr_pblocks >= sis->max) in check_swap_activate()
4109 nr_pblocks = sis->max - cur_lblock; in check_swap_activate()
4121 ret = add_swap_extent(sis, cur_lblock, nr_pblocks, pblock); in check_swap_activate()
4131 sis->max = cur_lblock; in check_swap_activate()
4132 sis->pages = cur_lblock - 1; in check_swap_activate()
4133 sis->highest_bit = cur_lblock - 1; in check_swap_activate()
4141 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate() argument
4168 ret = check_swap_activate(sis, file, span); in f2fs_swap_activate()
4184 static int f2fs_swap_activate(struct swap_info_struct *sis, struct file *file, in f2fs_swap_activate() argument