Lines Matching refs:dests
362 struct dm_io_region dests[DM_KCOPYD_MAX_REGIONS]; member
579 r = dm_io(&io_req, job->num_dests, job->dests, NULL); in run_io_job()
587 unsigned nr_pages = dm_div_up(job->dests[0].count, PAGE_SIZE >> 9); in run_pages_job()
734 sub_job->dests[i].sector += progress; in segment_complete()
735 sub_job->dests[i].count = count; in segment_complete()
775 unsigned int num_dests, struct dm_io_region *dests, in dm_kcopyd_copy() argument
797 memcpy(&job->dests, dests, sizeof(*dests) * num_dests); in dm_kcopyd_copy()
806 if (bdev_zoned_model(dests[i].bdev) == BLK_ZONED_HM) { in dm_kcopyd_copy()
826 job->source.count = job->dests[0].count; in dm_kcopyd_copy()
834 if (!bdev_write_zeroes_sectors(job->dests[i].bdev)) { in dm_kcopyd_copy()
855 unsigned num_dests, struct dm_io_region *dests, in dm_kcopyd_zero() argument
858 dm_kcopyd_copy(kc, NULL, num_dests, dests, flags, fn, context); in dm_kcopyd_zero()