Lines Matching defs:dev_start
1816 sector_t dev_start, dev_end;
1821 * The space between dev_start and dev_end is the discard region.
1823 * For dev_start, it needs to consider three conditions:
1825 * the next stripe. So the dev_start is the start address of next
1832 dev_start = (first_stripe_index + 1) * mddev->chunk_sectors;
1834 dev_start = first_stripe_index * mddev->chunk_sectors;
1836 dev_start = start_disk_offset;
1847 * dev_end > dev_start all the time.
1861 dev_start + choose_data_offset(r10_bio, rdev),
1862 dev_end - dev_start);
1875 dev_start + choose_data_offset(r10_bio, rrdev),
1876 dev_end - dev_start);