max_sync         2909 drivers/md/raid10.c 	int max_sync;
max_sync         3037 drivers/md/raid10.c 	max_sync = RESYNC_PAGES << (PAGE_SHIFT-9);
max_sync         3090 drivers/md/raid10.c 			if (sync_blocks < max_sync)
max_sync         3091 drivers/md/raid10.c 				max_sync = sync_blocks;
max_sync         3153 drivers/md/raid10.c 				if (is_badblock(rdev, sector, max_sync,
max_sync         3156 drivers/md/raid10.c 						max_sync = first_bad - sector;
max_sync         3160 drivers/md/raid10.c 						if (max_sync > bad_sectors)
max_sync         3161 drivers/md/raid10.c 							max_sync = bad_sectors;
max_sync         3239 drivers/md/raid10.c 						    max_sync, 0))
max_sync         3245 drivers/md/raid10.c 						    max_sync, 0))
max_sync         3318 drivers/md/raid10.c 		if (sync_blocks < max_sync)
max_sync         3319 drivers/md/raid10.c 			max_sync = sync_blocks;
max_sync         3352 drivers/md/raid10.c 			if (is_badblock(rdev, sector, max_sync,
max_sync         3355 drivers/md/raid10.c 					max_sync = first_bad - sector;
max_sync         3358 drivers/md/raid10.c 					if (max_sync > bad_sectors)
max_sync         3359 drivers/md/raid10.c 						max_sync = bad_sectors;
max_sync         3419 drivers/md/raid10.c 	if (sector_nr + max_sync < max_sector)
max_sync         3420 drivers/md/raid10.c 		max_sector = sector_nr + max_sync;
max_sync         3515 drivers/md/raid10.c 	if (sector_nr + max_sync < max_sector)
max_sync         3516 drivers/md/raid10.c 		max_sector = sector_nr + max_sync;