Lines Matching refs:dev_start
1743 sector_t dev_start, dev_end;
1748 * The space between dev_start and dev_end is the discard region.
1750 * For dev_start, it needs to consider three conditions:
1752 * the next stripe. So the dev_start is the start address of next
1759 dev_start = (first_stripe_index + 1) * mddev->chunk_sectors;
1761 dev_start = first_stripe_index * mddev->chunk_sectors;
1763 dev_start = start_disk_offset;
1774 * dev_end > dev_start all the time.
1788 dev_start + choose_data_offset(r10_bio, rdev),
1789 dev_end - dev_start);
1802 dev_start + choose_data_offset(r10_bio, rrdev),
1803 dev_end - dev_start);