Lines Matching refs:se_dev
62 static int target_xcopy_locate_se_dev_e4_iter(struct se_device *se_dev, in target_xcopy_locate_se_dev_e4_iter() argument
68 if (!se_dev->dev_attrib.emulate_3pc) { in target_xcopy_locate_se_dev_e4_iter()
69 pr_debug("XCOPY: emulate_3pc disabled on se_dev %p\n", se_dev); in target_xcopy_locate_se_dev_e4_iter()
74 target_xcopy_gen_naa_ieee(se_dev, &tmp_dev_wwn[0]); in target_xcopy_locate_se_dev_e4_iter()
82 pr_debug("XCOPY 0xe4: located se_dev: %p\n", se_dev); in target_xcopy_locate_se_dev_e4_iter()
194 xop->src_dev = se_cmd->se_dev; in target_xcopy_parse_tiddesc_e4()
211 xop->dst_dev = se_cmd->se_dev; in target_xcopy_parse_tiddesc_e4()
224 struct se_device *local_dev = se_cmd->se_dev; in target_xcopy_parse_target_descriptors()
544 pt_cmd->se_dev = ec_cmd->se_dev; in target_xcopy_setup_pt_port()
547 " %p\n", pt_cmd->se_dev); in target_xcopy_setup_pt_port()
563 pt_cmd->se_dev = ec_cmd->se_dev; in target_xcopy_setup_pt_port()
566 " %p\n", pt_cmd->se_dev); in target_xcopy_setup_pt_port()
574 static void target_xcopy_init_pt_lun(struct se_device *se_dev, in target_xcopy_init_pt_lun() argument
584 pt_cmd->se_dev); in target_xcopy_init_pt_lun()
585 pt_cmd->se_lun = &se_dev->xcopy_lun; in target_xcopy_init_pt_lun()
586 pt_cmd->se_dev = se_dev; in target_xcopy_init_pt_lun()
595 struct se_device *se_dev, in target_xcopy_setup_pt_cmd() argument
607 target_xcopy_init_pt_lun(se_dev, cmd, remote_port); in target_xcopy_setup_pt_cmd()
890 struct se_device *dev = se_cmd->se_dev; in target_do_xcopy()