Lines Matching refs:src_dev
175 xop->src_dev = se_cmd->se_dev; in target_xcopy_parse_tiddesc_e4()
177 " received xop\n", xop->src_dev); in target_xcopy_parse_tiddesc_e4()
267 &xop->src_dev, in target_xcopy_parse_target_descriptors()
288 xop->src_dev, &xop->src_tid_wwn[0]); in target_xcopy_parse_target_descriptors()
410 pr_debug("putting src lun_ref for %p\n", xop->src_dev); in xcopy_pt_undepend_remotedev()
583 struct se_device *src_dev, in target_xcopy_read_source() argument
589 u32 length = (src_sectors * src_dev->dev_attrib.block_size); in target_xcopy_read_source()
607 rc = target_xcopy_setup_pt_cmd(&xpt_cmd, xop, src_dev, &cdb[0], in target_xcopy_read_source()
671 struct se_device *src_dev, *dst_dev; in target_xcopy_do_work() local
682 if (WARN_ON_ONCE(!xop->src_dev) || WARN_ON_ONCE(!xop->dst_dev)) { in target_xcopy_do_work()
687 src_dev = xop->src_dev; in target_xcopy_do_work()
697 max_sectors = min(src_dev->dev_attrib.hw_max_sectors, in target_xcopy_do_work()
710 u32 cur_bytes = cur_nolb * src_dev->dev_attrib.block_size; in target_xcopy_do_work()
728 " cur_nolb: %hu\n", src_dev, (unsigned long long)src_lba, cur_nolb); in target_xcopy_do_work()
730 rc = target_xcopy_read_source(ec_cmd, xop, src_dev, src_lba, cur_nolb); in target_xcopy_do_work()
853 if (xop->src_dev->dev_attrib.block_size != in target_parse_xcopy_cmd()
857 xop->src_dev->dev_attrib.block_size, in target_parse_xcopy_cmd()