Searched refs:dev_end (Results 1 – 2 of 2) sorted by relevance
515 sector_t dev_start, dev_end; in raid0_handle_discard() local528 dev_end = (last_stripe_index + 1) * mddev->chunk_sectors; in raid0_handle_discard()530 dev_end = last_stripe_index * mddev->chunk_sectors; in raid0_handle_discard()532 dev_end = end_disk_offset; in raid0_handle_discard()534 if (dev_end <= dev_start) in raid0_handle_discard()541 dev_end - dev_start, GFP_NOIO, 0, &discard_bio) || in raid0_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()