Lines Matching refs:dests
368 struct dm_io_region dests[DM_KCOPYD_MAX_REGIONS]; member
583 r = dm_io(&io_req, job->num_dests, job->dests, NULL, IOPRIO_DEFAULT); in run_io_job()
591 unsigned int nr_pages = dm_div_up(job->dests[0].count, PAGE_SIZE >> 9); in run_pages_job()
738 sub_job->dests[i].sector += progress; in segment_complete()
739 sub_job->dests[i].count = count; in segment_complete()
779 unsigned int num_dests, struct dm_io_region *dests, in dm_kcopyd_copy() argument
801 memcpy(&job->dests, dests, sizeof(*dests) * num_dests); in dm_kcopyd_copy()
810 if (bdev_is_zoned(dests[i].bdev)) { in dm_kcopyd_copy()
830 job->source.count = job->dests[0].count; in dm_kcopyd_copy()
838 if (!bdev_write_zeroes_sectors(job->dests[i].bdev)) { in dm_kcopyd_copy()
859 unsigned int num_dests, struct dm_io_region *dests, in dm_kcopyd_zero() argument
862 dm_kcopyd_copy(kc, NULL, num_dests, dests, flags, fn, context); in dm_kcopyd_zero()