Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/md/
Draid0.c515 sector_t dev_start, dev_end; in raid0_handle_discard() local
528 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()
/Linux-v4.19/drivers/pnp/
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()