Lines Matching refs:dev_start
1787 sector_t dev_start, dev_end;
1792 * The space between dev_start and dev_end is the discard region.
1794 * For dev_start, it needs to consider three conditions:
1796 * the next stripe. So the dev_start is the start address of next
1803 dev_start = (first_stripe_index + 1) * mddev->chunk_sectors;
1805 dev_start = first_stripe_index * mddev->chunk_sectors;
1807 dev_start = start_disk_offset;
1818 * dev_end > dev_start all the time.
1832 dev_start + choose_data_offset(r10_bio, rdev),
1833 dev_end - dev_start);
1846 dev_start + choose_data_offset(r10_bio, rrdev),
1847 dev_end - dev_start);