Lines Matching refs:pCmd

495 				cmd = psb->pCmd;  in lpfc_sli4_io_xri_aborted()
496 psb->pCmd = NULL; in lpfc_sli4_io_xri_aborted()
721 psb->pCmd = NULL; in lpfc_release_scsi_buf_s3()
750 psb->pCmd = NULL; in lpfc_release_scsi_buf_s4()
813 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_dma_buf_s3()
2465 struct scsi_cmnd *sc = lpfc_cmd->pCmd; in lpfc_bg_scsi_adjust_dl()
2508 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_bg_scsi_prep_dma_buf_s3()
2702 struct scsi_cmnd *cmd = lpfc_cmd->pCmd; in lpfc_calc_bg_err()
2882 struct scsi_cmnd *cmd = lpfc_cmd->pCmd; in lpfc_parse_bg_err()
3061 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_dma_buf_s4()
3306 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_bg_scsi_prep_dma_buf_s4()
3577 struct scsi_cmnd *cmnd = lpfc_cmd->pCmd; in lpfc_send_scsi_error_event()
3676 scsi_dma_unmap(psb->pCmd); in lpfc_scsi_unprep_dma_buf()
3678 dma_unmap_sg(&phba->pcidev->dev, scsi_prot_sglist(psb->pCmd), in lpfc_scsi_unprep_dma_buf()
3679 scsi_prot_sg_count(psb->pCmd), in lpfc_scsi_unprep_dma_buf()
3680 psb->pCmd->sc_data_direction); in lpfc_scsi_unprep_dma_buf()
3835 struct scsi_cmnd *cmnd = lpfc_cmd->pCmd; in lpfc_handle_fcp_err()
4045 cmd = lpfc_cmd->pCmd; in lpfc_fcp_io_cmd_wqe_cmpl()
4309 lpfc_cmd->pCmd = NULL; in lpfc_fcp_io_cmd_wqe_cmpl()
4370 cmd = lpfc_cmd->pCmd; in lpfc_scsi_cmd_iocb_cmpl()
4580 lpfc_cmd->pCmd = NULL; in lpfc_scsi_cmd_iocb_cmpl()
4626 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_cmnd_buf_s3()
4702 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_cmnd_buf_s4()
4809 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_cmnd()
4820 int_to_scsilun(lpfc_cmd->pCmd->device->lun, in lpfc_scsi_prep_cmnd()
5335 lpfc_cmd->pCmd = cmnd; in lpfc_queuecommand()
5564 if (!lpfc_cmd->pCmd) { in lpfc_abort_handler()
5595 if (lpfc_cmd->pCmd != cmnd) { in lpfc_abort_handler()
5650 (lpfc_cmd->pCmd != cmnd), in lpfc_abort_handler()
5655 if (lpfc_cmd->pCmd == cmnd) { in lpfc_abort_handler()
5818 lpfc_cmd->pCmd = NULL; in lpfc_send_taskmgmt()