Lines Matching defs:dev_start
1781 sector_t dev_start, dev_end;
1786 * The space between dev_start and dev_end is the discard region.
1788 * For dev_start, it needs to consider three conditions:
1790 * the next stripe. So the dev_start is the start address of next
1797 dev_start = (first_stripe_index + 1) * mddev->chunk_sectors;
1799 dev_start = first_stripe_index * mddev->chunk_sectors;
1801 dev_start = start_disk_offset;
1812 * dev_end > dev_start all the time.
1826 dev_start + choose_data_offset(r10_bio, rdev),
1827 dev_end - dev_start);
1840 dev_start + choose_data_offset(r10_bio, rrdev),
1841 dev_end - dev_start);