Home
last modified time | relevance | path

Searched refs:ncopies (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Dvolumes.c51 .ncopies = 2,
64 .ncopies = 2,
77 .ncopies = 3,
90 .ncopies = 4,
103 .ncopies = 2,
116 .ncopies = 1,
129 .ncopies = 1,
142 .ncopies = 1,
155 .ncopies = 1,
3739 const int ncopies = btrfs_raid_array[index].ncopies; in calc_data_stripes() local
[all …]
H A Dtree-checker.c810 int ncopies; in btrfs_check_chunk_valid() local
818 ncopies = btrfs_raid_array[raid_index].ncopies; in btrfs_check_chunk_valid()
826 if (unlikely(num_stripes < ncopies)) { in btrfs_check_chunk_valid()
829 num_stripes, ncopies); in btrfs_check_chunk_valid()
H A Dvolumes.h511 u8 ncopies; /* how many copies to data has */ member
H A Dsuper.c1956 num_stripes = rattr->ncopies; in btrfs_calc_avail_data_space()
/openbmc/linux/drivers/md/
H A Draid10.c1957 int disks, ncopies; in _enough() local
1960 ncopies = conf->prev.near_copies; in _enough()
1963 ncopies = conf->geo.near_copies; in _enough()
1981 first = (first + ncopies) % disks; in _enough()