Home
last modified time | relevance | path

Searched refs:max_mirrors (Results 1 – 2 of 2) sorted by relevance

/fs/btrfs/
Ddisk-io.c2011 int do_barriers, int wait, int max_mirrors) in write_dev_supers() argument
2021 if (max_mirrors == 0) in write_dev_supers()
2022 max_mirrors = BTRFS_SUPER_MIRROR_MAX; in write_dev_supers()
2026 for (i = 0; i < max_mirrors; i++) { in write_dev_supers()
2035 for (i = 0; i < max_mirrors; i++) { in write_dev_supers()
2098 int write_all_supers(struct btrfs_root *root, int max_mirrors) in write_all_supers() argument
2137 ret = write_dev_supers(dev, sb, do_barriers, 0, max_mirrors); in write_all_supers()
2154 ret = write_dev_supers(dev, sb, do_barriers, 1, max_mirrors); in write_all_supers()
2167 struct btrfs_root *root, int max_mirrors) in write_ctree_super() argument
2171 ret = write_all_supers(root, max_mirrors); in write_ctree_super()
Ddisk-io.h52 struct btrfs_root *root, int max_mirrors);