Lines Matching refs:sector
1563 sector_t sector = 0; in bitmap_close_sync() local
1567 while (sector < bitmap->mddev->resync_max_sectors) { in bitmap_close_sync()
1568 bitmap_end_sync(bitmap, sector, &blocks, 0); in bitmap_close_sync()
1569 sector += blocks; in bitmap_close_sync()
1574 void bitmap_cond_end_sync(struct bitmap *bitmap, sector_t sector) in bitmap_cond_end_sync() argument
1581 if (sector == 0) { in bitmap_cond_end_sync()
1591 bitmap->mddev->curr_resync_completed = sector; in bitmap_cond_end_sync()
1593 sector &= ~((1ULL << bitmap->counts.chunkshift) - 1); in bitmap_cond_end_sync()
1595 while (s < sector && s < bitmap->mddev->resync_max_sectors) { in bitmap_cond_end_sync()
1817 sector_t sector = 0; in bitmap_load() local
1828 while (sector < mddev->resync_max_sectors) { in bitmap_load()
1830 bitmap_start_sync(bitmap, sector, &blocks, 0); in bitmap_load()
1831 sector += blocks; in bitmap_load()