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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/btrfs/
H A Ddisk-io.h52 struct btrfs_root *root, int max_mirrors);
H A Ddisk-io.c2099 * max_mirrors must be the same for both runs, and it indicates how
2102 * max_mirrors == 0 means to write them all.
2106 int do_barriers, int wait, int max_mirrors)
2116 if (max_mirrors == 0)
2117 max_mirrors = BTRFS_SUPER_MIRROR_MAX;
2121 for (i = 0; i < max_mirrors; i++) {
2130 for (i = 0; i < max_mirrors; i++) {
2197 int write_all_supers(struct btrfs_root *root, int max_mirrors) argument
2239 ret = write_dev_supers(dev, sb, do_barriers, 0, max_mirrors);
2256 ret = write_dev_supers(dev, sb, do_barriers, 1, max_mirrors);
2104 write_dev_supers(struct btrfs_device *device, struct btrfs_super_block *sb, int do_barriers, int wait, int max_mirrors) argument
2269 write_ctree_super(struct btrfs_trans_handle *trans, struct btrfs_root *root, int max_mirrors) argument
[all...]

Completed in 38 milliseconds