Home
last modified time | relevance | path

Searched refs:lpfc_cmd (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-6.6/drivers/scsi/lpfc/
H A Dlpfc_scsi.c94 * @lpfc_cmd: lpfc scsi command object pointer.
101 struct lpfc_io_buf *lpfc_cmd) in lpfc_sli4_set_rsp_sgl_last()
103 struct sli4_sge *sgl = (struct sli4_sge *)lpfc_cmd->dma_sgl; in lpfc_sli4_set_rsp_sgl_last()
563 struct lpfc_io_buf *lpfc_cmd = NULL; in lpfc_get_scsi_buf_s3() local
568 list_remove_head(scsi_buf_list_get, lpfc_cmd, struct lpfc_io_buf, in lpfc_get_scsi_buf_s3()
570 if (!lpfc_cmd) { in lpfc_get_scsi_buf_s3()
575 list_remove_head(scsi_buf_list_get, lpfc_cmd, in lpfc_get_scsi_buf_s3()
581 if (lpfc_ndlp_check_qdepth(phba, ndlp) && lpfc_cmd) { in lpfc_get_scsi_buf_s3()
583 lpfc_cmd->flags |= LPFC_SBUF_BUMP_QDEPTH; in lpfc_get_scsi_buf_s3()
585 return lpfc_cmd; in lpfc_get_scsi_buf_s3()
100 lpfc_sli4_set_rsp_sgl_last(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) lpfc_sli4_set_rsp_sgl_last() argument
604 struct lpfc_io_buf *lpfc_cmd; lpfc_get_scsi_buf_s4() local
809 lpfc_scsi_prep_dma_buf_s3(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) lpfc_scsi_prep_dma_buf_s3() argument
963 struct lpfc_io_buf *lpfc_cmd = NULL; lpfc_bg_err_inject() local
1922 lpfc_bg_setup_sgl(struct lpfc_hba *phba, struct scsi_cmnd *sc, struct sli4_sge *sgl, int datasegcnt, struct lpfc_io_buf *lpfc_cmd) lpfc_bg_setup_sgl() argument
2103 lpfc_bg_setup_sgl_prot(struct lpfc_hba *phba, struct scsi_cmnd *sc, struct sli4_sge *sgl, int datacnt, int protcnt, struct lpfc_io_buf *lpfc_cmd) lpfc_bg_setup_sgl_prot() argument
2450 lpfc_bg_scsi_adjust_dl(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) lpfc_bg_scsi_adjust_dl() argument
2493 lpfc_bg_scsi_prep_dma_buf_s3(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) lpfc_bg_scsi_prep_dma_buf_s3() argument
2686 lpfc_calc_bg_err(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) lpfc_calc_bg_err() argument
2865 lpfc_parse_bg_err(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd, struct lpfc_iocbq *pIocbOut) lpfc_parse_bg_err() argument
3045 lpfc_scsi_prep_dma_buf_s4(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) lpfc_scsi_prep_dma_buf_s4() argument
3289 lpfc_bg_scsi_prep_dma_buf_s4(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) lpfc_bg_scsi_prep_dma_buf_s4() argument
3506 lpfc_scsi_prep_dma_buf(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) lpfc_scsi_prep_dma_buf() argument
3525 lpfc_bg_scsi_prep_dma_buf(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) lpfc_bg_scsi_prep_dma_buf() argument
3544 lpfc_scsi_prep_cmnd_buf(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd, uint8_t tmo) lpfc_scsi_prep_cmnd_buf() argument
3561 lpfc_send_scsi_error_event(struct lpfc_hba *phba, struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd, uint32_t fcpi_parm) lpfc_send_scsi_error_event() argument
3818 lpfc_handle_fcp_err(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd, uint32_t fcpi_parm) lpfc_handle_fcp_err() argument
4005 struct lpfc_io_buf *lpfc_cmd = pwqeIn->io_buf; lpfc_fcp_io_cmd_wqe_cmpl() local
4335 struct lpfc_io_buf *lpfc_cmd = lpfc_scsi_cmd_iocb_cmpl() local
4601 lpfc_scsi_prep_cmnd_buf_s3(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd, uint8_t tmo) lpfc_scsi_prep_cmnd_buf_s3() argument
4678 lpfc_scsi_prep_cmnd_buf_s4(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd, uint8_t tmo) lpfc_scsi_prep_cmnd_buf_s4() argument
4787 lpfc_scsi_prep_cmnd(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd, struct lpfc_nodelist *pnode) lpfc_scsi_prep_cmnd() argument
4833 lpfc_scsi_prep_task_mgmt_cmd_s3(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd, u64 lun, u8 task_mgmt_cmd) lpfc_scsi_prep_task_mgmt_cmd_s3() argument
4893 lpfc_scsi_prep_task_mgmt_cmd_s4(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd, u64 lun, u8 task_mgmt_cmd) lpfc_scsi_prep_task_mgmt_cmd_s4() argument
5010 struct lpfc_io_buf *lpfc_cmd = cmdiocbq->io_buf; lpfc_tskmgmt_def_cmpl() local
5219 struct lpfc_io_buf *lpfc_cmd; lpfc_queuecommand() local
5515 struct lpfc_io_buf *lpfc_cmd; lpfc_abort_handler() local
5700 lpfc_check_fcp_rsp(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd) lpfc_check_fcp_rsp() argument
5780 struct lpfc_io_buf *lpfc_cmd; lpfc_send_taskmgmt() local
[all...]
H A 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 in lpfc_io_ktime()
[all...]
H A 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()
10567 struct lpfc_io_buf *lpfc_cmd = piocb->io_buf; in __lpfc_sli_issue_fcp_io_s4() local
10569 lpfc_prep_embed_io(phba, lpfc_cmd); in __lpfc_sli_issue_fcp_io_s4()
10570 return lpfc_sli4_issue_wqe(phba, lpfc_cmd->hdwq, piocb); in __lpfc_sli_issue_fcp_io_s4()
10574 lpfc_prep_embed_io(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) in lpfc_prep_embed_io() argument
10576 struct lpfc_iocbq *piocb = &lpfc_cmd->cur_iocbq; in lpfc_prep_embed_io()
10577 union lpfc_wqe128 *wqe = &lpfc_cmd->cur_iocbq.wqe; in lpfc_prep_embed_io()
10581 sgl = (struct sli4_sge *)lpfc_cmd in lpfc_prep_embed_io()
11223 struct lpfc_io_buf *lpfc_cmd; lpfc_sli4_calc_ring() local
12619 struct lpfc_io_buf *lpfc_cmd; lpfc_sli_validate_fcp_iocb() local
12834 struct lpfc_io_buf *lpfc_cmd; lpfc_sli_abort_taskmgmt() local
12993 struct lpfc_io_buf *lpfc_cmd; lpfc_sli_wake_iocb_wait() local
21433 struct lpfc_io_buf *lpfc_cmd; lpfc_sli4_issue_abort_iotag() local
22078 struct lpfc_io_buf *lpfc_cmd, *lpfc_cmd_next; lpfc_io_buf() local
22123 struct lpfc_io_buf *lpfc_cmd; lpfc_get_io_buf() local
[all...]
H A Dlpfc.h896 struct lpfc_io_buf *lpfc_cmd,
900 struct lpfc_io_buf *lpfc_cmd,
H A Dlpfc_init.c4302 struct lpfc_io_buf *lpfc_cmd; in lpfc_io_buf_flush() local
4331 list_remove_head(&blist, lpfc_cmd, struct lpfc_io_buf, list); in lpfc_io_buf_flush()
4332 if (!lpfc_cmd) in lpfc_io_buf_flush()
4335 list_add_tail(&lpfc_cmd->list, cbuf); in lpfc_io_buf_flush()
4338 xri = lpfc_cmd->cur_iocbq.sli4_xritag; in lpfc_io_buf_flush()
4344 list_add(&lpfc_cmd->list, in lpfc_io_buf_flush()
4347 list_add(&lpfc_cmd->list, cbuf); in lpfc_io_buf_flush()
4354 list_add_tail(&lpfc_cmd->list, cbuf); in lpfc_io_buf_flush()
4363 struct lpfc_io_buf *lpfc_cmd; in lpfc_io_buf_replenish() local
4371 list_remove_head(cbuf, lpfc_cmd, in lpfc_io_buf_replenish()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
H A Dlpfc_scsi.c117 * @lpfc_cmd: lpfc scsi command object pointer.
124 struct lpfc_io_buf *lpfc_cmd) in lpfc_sli4_set_rsp_sgl_last()
126 struct sli4_sge *sgl = (struct sli4_sge *)lpfc_cmd->dma_sgl; in lpfc_sli4_set_rsp_sgl_last()
138 * @lpfc_cmd: lpfc scsi command object pointer.
144 lpfc_update_stats(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd) in lpfc_update_stats() argument
149 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, struc in lpfc_get_scsi_buf_s3()
123 lpfc_sli4_set_rsp_sgl_last(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) lpfc_sli4_set_rsp_sgl_last() argument
633 struct lpfc_io_buf *lpfc_cmd; lpfc_get_scsi_buf_s4() local
835 lpfc_scsi_prep_dma_buf_s3(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) lpfc_scsi_prep_dma_buf_s3() argument
988 struct lpfc_io_buf *lpfc_cmd = NULL; lpfc_bg_err_inject() local
1948 lpfc_bg_setup_sgl(struct lpfc_hba *phba, struct scsi_cmnd *sc, struct sli4_sge *sgl, int datasegcnt, struct lpfc_io_buf *lpfc_cmd) lpfc_bg_setup_sgl() argument
2128 lpfc_bg_setup_sgl_prot(struct lpfc_hba *phba, struct scsi_cmnd *sc, struct sli4_sge *sgl, int datacnt, int protcnt, struct lpfc_io_buf *lpfc_cmd) lpfc_bg_setup_sgl_prot() argument
2477 lpfc_bg_scsi_adjust_dl(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) lpfc_bg_scsi_adjust_dl() argument
2520 lpfc_bg_scsi_prep_dma_buf_s3(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) lpfc_bg_scsi_prep_dma_buf_s3() argument
2713 lpfc_calc_bg_err(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) lpfc_calc_bg_err() argument
2898 lpfc_parse_bg_err(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd, struct lpfc_iocbq *pIocbOut) lpfc_parse_bg_err() argument
3046 lpfc_scsi_prep_dma_buf_s4(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) lpfc_scsi_prep_dma_buf_s4() argument
3259 lpfc_bg_scsi_prep_dma_buf_s4(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) lpfc_bg_scsi_prep_dma_buf_s4() argument
3453 lpfc_scsi_prep_dma_buf(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) lpfc_scsi_prep_dma_buf() argument
3472 lpfc_bg_scsi_prep_dma_buf(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) lpfc_bg_scsi_prep_dma_buf() argument
3488 lpfc_send_scsi_error_event(struct lpfc_hba *phba, struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd, struct lpfc_iocbq *rsp_iocb) lpfc_send_scsi_error_event() argument
3608 lpfc_handle_fcp_err(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd, struct lpfc_iocbq *rsp_iocb) lpfc_handle_fcp_err() argument
3800 struct lpfc_io_buf *lpfc_cmd = lpfc_scsi_cmd_iocb_cmpl() local
4083 lpfc_scsi_prep_cmnd(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd, struct lpfc_nodelist *pnode) lpfc_scsi_prep_cmnd() argument
4198 lpfc_scsi_prep_task_mgmt_cmd(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd, uint64_t lun, uint8_t task_mgmt_cmd) lpfc_scsi_prep_task_mgmt_cmd() argument
4308 struct lpfc_io_buf *lpfc_cmd = lpfc_tskmgmt_def_cmpl() local
4508 struct lpfc_io_buf *lpfc_cmd; lpfc_queuecommand() local
4733 struct lpfc_io_buf *lpfc_cmd; lpfc_abort_handler() local
4957 lpfc_check_fcp_rsp(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd) lpfc_check_fcp_rsp() argument
5037 struct lpfc_io_buf *lpfc_cmd; lpfc_send_taskmgmt() local
[all...]
H A Dlpfc_debugfs.c1301 lpfc_io_ktime(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) in lpfc_io_ktime() argument
1306 if (!lpfc_cmd->ts_last_cmd || in lpfc_io_ktime()
1307 !lpfc_cmd->ts_cmd_start || in lpfc_io_ktime()
1308 !lpfc_cmd->ts_cmd_wqput || in lpfc_io_ktime()
1309 !lpfc_cmd->ts_isr_cmpl || in lpfc_io_ktime()
1310 !lpfc_cmd->ts_data_io) in lpfc_io_ktime()
1313 if (lpfc_cmd->ts_data_io < lpfc_cmd->ts_cmd_start) in lpfc_io_ktime()
1315 if (lpfc_cmd->ts_cmd_start < lpfc_cmd in lpfc_io_ktime()
[all...]
H A Dlpfc_sli.c1133 struct lpfc_io_buf *lpfc_cmd; in __lpfc_sli_get_els_sglq() local
1146 lpfc_cmd = (struct lpfc_io_buf *) piocbq->context1; in __lpfc_sli_get_els_sglq()
1147 ndlp = lpfc_cmd->rdata->pnode; in __lpfc_sli_get_els_sglq()
9733 struct lpfc_io_buf *lpfc_cmd; in lpfc_sli4_iocb2wqe() local
9740 lpfc_cmd = iocbq->context1; in lpfc_sli4_iocb2wqe()
9741 sgl = (struct sli4_sge *)lpfc_cmd->dma_sgl; in lpfc_sli4_iocb2wqe()
9742 fcp_cmnd = lpfc_cmd->fcp_cmnd; in lpfc_sli4_iocb2wqe()
9797 struct lpfc_io_buf *lpfc_cmd; in lpfc_sli4_iocb2wqe() local
9804 lpfc_cmd = iocbq->context1; in lpfc_sli4_iocb2wqe()
9805 sgl = (struct sli4_sge *)lpfc_cmd in lpfc_sli4_iocb2wqe()
9854 struct lpfc_io_buf *lpfc_cmd; lpfc_sli4_iocb2wqe() local
10264 struct lpfc_io_buf *lpfc_cmd; lpfc_sli4_calc_ring() local
11598 struct lpfc_io_buf *lpfc_cmd; lpfc_sli_validate_fcp_iocb() local
11842 struct lpfc_io_buf *lpfc_cmd; lpfc_sli_abort_taskmgmt() local
11988 struct lpfc_io_buf *lpfc_cmd; lpfc_sli_wake_iocb_wait() local
20904 struct lpfc_io_buf *lpfc_cmd, *lpfc_cmd_next; lpfc_io_buf() local
20949 struct lpfc_io_buf *lpfc_cmd; lpfc_get_io_buf() local
[all...]
H A Dlpfc_init.c3964 struct lpfc_io_buf *lpfc_cmd; in lpfc_io_buf_flush() local
3993 list_remove_head(&blist, lpfc_cmd, struct lpfc_io_buf, list); in lpfc_io_buf_flush()
3994 if (!lpfc_cmd) in lpfc_io_buf_flush()
3997 list_add_tail(&lpfc_cmd->list, cbuf); in lpfc_io_buf_flush()
4000 xri = lpfc_cmd->cur_iocbq.sli4_xritag; in lpfc_io_buf_flush()
4006 list_add(&lpfc_cmd->list, in lpfc_io_buf_flush()
4009 list_add(&lpfc_cmd->list, cbuf); in lpfc_io_buf_flush()
4016 list_add_tail(&lpfc_cmd->list, cbuf); in lpfc_io_buf_flush()
4025 struct lpfc_io_buf *lpfc_cmd; in lpfc_io_buf_replenish() local
4032 list_remove_head(cbuf, lpfc_cmd, in lpfc_io_buf_replenish()
[all...]

Completed in 59 milliseconds