Lines Matching refs:max_mirrors
3463 struct btrfs_super_block *sb, int max_mirrors) in write_dev_supers() argument
3473 if (max_mirrors == 0) in write_dev_supers()
3474 max_mirrors = BTRFS_SUPER_MIRROR_MAX; in write_dev_supers()
3476 for (i = 0; i < max_mirrors; i++) { in write_dev_supers()
3531 static int wait_dev_supers(struct btrfs_device *device, int max_mirrors) in wait_dev_supers() argument
3539 if (max_mirrors == 0) in wait_dev_supers()
3540 max_mirrors = BTRFS_SUPER_MIRROR_MAX; in wait_dev_supers()
3542 for (i = 0; i < max_mirrors; i++) { in wait_dev_supers()
3736 int write_all_supers(struct btrfs_fs_info *fs_info, int max_mirrors) in write_all_supers() argument
3755 if (max_mirrors == 0) in write_all_supers()
3809 ret = write_dev_supers(dev, sb, max_mirrors); in write_all_supers()
3833 ret = wait_dev_supers(dev, max_mirrors); in write_all_supers()