Lines Matching refs:ncopies
44 .ncopies = 2,
57 .ncopies = 2,
70 .ncopies = 3,
83 .ncopies = 4,
96 .ncopies = 2,
109 .ncopies = 1,
122 .ncopies = 1,
135 .ncopies = 1,
148 .ncopies = 1,
3480 const int ncopies = btrfs_raid_array[index].ncopies; in calc_data_stripes() local
3486 return num_stripes / ncopies; in calc_data_stripes()
4122 if (btrfs_raid_array[i].ncopies >= 2 || in btrfs_balance()
4895 int ncopies; member
4949 ctl->ncopies = btrfs_raid_array[index].ncopies; in init_alloc_chunk_ctl()
5057 data_stripes = (ctl->num_stripes - ctl->nparity) / ctl->ncopies; in decide_stripe_size_regular()
6632 int ncopies = btrfs_raid_array[index].ncopies; in calc_stripe_length() local
6639 data_stripes = num_stripes / ncopies; in calc_stripe_length()
7583 return btrfs_raid_array[index].ncopies; in btrfs_bg_type_to_factor()