Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/scsi/lpfc/
H A Dlpfc_scsi.c124 struct lpfc_io_buf *lpfc_cmd) in lpfc_sli4_set_rsp_sgl_last() argument
126 struct sli4_sge *sgl = (struct sli4_sge *)lpfc_cmd->dma_sgl; in lpfc_sli4_set_rsp_sgl_last()
144 lpfc_update_stats(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd) in lpfc_update_stats() argument
149 struct scsi_cmnd *cmd = lpfc_cmd->pCmd; in lpfc_update_stats()
160 latency = jiffies_to_msecs((long)jiffies - (long)lpfc_cmd->start_time); in lpfc_update_stats()
161 rdata = lpfc_cmd->rdata; in lpfc_update_stats()
594 struct lpfc_io_buf *lpfc_cmd = NULL; in lpfc_get_scsi_buf_s3() local
599 list_remove_head(scsi_buf_list_get, lpfc_cmd, struct lpfc_io_buf, in lpfc_get_scsi_buf_s3()
601 if (!lpfc_cmd) { in lpfc_get_scsi_buf_s3()
606 list_remove_head(scsi_buf_list_get, lpfc_cmd, in lpfc_get_scsi_buf_s3()
[all …]
H A Dlpfc_debugfs.c1301 lpfc_io_ktime(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) in lpfc_io_ktime() argument
1306 if (!lpfc_cmd->ts_last_cmd || in lpfc_io_ktime()
1307 !lpfc_cmd->ts_cmd_start || in lpfc_io_ktime()
1308 !lpfc_cmd->ts_cmd_wqput || in lpfc_io_ktime()
1309 !lpfc_cmd->ts_isr_cmpl || in lpfc_io_ktime()
1310 !lpfc_cmd->ts_data_io) in lpfc_io_ktime()
1313 if (lpfc_cmd->ts_data_io < lpfc_cmd->ts_cmd_start) in lpfc_io_ktime()
1315 if (lpfc_cmd->ts_cmd_start < lpfc_cmd->ts_last_cmd) in lpfc_io_ktime()
1317 if (lpfc_cmd->ts_cmd_wqput < lpfc_cmd->ts_cmd_start) in lpfc_io_ktime()
1319 if (lpfc_cmd->ts_isr_cmpl < lpfc_cmd->ts_cmd_wqput) in lpfc_io_ktime()
[all …]
H A Dlpfc_sli.c1133 struct lpfc_io_buf *lpfc_cmd; in __lpfc_sli_get_els_sglq() local
1146 lpfc_cmd = (struct lpfc_io_buf *) piocbq->context1; in __lpfc_sli_get_els_sglq()
1147 ndlp = lpfc_cmd->rdata->pnode; in __lpfc_sli_get_els_sglq()
9733 struct lpfc_io_buf *lpfc_cmd; in lpfc_sli4_iocb2wqe() local
9740 lpfc_cmd = iocbq->context1; in lpfc_sli4_iocb2wqe()
9741 sgl = (struct sli4_sge *)lpfc_cmd->dma_sgl; in lpfc_sli4_iocb2wqe()
9742 fcp_cmnd = lpfc_cmd->fcp_cmnd; in lpfc_sli4_iocb2wqe()
9797 struct lpfc_io_buf *lpfc_cmd; in lpfc_sli4_iocb2wqe() local
9804 lpfc_cmd = iocbq->context1; in lpfc_sli4_iocb2wqe()
9805 sgl = (struct sli4_sge *)lpfc_cmd->dma_sgl; in lpfc_sli4_iocb2wqe()
[all …]
H A Dlpfc_init.c3964 struct lpfc_io_buf *lpfc_cmd; in lpfc_io_buf_flush() local
3993 list_remove_head(&blist, lpfc_cmd, struct lpfc_io_buf, list); in lpfc_io_buf_flush()
3994 if (!lpfc_cmd) in lpfc_io_buf_flush()
3997 list_add_tail(&lpfc_cmd->list, cbuf); in lpfc_io_buf_flush()
4000 xri = lpfc_cmd->cur_iocbq.sli4_xritag; in lpfc_io_buf_flush()
4006 list_add(&lpfc_cmd->list, in lpfc_io_buf_flush()
4009 list_add(&lpfc_cmd->list, cbuf); in lpfc_io_buf_flush()
4016 list_add_tail(&lpfc_cmd->list, cbuf); in lpfc_io_buf_flush()
4025 struct lpfc_io_buf *lpfc_cmd; in lpfc_io_buf_replenish() local
4032 list_remove_head(cbuf, lpfc_cmd, in lpfc_io_buf_replenish()
[all …]