Lines Matching refs:max_mirrors
3755 struct btrfs_super_block *sb, int max_mirrors) in write_dev_supers() argument
3765 if (max_mirrors == 0) in write_dev_supers()
3766 max_mirrors = BTRFS_SUPER_MIRROR_MAX; in write_dev_supers()
3770 for (i = 0; i < max_mirrors; i++) { in write_dev_supers()
3850 static int wait_dev_supers(struct btrfs_device *device, int max_mirrors) in wait_dev_supers() argument
3858 if (max_mirrors == 0) in wait_dev_supers()
3859 max_mirrors = BTRFS_SUPER_MIRROR_MAX; in wait_dev_supers()
3861 for (i = 0; i < max_mirrors; i++) { in wait_dev_supers()
4058 int write_all_supers(struct btrfs_fs_info *fs_info, int max_mirrors) in write_all_supers() argument
4077 if (max_mirrors == 0) in write_all_supers()
4132 ret = write_dev_supers(dev, sb, max_mirrors); in write_all_supers()
4156 ret = wait_dev_supers(dev, max_mirrors); in write_all_supers()