sync_blocks      1896 drivers/md/raid1.c 	sector_t sync_blocks = 0;
sync_blocks      1902 drivers/md/raid1.c 		md_bitmap_end_sync(mddev->bitmap, s, &sync_blocks, 1);
sync_blocks      1903 drivers/md/raid1.c 		s += sync_blocks;
sync_blocks      1904 drivers/md/raid1.c 		sectors_to_go -= sync_blocks;
sync_blocks      2642 drivers/md/raid1.c 	sector_t sync_blocks;
sync_blocks      2662 drivers/md/raid1.c 					   &sync_blocks, 1);
sync_blocks      2686 drivers/md/raid1.c 	if (!md_bitmap_start_sync(mddev->bitmap, sector_nr, &sync_blocks, 1) &&
sync_blocks      2690 drivers/md/raid1.c 		return sync_blocks;
sync_blocks      2854 drivers/md/raid1.c 	sync_blocks = 0;
sync_blocks      2862 drivers/md/raid1.c 		if (sync_blocks == 0) {
sync_blocks      2864 drivers/md/raid1.c 						  &sync_blocks, still_degraded) &&
sync_blocks      2868 drivers/md/raid1.c 			if ((len >> 9) > sync_blocks)
sync_blocks      2869 drivers/md/raid1.c 				len = sync_blocks<<9;
sync_blocks      2889 drivers/md/raid1.c 		sync_blocks -= (len>>9);
sync_blocks      2910 drivers/md/raid10.c 	sector_t sync_blocks;
sync_blocks      2962 drivers/md/raid10.c 						   &sync_blocks, 1);
sync_blocks      2967 drivers/md/raid10.c 						   &sync_blocks, 1);
sync_blocks      3089 drivers/md/raid10.c 							 &sync_blocks, 1);
sync_blocks      3090 drivers/md/raid10.c 			if (sync_blocks < max_sync)
sync_blocks      3091 drivers/md/raid10.c 				max_sync = sync_blocks;
sync_blocks      3135 drivers/md/raid10.c 							 &sync_blocks, still_degraded);
sync_blocks      3311 drivers/md/raid10.c 					  &sync_blocks, mddev->degraded) &&
sync_blocks      3316 drivers/md/raid10.c 			return sync_blocks + sectors_skipped;
sync_blocks      3318 drivers/md/raid10.c 		if (sync_blocks < max_sync)
sync_blocks      3319 drivers/md/raid10.c 			max_sync = sync_blocks;
sync_blocks      6028 drivers/md/raid5.c 	sector_t sync_blocks;
sync_blocks      6042 drivers/md/raid5.c 					   &sync_blocks, 1);
sync_blocks      6074 drivers/md/raid5.c 	    !md_bitmap_start_sync(mddev->bitmap, sector_nr, &sync_blocks, 1) &&
sync_blocks      6075 drivers/md/raid5.c 	    sync_blocks >= STRIPE_SECTORS) {
sync_blocks      6077 drivers/md/raid5.c 		sync_blocks /= STRIPE_SECTORS;
sync_blocks      6079 drivers/md/raid5.c 		return sync_blocks * STRIPE_SECTORS; /* keep things rounded to whole stripes */
sync_blocks      6105 drivers/md/raid5.c 	md_bitmap_start_sync(mddev->bitmap, sector_nr, &sync_blocks, still_degraded);