Lines Matching defs:sis
10635 static int btrfs_add_swap_extent(struct swap_info_struct *sis,
10648 if (bsi->nr_pages >= sis->max)
10651 max_pages = sis->max - bsi->nr_pages;
10668 ret = add_swap_extent(sis, bsi->nr_pages, nr_pages, first_ppage);
10684 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file,
10898 ret = btrfs_add_swap_extent(sis, &bsi);
10911 ret = btrfs_add_swap_extent(sis, &bsi);
10932 sis->bdev = device->bdev;
10934 sis->max = bsi.nr_pages;
10935 sis->pages = bsi.nr_pages - 1;
10936 sis->highest_bit = bsi.nr_pages - 1;
10944 static int btrfs_swap_activate(struct swap_info_struct *sis, struct file *file,