Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/lpfc/
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_hba *phba, struct lpfc_io_buf *lpfc_cmd) in lpfc_update_stats() argument
148 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 …]
Dlpfc_sli.c1116 struct lpfc_io_buf *lpfc_cmd; in __lpfc_sli_get_els_sglq() local
1129 lpfc_cmd = (struct lpfc_io_buf *) piocbq->context1; in __lpfc_sli_get_els_sglq()
1130 ndlp = lpfc_cmd->rdata->pnode; in __lpfc_sli_get_els_sglq()
9485 struct lpfc_io_buf *lpfc_cmd; in lpfc_sli4_iocb2wqe() local
9492 lpfc_cmd = iocbq->context1; in lpfc_sli4_iocb2wqe()
9493 sgl = (struct sli4_sge *)lpfc_cmd->dma_sgl; in lpfc_sli4_iocb2wqe()
9494 fcp_cmnd = lpfc_cmd->fcp_cmnd; in lpfc_sli4_iocb2wqe()
9549 struct lpfc_io_buf *lpfc_cmd; in lpfc_sli4_iocb2wqe() local
9556 lpfc_cmd = iocbq->context1; in lpfc_sli4_iocb2wqe()
9557 sgl = (struct sli4_sge *)lpfc_cmd->dma_sgl; in lpfc_sli4_iocb2wqe()
[all …]
Dlpfc_init.c3895 struct lpfc_io_buf *lpfc_cmd; in lpfc_io_buf_flush() local
3924 list_remove_head(&blist, lpfc_cmd, struct lpfc_io_buf, list); in lpfc_io_buf_flush()
3925 if (!lpfc_cmd) in lpfc_io_buf_flush()
3928 list_add_tail(&lpfc_cmd->list, cbuf); in lpfc_io_buf_flush()
3931 xri = lpfc_cmd->cur_iocbq.sli4_xritag; in lpfc_io_buf_flush()
3937 list_add(&lpfc_cmd->list, in lpfc_io_buf_flush()
3940 list_add(&lpfc_cmd->list, cbuf); in lpfc_io_buf_flush()
3947 list_add_tail(&lpfc_cmd->list, cbuf); in lpfc_io_buf_flush()
3956 struct lpfc_io_buf *lpfc_cmd; in lpfc_io_buf_replenish() local
3963 list_remove_head(cbuf, lpfc_cmd, in lpfc_io_buf_replenish()
[all …]