Lines Matching refs:dev_sectors
4257 BUG_ON((mddev->dev_sectors &
4315 if (last_sector >= mddev->dev_sectors)
4316 last_sector = mddev->dev_sectors - 1;
4362 sector_t max_sector = mddev->dev_sectors;
4404 sector_t rv = mddev->dev_sectors - sector_nr;
4703 sectors = mddev->dev_sectors;
5136 mddev->dev_sectors &= ~(mddev->chunk_sectors - 1);
5137 mddev->resync_max_sectors = mddev->dev_sectors;
5451 if (sectors > mddev->dev_sectors && mddev->recovery_cp == MaxSector) {
5452 mddev->recovery_cp = mddev->dev_sectors;
5455 mddev->dev_sectors = sectors;