Lines Matching refs:dev_sectors
6290 BUG_ON((mddev->dev_sectors & in reshape_request()
6411 if (last_sector >= mddev->dev_sectors) in reshape_request()
6412 last_sector = mddev->dev_sectors - 1; in reshape_request()
6477 sector_t max_sector = mddev->dev_sectors; in raid5_sync_request()
6518 sector_t rv = mddev->dev_sectors - sector_nr; in raid5_sync_request()
7288 sectors = mddev->dev_sectors; in raid5_size()
7960 mddev->dev_sectors &= ~((sector_t)mddev->chunk_sectors - 1); in raid5_run()
7961 mddev->resync_max_sectors = mddev->dev_sectors; in raid5_run()
8380 if (sectors > mddev->dev_sectors && in raid5_resize()
8381 mddev->recovery_cp > mddev->dev_sectors) { in raid5_resize()
8382 mddev->recovery_cp = mddev->dev_sectors; in raid5_resize()
8385 mddev->dev_sectors = sectors; in raid5_resize()
8709 mddev->dev_sectors = sectors; in raid45_takeover_raid0()