Searched refs:BTRFS_MAX_MIRRORS (Results 1 – 3 of 3) sorted by relevance
59 struct reada_zone *zones[BTRFS_MAX_MIRRORS];72 struct btrfs_device *devs[BTRFS_MAX_MIRRORS]; /* full list, incl344 if (bbio->num_stripes > BTRFS_MAX_MIRRORS) { in reada_find_extent()347 BTRFS_MAX_MIRRORS); in reada_find_extent()813 BTRFS_MAX_MIRRORS * 2) in __reada_start_machine()
921 sblocks_for_recheck = kcalloc(BTRFS_MAX_MIRRORS, in scrub_handle_errored_block()943 BUG_ON(failed_mirror_index >= BTRFS_MAX_MIRRORS); in scrub_handle_errored_block()1027 if (mirror_index >= BTRFS_MAX_MIRRORS) in scrub_handle_errored_block()1115 mirror_index < BTRFS_MAX_MIRRORS && in scrub_handle_errored_block()1197 for (mirror_index = 0; mirror_index < BTRFS_MAX_MIRRORS; in scrub_handle_errored_block()1324 nmirrors = min(scrub_nr_raid_mirrors(bbio), BTRFS_MAX_MIRRORS); in scrub_setup_recheck_block()
61 #define BTRFS_MAX_MIRRORS (2 + 1) macro