Lines Matching refs:max_sync
3301 int max_sync; in raid10_sync_request() local
3443 max_sync = RESYNC_PAGES << (PAGE_SHIFT-9); in raid10_sync_request()
3490 if (sync_blocks < max_sync) in raid10_sync_request()
3491 max_sync = sync_blocks; in raid10_sync_request()
3554 if (is_badblock(rdev, sector, max_sync, in raid10_sync_request()
3557 max_sync = first_bad - sector; in raid10_sync_request()
3561 if (max_sync > bad_sectors) in raid10_sync_request()
3562 max_sync = bad_sectors; in raid10_sync_request()
3640 max_sync, 0)) in raid10_sync_request()
3646 max_sync, 0)) in raid10_sync_request()
3723 if (sync_blocks < max_sync) in raid10_sync_request()
3724 max_sync = sync_blocks; in raid10_sync_request()
3757 if (is_badblock(rdev, sector, max_sync, in raid10_sync_request()
3760 max_sync = first_bad - sector; in raid10_sync_request()
3763 if (max_sync > bad_sectors) in raid10_sync_request()
3764 max_sync = bad_sectors; in raid10_sync_request()
3824 if (sector_nr + max_sync < max_sector) in raid10_sync_request()
3825 max_sector = sector_nr + max_sync; in raid10_sync_request()
3920 if (sector_nr + max_sync < max_sector) in raid10_sync_request()
3921 max_sector = sector_nr + max_sync; in raid10_sync_request()