Home
last modified time | relevance | path

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

/linux-6.6.21/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,
3689 const int ncopies = btrfs_raid_array[index].ncopies; in calc_data_stripes() local
[all …]
Dtree-checker.c808 int ncopies; in btrfs_check_chunk_valid() local
816 ncopies = btrfs_raid_array[raid_index].ncopies; in btrfs_check_chunk_valid()
824 if (unlikely(num_stripes < ncopies)) { in btrfs_check_chunk_valid()
827 num_stripes, ncopies); in btrfs_check_chunk_valid()
Dvolumes.h505 u8 ncopies; /* how many copies to data has */ member
Dsuper.c1956 num_stripes = rattr->ncopies; in btrfs_calc_avail_data_space()
/linux-6.6.21/drivers/md/
Draid10.c1974 int disks, ncopies; in _enough() local
1977 ncopies = conf->prev.near_copies; in _enough()
1980 ncopies = conf->geo.near_copies; in _enough()
1998 first = (first + ncopies) % disks; in _enough()