Lines Matching refs:MaxSector
647 if (conf->mddev->reshape_position == MaxSector) in has_failed()
870 if (progress == MaxSector) in use_new_offset()
3571 (recovery_cp < MaxSector && sh->sector >= recovery_cp && in handle_stripe_dirtying()
5059 if (mddev->reshape_position != MaxSector) in make_discard_request()
5175 mddev->reshape_position == MaxSector) { in make_request()
5203 if (unlikely(conf->reshape_progress != MaxSector)) { in make_request()
5364 conf->reshape_progress == MaxSector) { in reshape_request()
5366 sector_nr = MaxSector; in reshape_request()
6531 if (mddev->reshape_position == MaxSector) in setup_conf()
6609 if (conf->reshape_progress != MaxSector) { in setup_conf()
6698 if (mddev->recovery_cp != MaxSector) in run()
6724 if (mddev->reshape_position != MaxSector) { in run()
6849 conf->reshape_progress != MaxSector) { in run()
6905 mddev->recovery_cp != MaxSector) { in run()
6933 if (conf->reshape_progress != MaxSector) { in run()
7110 && tmp->replacement->recovery_offset == MaxSector in raid5_spare_active()
7128 && tmp->rdev->recovery_offset == MaxSector in raid5_spare_active()
7168 conf->reshape_progress == MaxSector) in raid5_remove_disk()
7346 if (mddev->delta_disks < 0 && mddev->reshape_position == MaxSector) { in check_reshape()
7501 conf->reshape_progress = MaxSector; in raid5_start_reshape()
7502 mddev->reshape_position = MaxSector; in raid5_start_reshape()
7527 conf->reshape_progress = MaxSector; in end_reshape()
7528 conf->mddev->reshape_position = MaxSector; in end_reshape()
7576 mddev->reshape_position = MaxSector; in raid5_finish_reshape()
7640 mddev->recovery_cp = MaxSector; in raid45_takeover_raid0()