Lines Matching refs:sector_nr
1623 static sector_t sync_request(mddev_t *mddev, sector_t sector_nr, int *skipped, int go_faster) in sync_request() argument
1641 if (sector_nr >= max_sector) { in sync_request()
1663 return max_sector - sector_nr; in sync_request()
1668 if (!bitmap_start_sync(mddev->bitmap, sector_nr, &sync_blocks, 1) && in sync_request()
1682 bitmap_cond_end_sync(mddev->bitmap, sector_nr); in sync_request()
1686 conf->next_resync = sector_nr; in sync_request()
1699 r1_bio->sector = sector_nr; in sync_request()
1743 bio->bi_sector = sector_nr + rdev->data_offset; in sync_request()
1760 sector_t rv = max_sector - sector_nr; in sync_request()
1773 if (sector_nr + (len>>9) > max_sector) in sync_request()
1774 len = (max_sector - sector_nr) << 9; in sync_request()
1778 if (!bitmap_start_sync(mddev->bitmap, sector_nr, in sync_request()
1810 sector_nr += len>>9; in sync_request()