Lines Matching refs:pCmd
490 cmd = psb->pCmd; in lpfc_sli4_io_xri_aborted()
491 psb->pCmd = NULL; in lpfc_sli4_io_xri_aborted()
716 psb->pCmd = NULL; in lpfc_release_scsi_buf_s3()
745 psb->pCmd = NULL; in lpfc_release_scsi_buf_s4()
808 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_dma_buf_s3()
2450 struct scsi_cmnd *sc = lpfc_cmd->pCmd; in lpfc_bg_scsi_adjust_dl()
2493 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_bg_scsi_prep_dma_buf_s3()
2687 struct scsi_cmnd *cmd = lpfc_cmd->pCmd; in lpfc_calc_bg_err()
2865 struct scsi_cmnd *cmd = lpfc_cmd->pCmd; in lpfc_parse_bg_err()
3044 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_dma_buf_s4()
3293 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_bg_scsi_prep_dma_buf_s4()
3427 if (lpfc_cmd->pCmd->cmd_len > LPFC_FCP_CDB_LEN) in lpfc_bg_scsi_prep_dma_buf_s4()
3566 struct scsi_cmnd *cmnd = lpfc_cmd->pCmd; in lpfc_send_scsi_error_event()
3665 scsi_dma_unmap(psb->pCmd); in lpfc_scsi_unprep_dma_buf()
3667 dma_unmap_sg(&phba->pcidev->dev, scsi_prot_sglist(psb->pCmd), in lpfc_scsi_unprep_dma_buf()
3668 scsi_prot_sg_count(psb->pCmd), in lpfc_scsi_unprep_dma_buf()
3669 psb->pCmd->sc_data_direction); in lpfc_scsi_unprep_dma_buf()
3824 struct scsi_cmnd *cmnd = lpfc_cmd->pCmd; in lpfc_handle_fcp_err()
4037 cmd = lpfc_cmd->pCmd; in lpfc_fcp_io_cmd_wqe_cmpl()
4296 lpfc_cmd->pCmd = NULL; in lpfc_fcp_io_cmd_wqe_cmpl()
4357 cmd = lpfc_cmd->pCmd; in lpfc_scsi_cmd_iocb_cmpl()
4567 lpfc_cmd->pCmd = NULL; in lpfc_scsi_cmd_iocb_cmpl()
4613 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_cmnd_buf_s3()
4689 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_cmnd_buf_s4()
4804 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_cmnd()
4815 int_to_scsilun(lpfc_cmd->pCmd->device->lun, in lpfc_scsi_prep_cmnd()
5329 lpfc_cmd->pCmd = cmnd; in lpfc_queuecommand()
5548 if (!lpfc_cmd->pCmd) { in lpfc_abort_handler()
5588 if (lpfc_cmd->pCmd != cmnd) { in lpfc_abort_handler()
5643 (lpfc_cmd->pCmd != cmnd), in lpfc_abort_handler()
5648 if (lpfc_cmd->pCmd == cmnd) { in lpfc_abort_handler()
5811 lpfc_cmd->pCmd = NULL; in lpfc_send_taskmgmt()