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()
4206 mddev->degraded = 0; in raid10_run()
4224 mddev->degraded++; in raid10_run()
4243 mdname(mddev), conf->geo.raid_disks - mddev->degraded, in raid10_run()
4368 if (mddev->degraded > 0) { in raid10_takeover_raid0()
4486 int degraded, degraded2; in calc_degraded() local
4490 degraded = 0; in calc_degraded()
4495 degraded++; in calc_degraded()
4501 degraded++; in calc_degraded()
4505 return degraded; in calc_degraded()
4523 if (degraded2 > degraded) in calc_degraded()
4525 return degraded; in calc_degraded()
4677 mddev->degraded = calc_degraded(conf); in raid10_start_reshape()