Lines Matching refs:max_mirrors
3994 struct btrfs_super_block *sb, int max_mirrors) in write_dev_supers() argument
4004 if (max_mirrors == 0) in write_dev_supers()
4005 max_mirrors = BTRFS_SUPER_MIRROR_MAX; in write_dev_supers()
4009 for (i = 0; i < max_mirrors; i++) { in write_dev_supers()
4089 static int wait_dev_supers(struct btrfs_device *device, int max_mirrors) in wait_dev_supers() argument
4097 if (max_mirrors == 0) in wait_dev_supers()
4098 max_mirrors = BTRFS_SUPER_MIRROR_MAX; in wait_dev_supers()
4100 for (i = 0; i < max_mirrors; i++) { in wait_dev_supers()
4304 int write_all_supers(struct btrfs_fs_info *fs_info, int max_mirrors) in write_all_supers() argument
4323 if (max_mirrors == 0) in write_all_supers()
4378 ret = write_dev_supers(dev, sb, max_mirrors); in write_all_supers()
4402 ret = wait_dev_supers(dev, max_mirrors); in write_all_supers()