Lines Matching defs:dev_start
1790 sector_t dev_start, dev_end;
1795 * The space between dev_start and dev_end is the discard region.
1797 * For dev_start, it needs to consider three conditions:
1799 * the next stripe. So the dev_start is the start address of next
1806 dev_start = (first_stripe_index + 1) * mddev->chunk_sectors;
1808 dev_start = first_stripe_index * mddev->chunk_sectors;
1810 dev_start = start_disk_offset;
1821 * dev_end > dev_start all the time.
1835 dev_start + choose_data_offset(r10_bio, rdev),
1836 dev_end - dev_start);
1849 dev_start + choose_data_offset(r10_bio, rrdev),
1850 dev_end - dev_start);