Lines Matching refs:MaxSector
693 if (conf->mddev->reshape_position == MaxSector) in has_failed()
938 if (progress == MaxSector) in use_new_offset()
2309 sh->log_start = MaxSector; in alloc_stripe()
4094 (recovery_cp < MaxSector && sh->sector >= recovery_cp && in handle_stripe_dirtying()
5689 if (mddev->reshape_position != MaxSector) in make_discard_request()
5806 mddev->reshape_position == MaxSector) { in raid5_make_request()
5835 if (unlikely(conf->reshape_progress != MaxSector)) { in raid5_make_request()
5978 conf->reshape_progress == MaxSector) { in reshape_request()
5980 sector_nr = MaxSector; in reshape_request()
6724 mddev->reshape_position != MaxSector || in raid5_store_stripe_size()
7254 if (mddev->reshape_position == MaxSector) in setup_conf()
7348 if (conf->reshape_progress != MaxSector) { in setup_conf()
7357 if (mddev->reshape_position != MaxSector) { in setup_conf()
7456 if (mddev->recovery_cp != MaxSector) in raid5_run()
7488 if (mddev->reshape_position != MaxSector) { in raid5_run()
7597 } else if (mddev->recovery_cp == MaxSector) in raid5_run()
7619 conf->reshape_progress != MaxSector) { in raid5_run()
7673 mddev->recovery_cp != MaxSector) { in raid5_run()
7694 if (conf->reshape_progress != MaxSector) { in raid5_run()
7852 && tmp->replacement->recovery_offset == MaxSector in raid5_spare_active()
7870 && tmp->rdev->recovery_offset == MaxSector in raid5_spare_active()
7916 conf->reshape_progress == MaxSector) in raid5_remove_disk()
8119 if (mddev->delta_disks < 0 && mddev->reshape_position == MaxSector) { in check_reshape()
8277 conf->reshape_progress = MaxSector; in raid5_start_reshape()
8278 mddev->reshape_position = MaxSector; in raid5_start_reshape()
8302 conf->reshape_progress = MaxSector; in end_reshape()
8303 conf->mddev->reshape_position = MaxSector; in end_reshape()
8308 rdev->recovery_offset = MaxSector; in end_reshape()
8344 mddev->reshape_position = MaxSector; in raid5_finish_reshape()
8406 mddev->recovery_cp = MaxSector; in raid45_takeover_raid0()