Home
last modified time | relevance | path

Searched refs:dev_end (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/md/
A Draid0.c479 sector_t dev_start, dev_end; in raid0_handle_discard() local
491 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()
A Draid10.c1749 sector_t dev_start, dev_end; in raid10_handle_discard() local
1772 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()
/linux/drivers/pnp/
A Dresource.c690 resource_size_t *dev_start, *dev_end; in pnp_range_reserved() local
695 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