Home
last modified time | relevance | path

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

/linux/drivers/scsi/lpfc/
H A Dlpfc_scsi.c101 struct lpfc_io_buf *lpfc_cmd) in lpfc_sli4_set_rsp_sgl_last() argument
103 struct sli4_sge *sgl = (struct sli4_sge *)lpfc_cmd->dma_sgl; in lpfc_sli4_set_rsp_sgl_last()
560 struct lpfc_io_buf *lpfc_cmd = NULL; in lpfc_get_scsi_buf_s3() local
565 list_remove_head(scsi_buf_list_get, lpfc_cmd, struct lpfc_io_buf, in lpfc_get_scsi_buf_s3()
567 if (!lpfc_cmd) { in lpfc_get_scsi_buf_s3()
572 list_remove_head(scsi_buf_list_get, lpfc_cmd, in lpfc_get_scsi_buf_s3()
578 if (lpfc_ndlp_check_qdepth(phba, ndlp) && lpfc_cmd) { in lpfc_get_scsi_buf_s3()
580 lpfc_cmd->flags |= LPFC_SBUF_BUMP_QDEPTH; in lpfc_get_scsi_buf_s3()
582 return lpfc_cmd; in lpfc_get_scsi_buf_s3()
601 struct lpfc_io_buf *lpfc_cmd; in lpfc_get_scsi_buf_s4() local
[all …]
H A Dlpfc_debugfs.c1297 lpfc_io_ktime(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) in lpfc_io_ktime() argument
1302 if (!lpfc_cmd->ts_last_cmd || in lpfc_io_ktime()
1303 !lpfc_cmd->ts_cmd_start || in lpfc_io_ktime()
1304 !lpfc_cmd->ts_cmd_wqput || in lpfc_io_ktime()
1305 !lpfc_cmd->ts_isr_cmpl || in lpfc_io_ktime()
1306 !lpfc_cmd->ts_data_io) in lpfc_io_ktime()
1309 if (lpfc_cmd->ts_data_io < lpfc_cmd->ts_cmd_start) in lpfc_io_ktime()
1311 if (lpfc_cmd->ts_cmd_start < lpfc_cmd->ts_last_cmd) in lpfc_io_ktime()
1313 if (lpfc_cmd->ts_cmd_wqput < lpfc_cmd->ts_cmd_start) in lpfc_io_ktime()
1315 if (lpfc_cmd->ts_isr_cmpl < lpfc_cmd->ts_cmd_wqput) in lpfc_io_ktime()
[all …]
H A Dlpfc_sli.c1252 struct lpfc_io_buf *lpfc_cmd; in __lpfc_sli_get_els_sglq() local
1260 lpfc_cmd = piocbq->io_buf; in __lpfc_sli_get_els_sglq()
1261 ndlp = lpfc_cmd->rdata->pnode; in __lpfc_sli_get_els_sglq()
10585 struct lpfc_io_buf *lpfc_cmd = piocb->io_buf; in __lpfc_sli_issue_fcp_io_s4() local
10587 lpfc_prep_embed_io(phba, lpfc_cmd); in __lpfc_sli_issue_fcp_io_s4()
10588 return lpfc_sli4_issue_wqe(phba, lpfc_cmd->hdwq, piocb); in __lpfc_sli_issue_fcp_io_s4()
10592 lpfc_prep_embed_io(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) in lpfc_prep_embed_io() argument
10594 struct lpfc_iocbq *piocb = &lpfc_cmd->cur_iocbq; in lpfc_prep_embed_io()
10595 union lpfc_wqe128 *wqe = &lpfc_cmd->cur_iocbq.wqe; in lpfc_prep_embed_io()
10600 sgl = (struct sli4_sge_le *)lpfc_cmd->dma_sgl; in lpfc_prep_embed_io()
[all …]
H A Dlpfc_init.c4289 struct lpfc_io_buf *lpfc_cmd; in lpfc_io_buf_flush() local
4318 list_remove_head(&blist, lpfc_cmd, struct lpfc_io_buf, list); in lpfc_io_buf_flush()
4319 if (!lpfc_cmd) in lpfc_io_buf_flush()
4322 list_add_tail(&lpfc_cmd->list, cbuf); in lpfc_io_buf_flush()
4325 xri = lpfc_cmd->cur_iocbq.sli4_xritag; in lpfc_io_buf_flush()
4331 list_add(&lpfc_cmd->list, in lpfc_io_buf_flush()
4334 list_add(&lpfc_cmd->list, cbuf); in lpfc_io_buf_flush()
4341 list_add_tail(&lpfc_cmd->list, cbuf); in lpfc_io_buf_flush()
4350 struct lpfc_io_buf *lpfc_cmd; in lpfc_io_buf_replenish() local
4358 list_remove_head(cbuf, lpfc_cmd, in lpfc_io_buf_replenish()
[all …]