Lines Matching refs:MaxSector

752 	if (conf->mddev->reshape_position != MaxSector)  in has_failed()
1019 if (progress == MaxSector) in use_new_offset()
2385 sh->log_start = MaxSector; in alloc_stripe()
4202 (recovery_cp < MaxSector && sh->sector >= recovery_cp && in handle_stripe_dirtying()
5792 if (mddev->reshape_position != MaxSector) in make_discard_request()
5889 sector_t max_sector = 0, min_sector = MaxSector; in stripe_ahead_of_reshape()
5988 if (unlikely(conf->reshape_progress != MaxSector)) { in make_stripe_request()
6165 mddev->reshape_position == MaxSector) { in raid5_make_request()
6191 (conf->reshape_progress != MaxSector) && in raid5_make_request()
6208 if (likely(conf->reshape_progress == MaxSector)) in raid5_make_request()
6293 conf->reshape_progress == MaxSector) { in reshape_request()
6295 sector_nr = MaxSector; in reshape_request()
6330 return MaxSector; in reshape_request()
6350 return MaxSector; in reshape_request()
6356 return MaxSector; in reshape_request()
6359 return MaxSector; in reshape_request()
7050 mddev->reshape_position != MaxSector || in raid5_store_stripe_size()
7584 if (mddev->reshape_position == MaxSector) in setup_conf()
7681 if (conf->reshape_progress != MaxSector) { in setup_conf()
7690 if (mddev->reshape_position != MaxSector) { in setup_conf()
7790 if (mddev->recovery_cp != MaxSector) in raid5_run()
7822 if (mddev->reshape_position != MaxSector) { in raid5_run()
7931 } else if (mddev->recovery_cp == MaxSector) in raid5_run()
7954 conf->reshape_progress != MaxSector) { in raid5_run()
8006 mddev->recovery_cp != MaxSector) { in raid5_run()
8027 if (conf->reshape_progress != MaxSector) { in raid5_run()
8187 && replacement->recovery_offset == MaxSector in raid5_spare_active()
8205 && rdev->recovery_offset == MaxSector in raid5_spare_active()
8255 conf->reshape_progress == MaxSector) in raid5_remove_disk()
8378 mddev->reshape_position == MaxSector && in raid5_add_disk()
8465 if (mddev->delta_disks < 0 && mddev->reshape_position == MaxSector) { in check_reshape()
8515 if (mddev->recovery_cp < MaxSector) in raid5_start_reshape()
8631 conf->reshape_progress = MaxSector; in raid5_start_reshape()
8632 mddev->reshape_position = MaxSector; in raid5_start_reshape()
8656 conf->reshape_progress = MaxSector; in end_reshape()
8657 conf->mddev->reshape_position = MaxSector; in end_reshape()
8662 rdev->recovery_offset = MaxSector; in end_reshape()
8701 mddev->reshape_position = MaxSector; in raid5_finish_reshape()
8763 mddev->recovery_cp = MaxSector; in raid45_takeover_raid0()