Lines Matching refs:degraded
1951 conf->geo.raid_disks - mddev->degraded); in raid10_status()
2044 mddev->degraded++; in raid10_error()
2055 mdname(mddev), conf->geo.raid_disks - mddev->degraded); in raid10_error()
2068 pr_debug(" --- wd:%d rd:%d\n", conf->geo.raid_disks - conf->mddev->degraded, in print_conf()
2132 mddev->degraded -= count; in raid10_spare_active()
3113 if (mddev->degraded) in raid10d()
3687 &sync_blocks, mddev->degraded) && in raid10_sync_request()
4208 mddev->degraded = 0; in raid10_run()
4226 mddev->degraded++; in raid10_run()
4245 mdname(mddev), conf->geo.raid_disks - mddev->degraded, in raid10_run()
4370 if (mddev->degraded > 0) { in raid10_takeover_raid0()
4488 int degraded, degraded2; in calc_degraded() local
4492 degraded = 0; in calc_degraded()
4497 degraded++; in calc_degraded()
4503 degraded++; in calc_degraded()
4507 return degraded; in calc_degraded()
4525 if (degraded2 > degraded) in calc_degraded()
4527 return degraded; in calc_degraded()
4679 mddev->degraded = calc_degraded(conf); in raid10_start_reshape()