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()
2668 struct scsi_cmnd *sc = lpfc_cmd->pCmd; in lpfc_bg_scsi_adjust_dl()
2708 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_bg_scsi_prep_dma_buf_s3()
2881 struct scsi_cmnd *cmd = lpfc_cmd->pCmd; in lpfc_calc_bg_err()
3066 struct scsi_cmnd *cmd = lpfc_cmd->pCmd; in lpfc_parse_bg_err()
3232 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_dma_buf_s4()
3363 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_bg_scsi_prep_dma_buf_s4()
3565 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()
3686 struct scsi_cmnd *cmnd = lpfc_cmd->pCmd; in lpfc_handle_fcp_err()
3877 if (!(lpfc_cmd->pCmd)) in lpfc_scsi_cmd_iocb_cmpl()
3879 cmd = lpfc_cmd->pCmd; in lpfc_scsi_cmd_iocb_cmpl()
4098 lpfc_cmd->pCmd = NULL; in lpfc_scsi_cmd_iocb_cmpl()
4114 lpfc_cmd->pCmd = NULL; in lpfc_scsi_cmd_iocb_cmpl()
4161 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_cmnd()
4177 int_to_scsilun(lpfc_cmd->pCmd->device->lun, in lpfc_scsi_prep_cmnd()
4550 lpfc_cmd->pCmd = cmnd; in lpfc_queuecommand()
4679 if (!lpfc_cmd || !lpfc_cmd->pCmd) { in lpfc_abort_handler()
4703 if (lpfc_cmd->pCmd != cmnd) { in lpfc_abort_handler()
4790 (lpfc_cmd->pCmd != cmnd), in lpfc_abort_handler()
4797 if (lpfc_cmd->pCmd == cmnd) { in lpfc_abort_handler()