btrfs_raid_array 77 fs/btrfs/block-group.c if (num_devices >= btrfs_raid_array[raid_type].devs_min) btrfs_raid_array 78 fs/btrfs/block-group.c allowed |= btrfs_raid_array[raid_type].bg_flag; btrfs_raid_array 2988 fs/btrfs/block-group.c num_dev = btrfs_raid_array[btrfs_bg_flags_to_raid_index(type)].devs_max; btrfs_raid_array 3728 fs/btrfs/disk-io.c btrfs_raid_array[BTRFS_RAID_SINGLE]. btrfs_raid_array 3734 fs/btrfs/disk-io.c if (!(flags & btrfs_raid_array[raid_type].bg_flag)) btrfs_raid_array 3737 fs/btrfs/disk-io.c btrfs_raid_array[raid_type]. btrfs_raid_array 1935 fs/btrfs/super.c rattr = &btrfs_raid_array[btrfs_bg_flags_to_raid_index(type)]; btrfs_raid_array 2052 fs/btrfs/super.c btrfs_raid_array[i].bg_flag); btrfs_raid_array 34 fs/btrfs/volumes.c const struct btrfs_raid_attr btrfs_raid_array[BTRFS_NR_RAID_TYPES] = { btrfs_raid_array 135 fs/btrfs/volumes.c return btrfs_raid_array[index].raid_name; btrfs_raid_array 173 fs/btrfs/volumes.c DESCRIBE_FLAG(btrfs_raid_array[i].bg_flag, btrfs_raid_array 174 fs/btrfs/volumes.c btrfs_raid_array[i].raid_name); btrfs_raid_array 2061 fs/btrfs/volumes.c if (!(all_avail & btrfs_raid_array[i].bg_flag)) btrfs_raid_array 2064 fs/btrfs/volumes.c if (num_devices < btrfs_raid_array[i].devs_min) { btrfs_raid_array 2065 fs/btrfs/volumes.c int ret = btrfs_raid_array[i].mindev_error; btrfs_raid_array 3508 fs/btrfs/volumes.c const int ncopies = btrfs_raid_array[index].ncopies; btrfs_raid_array 3509 fs/btrfs/volumes.c const int nparity = btrfs_raid_array[index].nparity; btrfs_raid_array 4126 fs/btrfs/volumes.c for (i = 0; i < ARRAY_SIZE(btrfs_raid_array); i++) btrfs_raid_array 4127 fs/btrfs/volumes.c if (num_devices >= btrfs_raid_array[i].devs_min) btrfs_raid_array 4128 fs/btrfs/volumes.c allowed |= btrfs_raid_array[i].bg_flag; btrfs_raid_array 4157 fs/btrfs/volumes.c for (i = 0; i < ARRAY_SIZE(btrfs_raid_array); i++) { btrfs_raid_array 4158 fs/btrfs/volumes.c if (btrfs_raid_array[i].ncopies >= 2 || btrfs_raid_array 4159 fs/btrfs/volumes.c btrfs_raid_array[i].tolerated_failures >= 1) btrfs_raid_array 4160 fs/btrfs/volumes.c allowed |= btrfs_raid_array[i].bg_flag; btrfs_raid_array 4996 fs/btrfs/volumes.c sub_stripes = btrfs_raid_array[index].sub_stripes; btrfs_raid_array 4997 fs/btrfs/volumes.c dev_stripes = btrfs_raid_array[index].dev_stripes; btrfs_raid_array 4998 fs/btrfs/volumes.c devs_max = btrfs_raid_array[index].devs_max; btrfs_raid_array 5001 fs/btrfs/volumes.c devs_min = btrfs_raid_array[index].devs_min; btrfs_raid_array 5002 fs/btrfs/volumes.c devs_increment = btrfs_raid_array[index].devs_increment; btrfs_raid_array 5003 fs/btrfs/volumes.c ncopies = btrfs_raid_array[index].ncopies; btrfs_raid_array 5004 fs/btrfs/volumes.c nparity = btrfs_raid_array[index].nparity; btrfs_raid_array 5373 fs/btrfs/volumes.c return btrfs_raid_array[index].tolerated_failures; btrfs_raid_array 6747 fs/btrfs/volumes.c int ncopies = btrfs_raid_array[index].ncopies; btrfs_raid_array 7696 fs/btrfs/volumes.c return btrfs_raid_array[index].ncopies; btrfs_raid_array 371 fs/btrfs/volumes.h extern const struct btrfs_raid_attr btrfs_raid_array[BTRFS_NR_RAID_TYPES];