Lines Matching refs:dests
342 struct dm_io_region dests[DM_KCOPYD_MAX_REGIONS]; member
557 r = dm_io(&io_req, job->num_dests, job->dests, NULL); in run_io_job()
565 unsigned nr_pages = dm_div_up(job->dests[0].count, PAGE_SIZE >> 9); in run_pages_job()
706 sub_job->dests[i].sector += progress; in segment_complete()
707 sub_job->dests[i].count = count; in segment_complete()
747 unsigned int num_dests, struct dm_io_region *dests, in dm_kcopyd_copy() argument
769 memcpy(&job->dests, dests, sizeof(*dests) * num_dests); in dm_kcopyd_copy()
778 if (bdev_zoned_model(dests[i].bdev) == BLK_ZONED_HM) { in dm_kcopyd_copy()
798 job->source.count = job->dests[0].count; in dm_kcopyd_copy()
806 if (!bdev_write_zeroes_sectors(job->dests[i].bdev)) { in dm_kcopyd_copy()
827 unsigned num_dests, struct dm_io_region *dests, in dm_kcopyd_zero() argument
830 dm_kcopyd_copy(kc, NULL, num_dests, dests, flags, fn, context); in dm_kcopyd_zero()