Lines Matching refs:max_mirrors
3827 struct btrfs_super_block *sb, int max_mirrors) in write_dev_supers() argument
3837 if (max_mirrors == 0) in write_dev_supers()
3838 max_mirrors = BTRFS_SUPER_MIRROR_MAX; in write_dev_supers()
3842 for (i = 0; i < max_mirrors; i++) { in write_dev_supers()
3919 static int wait_dev_supers(struct btrfs_device *device, int max_mirrors) in wait_dev_supers() argument
3927 if (max_mirrors == 0) in wait_dev_supers()
3928 max_mirrors = BTRFS_SUPER_MIRROR_MAX; in wait_dev_supers()
3930 for (i = 0; i < max_mirrors; i++) { in wait_dev_supers()
4134 int write_all_supers(struct btrfs_fs_info *fs_info, int max_mirrors) in write_all_supers() argument
4153 if (max_mirrors == 0) in write_all_supers()
4208 ret = write_dev_supers(dev, sb, max_mirrors); in write_all_supers()
4232 ret = wait_dev_supers(dev, max_mirrors); in write_all_supers()