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.c102 struct lpfc_io_buf *lpfc_cmd) in lpfc_sli4_set_rsp_sgl_last() argument
104 struct sli4_sge *sgl = (struct sli4_sge *)lpfc_cmd->dma_sgl; in lpfc_sli4_set_rsp_sgl_last()
566 struct lpfc_io_buf *lpfc_cmd = NULL; in lpfc_get_scsi_buf_s3() local
571 list_remove_head(scsi_buf_list_get, lpfc_cmd, struct lpfc_io_buf, in lpfc_get_scsi_buf_s3()
573 if (!lpfc_cmd) { in lpfc_get_scsi_buf_s3()
578 list_remove_head(scsi_buf_list_get, lpfc_cmd, in lpfc_get_scsi_buf_s3()
584 if (lpfc_ndlp_check_qdepth(phba, ndlp) && lpfc_cmd) { in lpfc_get_scsi_buf_s3()
586 lpfc_cmd->flags |= LPFC_SBUF_BUMP_QDEPTH; in lpfc_get_scsi_buf_s3()
588 return lpfc_cmd; in lpfc_get_scsi_buf_s3()
607 struct lpfc_io_buf *lpfc_cmd; in lpfc_get_scsi_buf_s4() local
[all …]
H A Dlpfc_debugfs.c1293 lpfc_io_ktime(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) in lpfc_io_ktime() argument
1298 if (!lpfc_cmd->ts_last_cmd || in lpfc_io_ktime()
1299 !lpfc_cmd->ts_cmd_start || in lpfc_io_ktime()
1300 !lpfc_cmd->ts_cmd_wqput || in lpfc_io_ktime()
1301 !lpfc_cmd->ts_isr_cmpl || in lpfc_io_ktime()
1302 !lpfc_cmd->ts_data_io) in lpfc_io_ktime()
1305 if (lpfc_cmd->ts_data_io < lpfc_cmd->ts_cmd_start) in lpfc_io_ktime()
1307 if (lpfc_cmd->ts_cmd_start < lpfc_cmd->ts_last_cmd) in lpfc_io_ktime()
1309 if (lpfc_cmd->ts_cmd_wqput < lpfc_cmd->ts_cmd_start) in lpfc_io_ktime()
1311 if (lpfc_cmd->ts_isr_cmpl < lpfc_cmd->ts_cmd_wqput) in lpfc_io_ktime()
[all …]
H A Dlpfc_sli.c1247 struct lpfc_io_buf *lpfc_cmd; in __lpfc_sli_get_els_sglq() local
1255 lpfc_cmd = piocbq->io_buf; in __lpfc_sli_get_els_sglq()
1256 ndlp = lpfc_cmd->rdata->pnode; in __lpfc_sli_get_els_sglq()
10615 struct lpfc_io_buf *lpfc_cmd = piocb->io_buf; in __lpfc_sli_issue_fcp_io_s4() local
10617 lpfc_prep_embed_io(phba, lpfc_cmd); in __lpfc_sli_issue_fcp_io_s4()
10618 return lpfc_sli4_issue_wqe(phba, lpfc_cmd->hdwq, piocb); in __lpfc_sli_issue_fcp_io_s4()
10622 lpfc_prep_embed_io(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) in lpfc_prep_embed_io() argument
10624 struct lpfc_iocbq *piocb = &lpfc_cmd->cur_iocbq; in lpfc_prep_embed_io()
10625 union lpfc_wqe128 *wqe = &lpfc_cmd->cur_iocbq.wqe; in lpfc_prep_embed_io()
10630 sgl = (struct sli4_sge_le *)lpfc_cmd->dma_sgl; in lpfc_prep_embed_io()
[all …]
H A Dlpfc_init.c4287 struct lpfc_io_buf *lpfc_cmd; in lpfc_io_buf_flush() local
4316 list_remove_head(&blist, lpfc_cmd, struct lpfc_io_buf, list); in lpfc_io_buf_flush()
4317 if (!lpfc_cmd) in lpfc_io_buf_flush()
4320 list_add_tail(&lpfc_cmd->list, cbuf); in lpfc_io_buf_flush()
4323 xri = lpfc_cmd->cur_iocbq.sli4_xritag; in lpfc_io_buf_flush()
4329 list_add(&lpfc_cmd->list, in lpfc_io_buf_flush()
4332 list_add(&lpfc_cmd->list, cbuf); in lpfc_io_buf_flush()
4339 list_add_tail(&lpfc_cmd->list, cbuf); in lpfc_io_buf_flush()
4348 struct lpfc_io_buf *lpfc_cmd; in lpfc_io_buf_replenish() local
4356 list_remove_head(cbuf, lpfc_cmd, in lpfc_io_buf_replenish()
[all …]