Lines Matching refs:pCmd
149 struct scsi_cmnd *cmd = lpfc_cmd->pCmd; in lpfc_update_stats()
765 psb->pCmd = NULL; in lpfc_release_scsi_buf_s3()
793 psb->pCmd = NULL; in lpfc_release_scsi_buf_s4()
837 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_dma_buf_s3()
2480 struct scsi_cmnd *sc = lpfc_cmd->pCmd; in lpfc_bg_scsi_adjust_dl()
2523 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_bg_scsi_prep_dma_buf_s3()
2717 struct scsi_cmnd *cmd = lpfc_cmd->pCmd; in lpfc_calc_bg_err()
2901 struct scsi_cmnd *cmd = lpfc_cmd->pCmd; in lpfc_parse_bg_err()
3048 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_dma_buf_s4()
3262 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_bg_scsi_prep_dma_buf_s4()
3490 struct scsi_cmnd *cmnd = lpfc_cmd->pCmd; in lpfc_send_scsi_error_event()
3590 scsi_dma_unmap(psb->pCmd); in lpfc_scsi_unprep_dma_buf()
3592 dma_unmap_sg(&phba->pcidev->dev, scsi_prot_sglist(psb->pCmd), in lpfc_scsi_unprep_dma_buf()
3593 scsi_prot_sg_count(psb->pCmd), in lpfc_scsi_unprep_dma_buf()
3594 psb->pCmd->sc_data_direction); in lpfc_scsi_unprep_dma_buf()
3612 struct scsi_cmnd *cmnd = lpfc_cmd->pCmd; in lpfc_handle_fcp_err()
3816 cmd = lpfc_cmd->pCmd; in lpfc_scsi_cmd_iocb_cmpl()
4028 lpfc_cmd->pCmd = NULL; in lpfc_scsi_cmd_iocb_cmpl()
4087 struct scsi_cmnd *scsi_cmnd = lpfc_cmd->pCmd; in lpfc_scsi_prep_cmnd()
4105 int_to_scsilun(lpfc_cmd->pCmd->device->lun, in lpfc_scsi_prep_cmnd()
4594 lpfc_cmd->pCmd = cmnd; in lpfc_queuecommand()
4762 if (!lpfc_cmd->pCmd) { in lpfc_abort_handler()
4793 if (lpfc_cmd->pCmd != cmnd) { in lpfc_abort_handler()
4886 (lpfc_cmd->pCmd != cmnd), in lpfc_abort_handler()
4891 if (lpfc_cmd->pCmd == cmnd) { in lpfc_abort_handler()
5055 lpfc_cmd->pCmd = cmnd; in lpfc_send_taskmgmt()