xpt_cmd 415 drivers/target/target_core_xcopy.c struct xcopy_pt_cmd *xpt_cmd = container_of(se_cmd, xpt_cmd 418 drivers/target/target_core_xcopy.c kfree(xpt_cmd); xpt_cmd 423 drivers/target/target_core_xcopy.c struct xcopy_pt_cmd *xpt_cmd = container_of(se_cmd, xpt_cmd 426 drivers/target/target_core_xcopy.c complete(&xpt_cmd->xpt_passthrough_sem); xpt_cmd 514 drivers/target/target_core_xcopy.c struct xcopy_pt_cmd *xpt_cmd, xpt_cmd 521 drivers/target/target_core_xcopy.c struct se_cmd *cmd = &xpt_cmd->se_cmd; xpt_cmd 581 drivers/target/target_core_xcopy.c static int target_xcopy_issue_pt_cmd(struct xcopy_pt_cmd *xpt_cmd) xpt_cmd 583 drivers/target/target_core_xcopy.c struct se_cmd *se_cmd = &xpt_cmd->se_cmd; xpt_cmd 593 drivers/target/target_core_xcopy.c wait_for_completion_interruptible(&xpt_cmd->xpt_passthrough_sem); xpt_cmd 608 drivers/target/target_core_xcopy.c struct xcopy_pt_cmd *xpt_cmd; xpt_cmd 615 drivers/target/target_core_xcopy.c xpt_cmd = kzalloc(sizeof(struct xcopy_pt_cmd), GFP_KERNEL); xpt_cmd 616 drivers/target/target_core_xcopy.c if (!xpt_cmd) { xpt_cmd 620 drivers/target/target_core_xcopy.c init_completion(&xpt_cmd->xpt_passthrough_sem); xpt_cmd 621 drivers/target/target_core_xcopy.c se_cmd = &xpt_cmd->se_cmd; xpt_cmd 631 drivers/target/target_core_xcopy.c DMA_FROM_DEVICE, 0, &xpt_cmd->sense_buffer[0]); xpt_cmd 632 drivers/target/target_core_xcopy.c xop->src_pt_cmd = xpt_cmd; xpt_cmd 634 drivers/target/target_core_xcopy.c rc = target_xcopy_setup_pt_cmd(xpt_cmd, xop, src_dev, &cdb[0], xpt_cmd 637 drivers/target/target_core_xcopy.c ec_cmd->scsi_status = xpt_cmd->se_cmd.scsi_status; xpt_cmd 647 drivers/target/target_core_xcopy.c rc = target_xcopy_issue_pt_cmd(xpt_cmd); xpt_cmd 649 drivers/target/target_core_xcopy.c ec_cmd->scsi_status = xpt_cmd->se_cmd.scsi_status; xpt_cmd 670 drivers/target/target_core_xcopy.c struct xcopy_pt_cmd *xpt_cmd; xpt_cmd 677 drivers/target/target_core_xcopy.c xpt_cmd = kzalloc(sizeof(struct xcopy_pt_cmd), GFP_KERNEL); xpt_cmd 678 drivers/target/target_core_xcopy.c if (!xpt_cmd) { xpt_cmd 682 drivers/target/target_core_xcopy.c init_completion(&xpt_cmd->xpt_passthrough_sem); xpt_cmd 683 drivers/target/target_core_xcopy.c se_cmd = &xpt_cmd->se_cmd; xpt_cmd 693 drivers/target/target_core_xcopy.c DMA_TO_DEVICE, 0, &xpt_cmd->sense_buffer[0]); xpt_cmd 694 drivers/target/target_core_xcopy.c xop->dst_pt_cmd = xpt_cmd; xpt_cmd 696 drivers/target/target_core_xcopy.c rc = target_xcopy_setup_pt_cmd(xpt_cmd, xop, dst_dev, &cdb[0], xpt_cmd 700 drivers/target/target_core_xcopy.c ec_cmd->scsi_status = xpt_cmd->se_cmd.scsi_status; xpt_cmd 714 drivers/target/target_core_xcopy.c rc = target_xcopy_issue_pt_cmd(xpt_cmd); xpt_cmd 716 drivers/target/target_core_xcopy.c ec_cmd->scsi_status = xpt_cmd->se_cmd.scsi_status;