Searched refs:__raid10_near_copies (Results 1 – 1 of 1) sorted by relevance
530 static unsigned int __raid10_near_copies(int layout) in __raid10_near_copies() function538 return __raid10_near_copies(layout >> RAID10_FAR_COPIES_SHIFT); in __raid10_far_copies()550 return !__is_raid10_offset(layout) && __raid10_near_copies(layout) > 1; in __is_raid10_near()571 if (__raid10_near_copies(layout) > 1) in raid10_md_layout_to_format()596 return max(__raid10_near_copies(layout), __raid10_far_copies(layout)); in raid10_md_layout_to_copies()1787 near_copies = __raid10_near_copies(mddev->layout); in rs_check_takeover()2430 if (mddev->raid_disks % __raid10_near_copies(mddev->layout) || in super_init_validation()2791 rs->raid10_copies != __raid10_near_copies(mddev->layout)) { in rs_prepare_reshape()