Lines Matching refs:pCmd
204 struct scsi_cmnd *cmd = lpfc_cmd->pCmd; in lpfc_update_stats()
1075 psb->pCmd = NULL; in lpfc_release_scsi_buf_s3()
1103 psb->pCmd = NULL; in lpfc_release_scsi_buf_s4()
1109 psb->pCmd = NULL; in lpfc_release_scsi_buf_s4()
1149 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_dma_buf_s3()
2662 struct scsi_cmnd *sc = lpfc_cmd->pCmd; in lpfc_bg_scsi_adjust_dl()
2702 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_bg_scsi_prep_dma_buf_s3()
2875 struct scsi_cmnd *cmd = lpfc_cmd->pCmd; in lpfc_calc_bg_err()
3059 struct scsi_cmnd *cmd = lpfc_cmd->pCmd; in lpfc_parse_bg_err()
3225 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_dma_buf_s4()
3356 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_bg_scsi_prep_dma_buf_s4()
3558 struct scsi_cmnd *cmnd = lpfc_cmd->pCmd; in lpfc_send_scsi_error_event()
3658 scsi_dma_unmap(psb->pCmd); in lpfc_scsi_unprep_dma_buf()
3660 dma_unmap_sg(&phba->pcidev->dev, scsi_prot_sglist(psb->pCmd), in lpfc_scsi_unprep_dma_buf()
3661 scsi_prot_sg_count(psb->pCmd), in lpfc_scsi_unprep_dma_buf()
3662 psb->pCmd->sc_data_direction); in lpfc_scsi_unprep_dma_buf()
3679 struct scsi_cmnd *cmnd = lpfc_cmd->pCmd; in lpfc_handle_fcp_err()
3856 struct scsi_cmnd *cmnd = lpfc_cmd->pCmd; in lpfc_sli4_scmd_to_wqidx_distr()
3911 if (!(lpfc_cmd->pCmd)) in lpfc_scsi_cmd_iocb_cmpl()
3913 cmd = lpfc_cmd->pCmd; in lpfc_scsi_cmd_iocb_cmpl()
4129 lpfc_cmd->pCmd = NULL; in lpfc_scsi_cmd_iocb_cmpl()
4145 lpfc_cmd->pCmd = NULL; in lpfc_scsi_cmd_iocb_cmpl()
4192 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_cmnd()
4208 int_to_scsilun(lpfc_cmd->pCmd->device->lun, in lpfc_scsi_prep_cmnd()
4581 lpfc_cmd->pCmd = cmnd; in lpfc_queuecommand()
4710 if (!lpfc_cmd || !lpfc_cmd->pCmd) { in lpfc_abort_handler()
4734 if (lpfc_cmd->pCmd != cmnd) { in lpfc_abort_handler()
4821 (lpfc_cmd->pCmd != cmnd), in lpfc_abort_handler()
4828 if (lpfc_cmd->pCmd == cmnd) { in lpfc_abort_handler()