Lines Matching refs:sector
1562 sector_t sector = 0; in bitmap_close_sync() local
1566 while (sector < bitmap->mddev->resync_max_sectors) { in bitmap_close_sync()
1567 bitmap_end_sync(bitmap, sector, &blocks, 0); in bitmap_close_sync()
1568 sector += blocks; in bitmap_close_sync()
1573 void bitmap_cond_end_sync(struct bitmap *bitmap, sector_t sector, bool force) in bitmap_cond_end_sync() argument
1580 if (sector == 0) { in bitmap_cond_end_sync()
1590 bitmap->mddev->curr_resync_completed = sector; in bitmap_cond_end_sync()
1592 sector &= ~((1ULL << bitmap->counts.chunkshift) - 1); in bitmap_cond_end_sync()
1594 while (s < sector && s < bitmap->mddev->resync_max_sectors) { in bitmap_cond_end_sync()
1816 sector_t sector = 0; in bitmap_load() local
1827 while (sector < mddev->resync_max_sectors) { in bitmap_load()
1829 bitmap_start_sync(bitmap, sector, &blocks, 0); in bitmap_load()
1830 sector += blocks; in bitmap_load()