Lines Matching refs:delta_disks

3969 			if (mddev->delta_disks < 0  in make_request()
3975 if (mddev->delta_disks < 0 in make_request()
4008 if (mddev->delta_disks < 0 in make_request()
4109 if (mddev->delta_disks < 0 && in reshape_request()
4113 } else if (mddev->delta_disks >= 0 && in reshape_request()
4148 if (mddev->delta_disks < 0) { in reshape_request()
4175 if ((mddev->delta_disks < 0 in reshape_request()
4196 if (mddev->delta_disks < 0) { in reshape_request()
4240 if (mddev->delta_disks < 0) in reshape_request()
4829 conf->previous_raid_disks = mddev->raid_disks - mddev->delta_disks; in setup_conf()
4966 old_disks = mddev->raid_disks - mddev->delta_disks; in run()
4985 if (mddev->delta_disks == 0) { in run()
5001 } else if (mddev->delta_disks < 0 in run()
5019 BUG_ON(mddev->delta_disks != 0); in run()
5431 if (mddev->delta_disks == 0 && in check_reshape()
5440 if (mddev->delta_disks < 0) { in check_reshape()
5449 if (mddev->raid_disks + mddev->delta_disks < min) in check_reshape()
5456 return resize_stripes(conf, conf->raid_disks + mddev->delta_disks); in check_reshape()
5477 if (spares - mddev->degraded < mddev->delta_disks - conf->max_degraded) in raid5_start_reshape()
5487 if (raid5_size(mddev, 0, conf->raid_disks + mddev->delta_disks) in raid5_start_reshape()
5497 conf->raid_disks += mddev->delta_disks; in raid5_start_reshape()
5502 if (mddev->delta_disks < 0) in raid5_start_reshape()
5517 if (mddev->delta_disks >= 0) { in raid5_start_reshape()
5611 if (mddev->delta_disks > 0) { in raid5_finish_reshape()
5624 d < conf->raid_disks - mddev->delta_disks; in raid5_finish_reshape()
5638 mddev->delta_disks = 0; in raid5_finish_reshape()
5697 mddev->delta_disks = 1; in raid45_takeover_raid0()
5760 mddev->delta_disks = -1; in raid5_takeover_raid6()
5909 mddev->delta_disks = 1; in raid6_takeover()