Home
last modified time | relevance | path

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

/linux-6.1.9/fs/btrfs/
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,
3677 const int ncopies = btrfs_raid_array[index].ncopies; in calc_data_stripes() local
[all …]
Dtree-checker.c790 int ncopies; in btrfs_check_chunk_valid() local
798 ncopies = btrfs_raid_array[raid_index].ncopies; in btrfs_check_chunk_valid()
806 if (unlikely(num_stripes < ncopies)) { in btrfs_check_chunk_valid()
809 num_stripes, ncopies); in btrfs_check_chunk_valid()
Dvolumes.h531 u8 ncopies; /* how many copies to data has */ member
Dsuper.c2250 num_stripes = rattr->ncopies; in btrfs_calc_avail_data_space()
/linux-6.1.9/drivers/md/
Draid10.c1970 int disks, ncopies; in _enough() local
1973 ncopies = conf->prev.near_copies; in _enough()
1976 ncopies = conf->geo.near_copies; in _enough()
1994 first = (first + ncopies) % disks; in _enough()