Lines Matching refs:ncopies
42 .ncopies = 2,
55 .ncopies = 2,
68 .ncopies = 2,
81 .ncopies = 1,
94 .ncopies = 1,
107 .ncopies = 1,
120 .ncopies = 1,
3463 const int ncopies = btrfs_raid_array[index].ncopies; in calc_data_stripes() local
3469 return num_stripes / ncopies; in calc_data_stripes()
4113 if (btrfs_raid_array[i].ncopies >= 2 || in btrfs_balance()
4928 int ncopies; /* how many copies to data has */ in __btrfs_alloc_chunk() local
4958 ncopies = btrfs_raid_array[index].ncopies; in __btrfs_alloc_chunk()
5084 data_stripes = (num_stripes - nparity) / ncopies; in __btrfs_alloc_chunk()
6702 int ncopies = btrfs_raid_array[index].ncopies; in calc_stripe_length() local
6713 data_stripes = num_stripes / ncopies; in calc_stripe_length()
7649 return btrfs_raid_array[index].ncopies; in btrfs_bg_type_to_factor()