Lines Matching refs:dests
341 struct dm_io_region dests[DM_KCOPYD_MAX_REGIONS]; member
513 r = dm_io(&io_req, job->num_dests, job->dests, NULL); in run_io_job()
521 unsigned nr_pages = dm_div_up(job->dests[0].count, PAGE_SIZE >> 9); in run_pages_job()
661 sub_job->dests[i].sector += progress; in segment_complete()
662 sub_job->dests[i].count = count; in segment_complete()
702 unsigned int num_dests, struct dm_io_region *dests, in dm_kcopyd_copy() argument
723 memcpy(&job->dests, dests, sizeof(*dests) * num_dests); in dm_kcopyd_copy()
731 job->source.count = job->dests[0].count; in dm_kcopyd_copy()
739 if (!bdev_write_same(job->dests[i].bdev)) { in dm_kcopyd_copy()
762 unsigned num_dests, struct dm_io_region *dests, in dm_kcopyd_zero() argument
765 return dm_kcopyd_copy(kc, NULL, num_dests, dests, flags, fn, context); in dm_kcopyd_zero()