Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/scsi/lpfc/
Dlpfc_scsi.c109 struct lpfc_io_buf *lpfc_cmd) in lpfc_sli4_set_rsp_sgl_last() argument
111 struct sli4_sge *sgl = (struct sli4_sge *)lpfc_cmd->dma_sgl; in lpfc_sli4_set_rsp_sgl_last()
131 lpfc_update_stats(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd) in lpfc_update_stats() argument
136 struct scsi_cmnd *cmd = lpfc_cmd->pCmd; in lpfc_update_stats()
147 latency = jiffies_to_msecs((long)jiffies - (long)lpfc_cmd->start_time); in lpfc_update_stats()
148 rdata = lpfc_cmd->rdata; in lpfc_update_stats()
610 struct lpfc_io_buf *lpfc_cmd = NULL; in lpfc_get_scsi_buf_s3() local
615 list_remove_head(scsi_buf_list_get, lpfc_cmd, struct lpfc_io_buf, in lpfc_get_scsi_buf_s3()
617 if (!lpfc_cmd) { in lpfc_get_scsi_buf_s3()
622 list_remove_head(scsi_buf_list_get, lpfc_cmd, in lpfc_get_scsi_buf_s3()
[all …]
Dlpfc_debugfs.c1299 lpfc_io_ktime(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) in lpfc_io_ktime() argument
1304 if (!lpfc_cmd->ts_last_cmd || in lpfc_io_ktime()
1305 !lpfc_cmd->ts_cmd_start || in lpfc_io_ktime()
1306 !lpfc_cmd->ts_cmd_wqput || in lpfc_io_ktime()
1307 !lpfc_cmd->ts_isr_cmpl || in lpfc_io_ktime()
1308 !lpfc_cmd->ts_data_io) in lpfc_io_ktime()
1311 if (lpfc_cmd->ts_data_io < lpfc_cmd->ts_cmd_start) in lpfc_io_ktime()
1313 if (lpfc_cmd->ts_cmd_start < lpfc_cmd->ts_last_cmd) in lpfc_io_ktime()
1315 if (lpfc_cmd->ts_cmd_wqput < lpfc_cmd->ts_cmd_start) in lpfc_io_ktime()
1317 if (lpfc_cmd->ts_isr_cmpl < lpfc_cmd->ts_cmd_wqput) in lpfc_io_ktime()
[all …]
Dlpfc_sli.c1252 struct lpfc_io_buf *lpfc_cmd; in __lpfc_sli_get_els_sglq() local
1265 lpfc_cmd = (struct lpfc_io_buf *) piocbq->context1; in __lpfc_sli_get_els_sglq()
1266 ndlp = lpfc_cmd->rdata->pnode; in __lpfc_sli_get_els_sglq()
10552 struct lpfc_io_buf *lpfc_cmd; in lpfc_sli4_iocb2wqe() local
10559 lpfc_cmd = iocbq->context1; in lpfc_sli4_iocb2wqe()
10560 sgl = (struct sli4_sge *)lpfc_cmd->dma_sgl; in lpfc_sli4_iocb2wqe()
10561 fcp_cmnd = lpfc_cmd->fcp_cmnd; in lpfc_sli4_iocb2wqe()
10616 struct lpfc_io_buf *lpfc_cmd; in lpfc_sli4_iocb2wqe() local
10623 lpfc_cmd = iocbq->context1; in lpfc_sli4_iocb2wqe()
10624 sgl = (struct sli4_sge *)lpfc_cmd->dma_sgl; in lpfc_sli4_iocb2wqe()
[all …]
Dlpfc_init.c4124 struct lpfc_io_buf *lpfc_cmd; in lpfc_io_buf_flush() local
4153 list_remove_head(&blist, lpfc_cmd, struct lpfc_io_buf, list); in lpfc_io_buf_flush()
4154 if (!lpfc_cmd) in lpfc_io_buf_flush()
4157 list_add_tail(&lpfc_cmd->list, cbuf); in lpfc_io_buf_flush()
4160 xri = lpfc_cmd->cur_iocbq.sli4_xritag; in lpfc_io_buf_flush()
4166 list_add(&lpfc_cmd->list, in lpfc_io_buf_flush()
4169 list_add(&lpfc_cmd->list, cbuf); in lpfc_io_buf_flush()
4176 list_add_tail(&lpfc_cmd->list, cbuf); in lpfc_io_buf_flush()
4185 struct lpfc_io_buf *lpfc_cmd; in lpfc_io_buf_replenish() local
4192 list_remove_head(cbuf, lpfc_cmd, in lpfc_io_buf_replenish()
[all …]
Dlpfc.h920 struct lpfc_io_buf *lpfc_cmd,