Lines Matching refs:sync_blocks
1928 sector_t sync_blocks = 0; in abort_sync_write() local
1934 md_bitmap_end_sync(mddev->bitmap, s, &sync_blocks, 1); in abort_sync_write()
1935 s += sync_blocks; in abort_sync_write()
1936 sectors_to_go -= sync_blocks; in abort_sync_write()
2672 sector_t sync_blocks; in raid1_sync_request() local
2692 &sync_blocks, 1); in raid1_sync_request()
2716 if (!md_bitmap_start_sync(mddev->bitmap, sector_nr, &sync_blocks, 1) && in raid1_sync_request()
2720 return sync_blocks; in raid1_sync_request()
2884 sync_blocks = 0; in raid1_sync_request()
2892 if (sync_blocks == 0) { in raid1_sync_request()
2894 &sync_blocks, still_degraded) && in raid1_sync_request()
2898 if ((len >> 9) > sync_blocks) in raid1_sync_request()
2899 len = sync_blocks<<9; in raid1_sync_request()
2919 sync_blocks -= (len>>9); in raid1_sync_request()