Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/btrfs/
Dvolumes.c44 .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,
3481 const int ncopies = btrfs_raid_array[index].ncopies; in calc_data_stripes() local
[all …]
Dtree-checker.c766 int ncopies; in btrfs_check_chunk_valid() local
774 ncopies = btrfs_raid_array[raid_index].ncopies; in btrfs_check_chunk_valid()
782 if (num_stripes < ncopies) { in btrfs_check_chunk_valid()
785 num_stripes, ncopies); in btrfs_check_chunk_valid()
Dvolumes.h360 u8 ncopies; /* how many copies to data has */ member
/kernel/linux/linux-5.10/drivers/md/
Draid10.c1575 int disks, ncopies; in _enough() local
1578 ncopies = conf->prev.near_copies; in _enough()
1581 ncopies = conf->geo.near_copies; in _enough()
1599 first = (first + ncopies) % disks; in _enough()