Lines Matching refs:sync_blocks
1876 sector_t sync_blocks = 0; in end_sync_write() local
1881 md_bitmap_end_sync(mddev->bitmap, s, &sync_blocks, 1); in end_sync_write()
1882 s += sync_blocks; in end_sync_write()
1883 sectors_to_go -= sync_blocks; in end_sync_write()
2607 sector_t sync_blocks; in raid1_sync_request() local
2627 &sync_blocks, 1); in raid1_sync_request()
2651 if (!md_bitmap_start_sync(mddev->bitmap, sector_nr, &sync_blocks, 1) && in raid1_sync_request()
2655 return sync_blocks; in raid1_sync_request()
2819 sync_blocks = 0; in raid1_sync_request()
2827 if (sync_blocks == 0) { in raid1_sync_request()
2829 &sync_blocks, still_degraded) && in raid1_sync_request()
2833 if ((len >> 9) > sync_blocks) in raid1_sync_request()
2834 len = sync_blocks<<9; in raid1_sync_request()
2854 sync_blocks -= (len>>9); in raid1_sync_request()