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.c95 * @lpfc_cmd: lpfc scsi command object pointer.
102 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; lpfc_get_scsi_buf_s4() local
812 lpfc_scsi_prep_dma_buf_s3(struct lpfc_hba * phba,struct lpfc_io_buf * lpfc_cmd) lpfc_scsi_prep_dma_buf_s3() argument
966 struct lpfc_io_buf *lpfc_cmd = NULL; lpfc_bg_err_inject() local
1927 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
2114 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
2480 lpfc_bg_scsi_adjust_dl(struct lpfc_hba * phba,struct lpfc_io_buf * lpfc_cmd) lpfc_bg_scsi_adjust_dl() argument
2523 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
2715 lpfc_calc_bg_err(struct lpfc_hba * phba,struct lpfc_io_buf * lpfc_cmd) lpfc_calc_bg_err() argument
2894 lpfc_parse_bg_err(struct lpfc_hba * phba,struct lpfc_io_buf * lpfc_cmd,struct lpfc_iocbq * pIocbOut) lpfc_parse_bg_err() argument
3074 lpfc_scsi_prep_dma_buf_s4(struct lpfc_hba * phba,struct lpfc_io_buf * lpfc_cmd) lpfc_scsi_prep_dma_buf_s4() argument
3296 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
3514 lpfc_scsi_prep_dma_buf(struct lpfc_hba * phba,struct lpfc_io_buf * lpfc_cmd) lpfc_scsi_prep_dma_buf() argument
3533 lpfc_bg_scsi_prep_dma_buf(struct lpfc_hba * phba,struct lpfc_io_buf * lpfc_cmd) lpfc_bg_scsi_prep_dma_buf() argument
3552 lpfc_scsi_prep_cmnd_buf(struct lpfc_vport * vport,struct lpfc_io_buf * lpfc_cmd,uint8_t tmo) lpfc_scsi_prep_cmnd_buf() argument
3570 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
3826 lpfc_handle_fcp_err(struct lpfc_vport * vport,struct lpfc_io_buf * lpfc_cmd,uint32_t fcpi_parm) lpfc_handle_fcp_err() argument
4016 struct lpfc_io_buf *lpfc_cmd = pwqeIn->io_buf; lpfc_fcp_io_cmd_wqe_cmpl() local
4346 struct lpfc_io_buf *lpfc_cmd = lpfc_scsi_cmd_iocb_cmpl() local
4613 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
4690 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
4806 lpfc_scsi_prep_cmnd(struct lpfc_vport * vport,struct lpfc_io_buf * lpfc_cmd,struct lpfc_nodelist * pnode) lpfc_scsi_prep_cmnd() argument
4853 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
4913 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
5029 struct lpfc_io_buf *lpfc_cmd = cmdiocbq->io_buf; lpfc_tskmgmt_def_cmpl() local
5224 struct lpfc_io_buf *lpfc_cmd; lpfc_queuecommand() local
5510 struct lpfc_io_buf *lpfc_cmd; lpfc_abort_handler() local
5703 lpfc_check_fcp_rsp(struct lpfc_vport * vport,struct lpfc_io_buf * lpfc_cmd) lpfc_check_fcp_rsp() argument
5783 struct lpfc_io_buf *lpfc_cmd; lpfc_send_taskmgmt() 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()
10597 struct lpfc_io_buf *lpfc_cmd = piocb->io_buf;
10599 lpfc_prep_embed_io(phba, lpfc_cmd);
10600 return lpfc_sli4_issue_wqe(phba, lpfc_cmd->hdwq, piocb);
10604 lpfc_prep_embed_io(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd)
10606 struct lpfc_iocbq *piocb = &lpfc_cmd->cur_iocbq;
10607 union lpfc_wqe128 *wqe = &lpfc_cmd->cur_iocbq.wqe;
10612 sgl = (struct sli4_sge_le *)lpfc_cmd
10615 struct lpfc_io_buf *lpfc_cmd = piocb->io_buf; __lpfc_sli_issue_fcp_io_s4() local
10622 lpfc_prep_embed_io(struct lpfc_hba * phba,struct lpfc_io_buf * lpfc_cmd) lpfc_prep_embed_io() argument
11280 struct lpfc_io_buf *lpfc_cmd; lpfc_sli4_calc_ring() local
12666 struct lpfc_io_buf *lpfc_cmd; lpfc_sli_validate_fcp_iocb() local
12881 struct lpfc_io_buf *lpfc_cmd; lpfc_sli_abort_taskmgmt() local
13038 struct lpfc_io_buf *lpfc_cmd; lpfc_sli_wake_iocb_wait() local
21523 struct lpfc_io_buf *lpfc_cmd; lpfc_sli4_issue_abort_iotag() local
22168 struct lpfc_io_buf *lpfc_cmd, *lpfc_cmd_next; lpfc_io_buf() local
22213 struct lpfc_io_buf *lpfc_cmd; lpfc_get_io_buf() local
[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...]