Searched refs:dev_end (Results 1 – 3 of 3) sorted by relevance
479 sector_t dev_start, dev_end; in raid0_handle_discard() local491 dev_end = (last_stripe_index + 1) * mddev->chunk_sectors; in raid0_handle_discard()493 dev_end = last_stripe_index * mddev->chunk_sectors; in raid0_handle_discard()495 dev_end = end_disk_offset; in raid0_handle_discard()497 if (dev_end <= dev_start) in raid0_handle_discard()504 dev_end - dev_start); in raid0_handle_discard()
1749 sector_t dev_start, dev_end; in raid10_handle_discard() local1772 dev_end = (last_stripe_index + 1) * mddev->chunk_sectors; in raid10_handle_discard()1774 dev_end = last_stripe_index * mddev->chunk_sectors; in raid10_handle_discard()1776 dev_end = end_disk_offset; in raid10_handle_discard()1794 dev_end - dev_start); in raid10_handle_discard()1807 dev_end - dev_start); in raid10_handle_discard()
690 resource_size_t *dev_start, *dev_end; in pnp_range_reserved() local695 dev_end = &pnp_res->res.end; in pnp_range_reserved()696 if (ranged_conflict(&start, &end, dev_start, dev_end)) in pnp_range_reserved()
Completed in 15 milliseconds