Lines Matching refs:sync_blocks
1933 sector_t sync_blocks = 0; in abort_sync_write() local
1939 md_bitmap_end_sync(mddev->bitmap, s, &sync_blocks, 1); in abort_sync_write()
1940 s += sync_blocks; in abort_sync_write()
1941 sectors_to_go -= sync_blocks; in abort_sync_write()
2675 sector_t sync_blocks; in raid1_sync_request() local
2695 &sync_blocks, 1); in raid1_sync_request()
2719 if (!md_bitmap_start_sync(mddev->bitmap, sector_nr, &sync_blocks, 1) && in raid1_sync_request()
2723 return sync_blocks; in raid1_sync_request()
2887 sync_blocks = 0; in raid1_sync_request()
2895 if (sync_blocks == 0) { in raid1_sync_request()
2897 &sync_blocks, still_degraded) && in raid1_sync_request()
2901 if ((len >> 9) > sync_blocks) in raid1_sync_request()
2902 len = sync_blocks<<9; in raid1_sync_request()
2922 sync_blocks -= (len>>9); in raid1_sync_request()