Lines Matching refs:pCmd
128 struct scsi_cmnd *cmd = lpfc_cmd->pCmd; in lpfc_update_stats()
551 cmd = psb->pCmd; in lpfc_sli4_io_xri_aborted()
552 psb->pCmd = NULL; in lpfc_sli4_io_xri_aborted()
777 psb->pCmd = NULL; in lpfc_release_scsi_buf_s3()
806 psb->pCmd = NULL; in lpfc_release_scsi_buf_s4()
869 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_dma_buf_s3()
2523 struct scsi_cmnd *sc = lpfc_cmd->pCmd; in lpfc_bg_scsi_adjust_dl()
2566 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_bg_scsi_prep_dma_buf_s3()
2760 struct scsi_cmnd *cmd = lpfc_cmd->pCmd; in lpfc_calc_bg_err()
2940 struct scsi_cmnd *cmd = lpfc_cmd->pCmd; in lpfc_parse_bg_err()
3119 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_dma_buf_s4()
3364 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_bg_scsi_prep_dma_buf_s4()
3635 struct scsi_cmnd *cmnd = lpfc_cmd->pCmd; in lpfc_send_scsi_error_event()
3734 scsi_dma_unmap(psb->pCmd); in lpfc_scsi_unprep_dma_buf()
3736 dma_unmap_sg(&phba->pcidev->dev, scsi_prot_sglist(psb->pCmd), in lpfc_scsi_unprep_dma_buf()
3737 scsi_prot_sg_count(psb->pCmd), in lpfc_scsi_unprep_dma_buf()
3738 psb->pCmd->sc_data_direction); in lpfc_scsi_unprep_dma_buf()
3893 struct scsi_cmnd *cmnd = lpfc_cmd->pCmd; in lpfc_handle_fcp_err()
4103 cmd = lpfc_cmd->pCmd; in lpfc_fcp_io_cmd_wqe_cmpl()
4369 lpfc_cmd->pCmd = NULL; in lpfc_fcp_io_cmd_wqe_cmpl()
4430 cmd = lpfc_cmd->pCmd; in lpfc_scsi_cmd_iocb_cmpl()
4641 lpfc_cmd->pCmd = NULL; in lpfc_scsi_cmd_iocb_cmpl()
4687 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_cmnd_buf_s3()
4763 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_cmnd_buf_s4()
4870 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_cmnd()
4881 int_to_scsilun(lpfc_cmd->pCmd->device->lun, in lpfc_scsi_prep_cmnd()
5396 lpfc_cmd->pCmd = cmnd; in lpfc_queuecommand()
5625 if (!lpfc_cmd->pCmd) { in lpfc_abort_handler()
5656 if (lpfc_cmd->pCmd != cmnd) { in lpfc_abort_handler()
5711 (lpfc_cmd->pCmd != cmnd), in lpfc_abort_handler()
5716 if (lpfc_cmd->pCmd == cmnd) { in lpfc_abort_handler()
5879 lpfc_cmd->pCmd = NULL; in lpfc_send_taskmgmt()