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()
2467 struct scsi_cmnd *sc = lpfc_cmd->pCmd; in lpfc_bg_scsi_adjust_dl()
2510 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_bg_scsi_prep_dma_buf_s3()
2704 struct scsi_cmnd *cmd = lpfc_cmd->pCmd; in lpfc_calc_bg_err()
2884 struct scsi_cmnd *cmd = lpfc_cmd->pCmd; in lpfc_parse_bg_err()
3063 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_dma_buf_s4()
3308 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_bg_scsi_prep_dma_buf_s4()
3579 struct scsi_cmnd *cmnd = lpfc_cmd->pCmd; in lpfc_send_scsi_error_event()
3678 scsi_dma_unmap(psb->pCmd); in lpfc_scsi_unprep_dma_buf()
3680 dma_unmap_sg(&phba->pcidev->dev, scsi_prot_sglist(psb->pCmd), in lpfc_scsi_unprep_dma_buf()
3681 scsi_prot_sg_count(psb->pCmd), in lpfc_scsi_unprep_dma_buf()
3682 psb->pCmd->sc_data_direction); in lpfc_scsi_unprep_dma_buf()
3837 struct scsi_cmnd *cmnd = lpfc_cmd->pCmd; in lpfc_handle_fcp_err()
4047 cmd = lpfc_cmd->pCmd; in lpfc_fcp_io_cmd_wqe_cmpl()
4311 lpfc_cmd->pCmd = NULL; in lpfc_fcp_io_cmd_wqe_cmpl()
4372 cmd = lpfc_cmd->pCmd; in lpfc_scsi_cmd_iocb_cmpl()
4582 lpfc_cmd->pCmd = NULL; in lpfc_scsi_cmd_iocb_cmpl()
4628 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_cmnd_buf_s3()
4704 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_cmnd_buf_s4()
4811 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_cmnd()
4822 int_to_scsilun(lpfc_cmd->pCmd->device->lun, in lpfc_scsi_prep_cmnd()
5337 lpfc_cmd->pCmd = cmnd; in lpfc_queuecommand()
5566 if (!lpfc_cmd->pCmd) { in lpfc_abort_handler()
5597 if (lpfc_cmd->pCmd != cmnd) { in lpfc_abort_handler()
5652 (lpfc_cmd->pCmd != cmnd), in lpfc_abort_handler()
5657 if (lpfc_cmd->pCmd == cmnd) { in lpfc_abort_handler()
5820 lpfc_cmd->pCmd = NULL; in lpfc_send_taskmgmt()