curr_resync      4863 drivers/md/md.c 	if (mddev->curr_resync == 0)
curr_resync      4882 drivers/md/md.c 	if (mddev->curr_resync == 1 ||
curr_resync      4883 drivers/md/md.c 	    mddev->curr_resync == 2)
curr_resync      5983 drivers/md/md.c 	mddev->curr_resync = 0;
curr_resync      7825 drivers/md/md.c 	resync = mddev->curr_resync;
curr_resync      8476 drivers/md/md.c 		mddev->curr_resync = 2;
curr_resync      8485 drivers/md/md.c 			&&  mddev2->curr_resync
curr_resync      8488 drivers/md/md.c 				if (mddev < mddev2 && mddev->curr_resync == 2) {
curr_resync      8490 drivers/md/md.c 					mddev->curr_resync = 1;
curr_resync      8493 drivers/md/md.c 				if (mddev > mddev2 && mddev->curr_resync == 1)
curr_resync      8504 drivers/md/md.c 				    mddev2->curr_resync >= mddev->curr_resync) {
curr_resync      8521 drivers/md/md.c 	} while (mddev->curr_resync < 2);
curr_resync      8603 drivers/md/md.c 		mddev->curr_resync = j;
curr_resync      8605 drivers/md/md.c 		mddev->curr_resync = 3; /* no longer delayed */
curr_resync      8618 drivers/md/md.c 		    ((mddev->curr_resync > mddev->curr_resync_completed &&
curr_resync      8619 drivers/md/md.c 		      (mddev->curr_resync - mddev->curr_resync_completed)
curr_resync      8673 drivers/md/md.c 			mddev->curr_resync = j;
curr_resync      8740 drivers/md/md.c 	    mddev->curr_resync > 3) {
curr_resync      8741 drivers/md/md.c 		mddev->curr_resync_completed = mddev->curr_resync;
curr_resync      8747 drivers/md/md.c 	    mddev->curr_resync > 3) {
curr_resync      8750 drivers/md/md.c 				if (mddev->curr_resync >= mddev->recovery_cp) {
curr_resync      8759 drivers/md/md.c 							mddev->curr_resync;
curr_resync      8765 drivers/md/md.c 				mddev->curr_resync = MaxSector;
curr_resync      8775 drivers/md/md.c 					    rdev->recovery_offset < mddev->curr_resync)
curr_resync      8776 drivers/md/md.c 						rdev->recovery_offset = mddev->curr_resync;
curr_resync      8812 drivers/md/md.c 	mddev->curr_resync = 0;
curr_resync       346 drivers/md/md.h 	sector_t			curr_resync;	/* last block scheduled */
curr_resync      2660 drivers/md/raid1.c 		if (mddev->curr_resync < max_sector) /* aborted */
curr_resync      2661 drivers/md/raid1.c 			md_bitmap_end_sync(mddev->bitmap, mddev->curr_resync,
curr_resync      2959 drivers/md/raid10.c 		if (mddev->curr_resync < max_sector) { /* aborted */
curr_resync      2961 drivers/md/raid10.c 				md_bitmap_end_sync(mddev->bitmap, mddev->curr_resync,
curr_resync      2965 drivers/md/raid10.c 					raid10_find_virt(conf, mddev->curr_resync, i);
curr_resync      6040 drivers/md/raid5.c 		if (mddev->curr_resync < max_sector) /* aborted */
curr_resync      6041 drivers/md/raid5.c 			md_bitmap_end_sync(mddev->bitmap, mddev->curr_resync,