Home
last modified time | relevance | path

Searched refs:lpfc_cmd (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/scsi/lpfc/
Dlpfc_scsi.c180 struct lpfc_scsi_buf *lpfc_cmd) in lpfc_sli4_set_rsp_sgl_last() argument
182 struct sli4_sge *sgl = (struct sli4_sge *)lpfc_cmd->fcp_bpl; in lpfc_sli4_set_rsp_sgl_last()
200 lpfc_update_stats(struct lpfc_hba *phba, struct lpfc_scsi_buf *lpfc_cmd) in lpfc_update_stats() argument
202 struct lpfc_rport_data *rdata = lpfc_cmd->rdata; in lpfc_update_stats()
204 struct scsi_cmnd *cmd = lpfc_cmd->pCmd; in lpfc_update_stats()
214 latency = jiffies_to_msecs((long)jiffies - (long)lpfc_cmd->start_time); in lpfc_update_stats()
972 struct lpfc_scsi_buf * lpfc_cmd = NULL; in lpfc_get_scsi_buf_s3() local
977 list_remove_head(scsi_buf_list_get, lpfc_cmd, struct lpfc_scsi_buf, in lpfc_get_scsi_buf_s3()
979 if (!lpfc_cmd) { in lpfc_get_scsi_buf_s3()
984 list_remove_head(scsi_buf_list_get, lpfc_cmd, in lpfc_get_scsi_buf_s3()
[all …]
Dlpfc_sli.c913 struct lpfc_scsi_buf *lpfc_cmd; in __lpfc_sli_get_sglq() local
918 lpfc_cmd = (struct lpfc_scsi_buf *) piocbq->context1; in __lpfc_sli_get_sglq()
919 ndlp = lpfc_cmd->rdata->pnode; in __lpfc_sli_get_sglq()
9957 struct lpfc_scsi_buf *lpfc_cmd; in lpfc_sli_validate_fcp_iocb() local
9966 lpfc_cmd = container_of(iocbq, struct lpfc_scsi_buf, cur_iocbq); in lpfc_sli_validate_fcp_iocb()
9968 if (lpfc_cmd->pCmd == NULL) in lpfc_sli_validate_fcp_iocb()
9973 if ((lpfc_cmd->rdata->pnode) && in lpfc_sli_validate_fcp_iocb()
9974 (lpfc_cmd->rdata->pnode->nlp_sid == tgt_id) && in lpfc_sli_validate_fcp_iocb()
9975 (scsilun_to_int(&lpfc_cmd->fcp_cmnd->fcp_lun) == lun_id)) in lpfc_sli_validate_fcp_iocb()
9979 if ((lpfc_cmd->rdata->pnode) && in lpfc_sli_validate_fcp_iocb()
[all …]