Lines Matching refs:sis
97 int generic_swapfile_activate(struct swap_info_struct *sis,
124 page_no < sis->max) {
170 ret = add_swap_extent(sis, page_no, 1, first_block);
183 sis->max = page_no;
184 sis->pages = page_no - 1;
185 sis->highest_bit = page_no - 1;
258 struct swap_info_struct *sis = page_swap_info(page);
261 if (data_race(sis->flags & SWP_FS_OPS)) {
263 struct file *swap_file = sis->swap_file;
302 ret = bdev_write_page(sis->bdev, swap_page_sector(page), page, wbc);
328 struct swap_info_struct *sis = page_swap_info(page);
350 if (data_race(sis->flags & SWP_FS_OPS)) {
351 struct file *swap_file = sis->swap_file;
360 if (sis->flags & SWP_SYNCHRONOUS_IO) {
361 ret = bdev_read_page(sis->bdev, swap_page_sector(page), page);
407 struct swap_info_struct *sis = page_swap_info(page);
409 if (data_race(sis->flags & SWP_FS_OPS)) {
410 struct address_space *mapping = sis->swap_file->f_mapping;