Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/md/
Draid0.c479 sector_t dev_start, dev_end; in raid0_handle_discard() local
492 dev_end = (last_stripe_index + 1) * mddev->chunk_sectors; in raid0_handle_discard()
494 dev_end = last_stripe_index * mddev->chunk_sectors; in raid0_handle_discard()
496 dev_end = end_disk_offset; in raid0_handle_discard()
498 if (dev_end <= dev_start) in raid0_handle_discard()
505 dev_end - dev_start, GFP_NOIO, 0, &discard_bio) || in raid0_handle_discard()
/Linux-v5.10/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()
/Linux-v5.10/drivers/virtio/
Dvirtio_mem.c506 unsigned long dev_end = virtio_mem_mb_id_to_phys(vm->last_mb_id) + in virtio_mem_overlaps_range() local
509 return start < dev_end && dev_start < start + size; in virtio_mem_overlaps_range()