Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/scsi/lpfc/
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()
565 struct lpfc_io_buf *lpfc_cmd = NULL; in lpfc_get_scsi_buf_s3() local
570 list_remove_head(scsi_buf_list_get, lpfc_cmd, struct lpfc_io_buf, in lpfc_get_scsi_buf_s3()
572 if (!lpfc_cmd) { in lpfc_get_scsi_buf_s3()
577 list_remove_head(scsi_buf_list_get, lpfc_cmd, in lpfc_get_scsi_buf_s3()
583 if (lpfc_ndlp_check_qdepth(phba, ndlp) && lpfc_cmd) { in lpfc_get_scsi_buf_s3()
585 lpfc_cmd->flags |= LPFC_SBUF_BUMP_QDEPTH; in lpfc_get_scsi_buf_s3()
587 return lpfc_cmd; in lpfc_get_scsi_buf_s3()
606 struct lpfc_io_buf *lpfc_cmd; in lpfc_get_scsi_buf_s4() local
[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.c1250 struct lpfc_io_buf *lpfc_cmd; in __lpfc_sli_get_els_sglq() local
1258 lpfc_cmd = piocbq->io_buf; in __lpfc_sli_get_els_sglq()
1259 ndlp = lpfc_cmd->rdata->pnode; in __lpfc_sli_get_els_sglq()
10578 struct lpfc_io_buf *lpfc_cmd = piocb->io_buf; in __lpfc_sli_issue_fcp_io_s4() local
10580 lpfc_prep_embed_io(phba, lpfc_cmd); in __lpfc_sli_issue_fcp_io_s4()
10581 return lpfc_sli4_issue_wqe(phba, lpfc_cmd->hdwq, piocb); in __lpfc_sli_issue_fcp_io_s4()
10585 lpfc_prep_embed_io(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) in lpfc_prep_embed_io() argument
10587 struct lpfc_iocbq *piocb = &lpfc_cmd->cur_iocbq; in lpfc_prep_embed_io()
10588 union lpfc_wqe128 *wqe = &lpfc_cmd->cur_iocbq.wqe; in lpfc_prep_embed_io()
10592 sgl = (struct sli4_sge *)lpfc_cmd->dma_sgl; in lpfc_prep_embed_io()
[all …]
Dlpfc.h918 struct lpfc_io_buf *lpfc_cmd,
922 struct lpfc_io_buf *lpfc_cmd,
Dlpfc_init.c4296 struct lpfc_io_buf *lpfc_cmd; in lpfc_io_buf_flush() local
4325 list_remove_head(&blist, lpfc_cmd, struct lpfc_io_buf, list); in lpfc_io_buf_flush()
4326 if (!lpfc_cmd) in lpfc_io_buf_flush()
4329 list_add_tail(&lpfc_cmd->list, cbuf); in lpfc_io_buf_flush()
4332 xri = lpfc_cmd->cur_iocbq.sli4_xritag; in lpfc_io_buf_flush()
4338 list_add(&lpfc_cmd->list, in lpfc_io_buf_flush()
4341 list_add(&lpfc_cmd->list, cbuf); in lpfc_io_buf_flush()
4348 list_add_tail(&lpfc_cmd->list, cbuf); in lpfc_io_buf_flush()
4357 struct lpfc_io_buf *lpfc_cmd; in lpfc_io_buf_replenish() local
4364 list_remove_head(cbuf, lpfc_cmd, in lpfc_io_buf_replenish()
[all …]