Lines Matching defs:dests
368 struct dm_io_region dests[DM_KCOPYD_MAX_REGIONS];
583 r = dm_io(&io_req, job->num_dests, job->dests, NULL, IOPRIO_DEFAULT);
591 unsigned int nr_pages = dm_div_up(job->dests[0].count, PAGE_SIZE >> 9);
738 sub_job->dests[i].sector += progress;
739 sub_job->dests[i].count = count;
779 unsigned int num_dests, struct dm_io_region *dests,
801 memcpy(&job->dests, dests, sizeof(*dests) * num_dests);
810 if (bdev_zoned_model(dests[i].bdev) == BLK_ZONED_HM) {
830 job->source.count = job->dests[0].count;
834 * Use WRITE ZEROES to optimize zeroing if all dests support it.
838 if (!bdev_write_zeroes_sectors(job->dests[i].bdev)) {
859 unsigned int num_dests, struct dm_io_region *dests,
862 dm_kcopyd_copy(kc, NULL, num_dests, dests, flags, fn, context);