Searched refs:__raid10_near_copies (Results 1 – 1 of 1) sorted by relevance
529 static unsigned int __raid10_near_copies(int layout) in __raid10_near_copies() function537 return __raid10_near_copies(layout >> RAID10_FAR_COPIES_SHIFT); in __raid10_far_copies()549 return !__is_raid10_offset(layout) && __raid10_near_copies(layout) > 1; in __is_raid10_near()570 if (__raid10_near_copies(layout) > 1) in raid10_md_layout_to_format()595 return max(__raid10_near_copies(layout), __raid10_far_copies(layout)); in raid10_md_layout_to_copies()1755 near_copies = __raid10_near_copies(mddev->layout); in rs_check_takeover()2398 if (mddev->raid_disks % __raid10_near_copies(mddev->layout) || in super_init_validation()2759 rs->raid10_copies != __raid10_near_copies(mddev->layout)) { in rs_prepare_reshape()