resync_max        642 drivers/md/md.c 	mddev->resync_max = MaxSector;
resync_max       4916 drivers/md/md.c 	if (min > mddev->resync_max)
resync_max       4938 drivers/md/md.c 	if (mddev->resync_max == MaxSector)
resync_max       4942 drivers/md/md.c 			       (unsigned long long)mddev->resync_max);
resync_max       4950 drivers/md/md.c 		mddev->resync_max = MaxSector;
resync_max       4962 drivers/md/md.c 		if (max < mddev->resync_max &&
resync_max       4976 drivers/md/md.c 		mddev->resync_max = max;
resync_max       5962 drivers/md/md.c 	mddev->resync_max = MaxSector;
resync_max       8623 drivers/md/md.c 		     >= mddev->resync_max - mddev->curr_resync_completed ||
resync_max       8624 drivers/md/md.c 		     mddev->curr_resync_completed > mddev->resync_max
resync_max       8638 drivers/md/md.c 		while (j >= mddev->resync_max &&
resync_max       8646 drivers/md/md.c 						 mddev->resync_max > j
resync_max       8808 drivers/md/md.c 		mddev->resync_max = MaxSector;
resync_max        410 drivers/md/md.h 	sector_t			resync_max;	/* resync should pause
resync_max       2849 drivers/md/raid1.c 	if (max_sector > mddev->resync_max)
resync_max       2850 drivers/md/raid1.c 		max_sector = mddev->resync_max; /* Don't do IO beyond here */
resync_max       3005 drivers/md/raid10.c 	if (max_sector > mddev->resync_max)
resync_max       3006 drivers/md/raid10.c 		max_sector = mddev->resync_max; /* Don't do IO beyond here */
resync_max       5985 drivers/md/raid5.c 	if (mddev->curr_resync_completed > mddev->resync_max ||
resync_max       5987 drivers/md/raid5.c 	    >= mddev->resync_max - mddev->curr_resync_completed) {