Lines Matching refs:dst_dev

193 			xop->dst_dev = se_cmd->se_dev;  in target_xcopy_parse_tiddesc_e4()
195 " received xop\n", xop->dst_dev); in target_xcopy_parse_tiddesc_e4()
262 &xop->dst_dev, in target_xcopy_parse_target_descriptors()
291 xop->dst_dev, &xop->dst_tid_wwn[0]); in target_xcopy_parse_target_descriptors()
409 pr_debug("putting dst lun_ref for %p\n", xop->dst_dev); in xcopy_pt_undepend_remotedev()
618 struct se_device *dst_dev, in target_xcopy_write_destination() argument
624 u32 transfer_length_block = dst_bytes / dst_dev->dev_attrib.block_size; in target_xcopy_write_destination()
642 rc = target_xcopy_setup_pt_cmd(&xpt_cmd, xop, dst_dev, &cdb[0], in target_xcopy_write_destination()
661 struct se_device *src_dev, *dst_dev; in target_xcopy_do_work() local
673 if (WARN_ON_ONCE(!xop->src_dev) || WARN_ON_ONCE(!xop->dst_dev)) { in target_xcopy_do_work()
679 dst_dev = xop->dst_dev; in target_xcopy_do_work()
690 max_bytes_dst = (unsigned long long) dst_dev->dev_attrib.hw_max_sectors * in target_xcopy_do_work()
691 dst_dev->dev_attrib.hw_block_size; in target_xcopy_do_work()
738 __func__, dst_dev, (unsigned long long)dst_lba, cur_nolb); in target_xcopy_do_work()
740 rc = target_xcopy_write_destination(ec_cmd, xop, dst_dev, in target_xcopy_do_work()
745 dst_lba += cur_bytes / dst_dev->dev_attrib.block_size; in target_xcopy_do_work()
760 copied_bytes / dst_dev->dev_attrib.block_size, copied_bytes); in target_xcopy_do_work()
853 xop->dst_dev->dev_attrib.block_size) { in target_parse_xcopy_cmd()
857 xop->dst_dev->dev_attrib.block_size); in target_parse_xcopy_cmd()