Lines Matching refs:nvmewqeq
870 struct lpfc_iocbq *nvmewqeq; in __lpfc_nvme_xmt_ls_rsp() local
891 nvmewqeq = lpfc_nvmet_prep_ls_wqe(phba, axchg, ls_rsp->rspdma, in __lpfc_nvme_xmt_ls_rsp()
893 if (nvmewqeq == NULL) { in __lpfc_nvme_xmt_ls_rsp()
902 nvmewqeq->num_bdes = 1; in __lpfc_nvme_xmt_ls_rsp()
903 nvmewqeq->hba_wqidx = 0; in __lpfc_nvme_xmt_ls_rsp()
904 nvmewqeq->bpl_dmabuf = &dmabuf; in __lpfc_nvme_xmt_ls_rsp()
906 bpl.addrLow = nvmewqeq->wqe.xmit_sequence.bde.addrLow; in __lpfc_nvme_xmt_ls_rsp()
907 bpl.addrHigh = nvmewqeq->wqe.xmit_sequence.bde.addrHigh; in __lpfc_nvme_xmt_ls_rsp()
917 nvmewqeq->cmd_cmpl = xmt_ls_rsp_cmp; in __lpfc_nvme_xmt_ls_rsp()
918 nvmewqeq->context_un.axchg = axchg; in __lpfc_nvme_xmt_ls_rsp()
921 axchg->oxid, nvmewqeq->hba_wqidx, ls_rsp->rsplen); in __lpfc_nvme_xmt_ls_rsp()
923 rc = lpfc_sli4_issue_wqe(phba, axchg->hdwq, nvmewqeq); in __lpfc_nvme_xmt_ls_rsp()
926 nvmewqeq->bpl_dmabuf = NULL; in __lpfc_nvme_xmt_ls_rsp()
943 lpfc_nlp_put(nvmewqeq->ndlp); in __lpfc_nvme_xmt_ls_rsp()
1017 struct lpfc_iocbq *nvmewqeq; in lpfc_nvmet_xmt_fcp_op() local
1065 nvmewqeq = lpfc_nvmet_prep_fcp_wqe(phba, ctxp); in lpfc_nvmet_xmt_fcp_op()
1066 if (nvmewqeq == NULL) { in lpfc_nvmet_xmt_fcp_op()
1075 nvmewqeq->cmd_cmpl = lpfc_nvmet_xmt_fcp_op_cmp; in lpfc_nvmet_xmt_fcp_op()
1076 nvmewqeq->context_un.axchg = ctxp; in lpfc_nvmet_xmt_fcp_op()
1077 nvmewqeq->cmd_flag |= LPFC_IO_NVMET; in lpfc_nvmet_xmt_fcp_op()
1084 rc = lpfc_sli4_issue_wqe(phba, ctxp->hdwq, nvmewqeq); in lpfc_nvmet_xmt_fcp_op()
1106 list_add_tail(&nvmewqeq->list, &wq->wqfull_list); in lpfc_nvmet_xmt_fcp_op()
1120 nvmewqeq->context_un.axchg = NULL; in lpfc_nvmet_xmt_fcp_op()
1121 nvmewqeq->bpl_dmabuf = NULL; in lpfc_nvmet_xmt_fcp_op()
2017 struct lpfc_iocbq *nvmewqeq; in lpfc_nvmet_wqfull_flush() local
2032 list_for_each_entry_safe(nvmewqeq, next_nvmewqeq, in lpfc_nvmet_wqfull_flush()
2036 if (nvmewqeq->context_un.axchg == ctxp) { in lpfc_nvmet_wqfull_flush()
2037 list_del(&nvmewqeq->list); in lpfc_nvmet_wqfull_flush()
2040 memcpy(&nvmewqeq->wcqe_cmpl, wcqep, in lpfc_nvmet_wqfull_flush()
2042 lpfc_nvmet_xmt_fcp_op_cmp(phba, nvmewqeq, in lpfc_nvmet_wqfull_flush()
2043 nvmewqeq); in lpfc_nvmet_wqfull_flush()
2049 list_del(&nvmewqeq->list); in lpfc_nvmet_wqfull_flush()
2051 memcpy(&nvmewqeq->wcqe_cmpl, wcqep, sizeof(*wcqep)); in lpfc_nvmet_wqfull_flush()
2052 lpfc_nvmet_xmt_fcp_op_cmp(phba, nvmewqeq, nvmewqeq); in lpfc_nvmet_wqfull_flush()
2067 struct lpfc_iocbq *nvmewqeq; in lpfc_nvmet_wqfull_process() local
2079 list_remove_head(&wq->wqfull_list, nvmewqeq, struct lpfc_iocbq, in lpfc_nvmet_wqfull_process()
2082 ctxp = nvmewqeq->context_un.axchg; in lpfc_nvmet_wqfull_process()
2083 rc = lpfc_sli4_issue_wqe(phba, ctxp->hdwq, nvmewqeq); in lpfc_nvmet_wqfull_process()
2087 list_add(&nvmewqeq->list, &wq->wqfull_list); in lpfc_nvmet_wqfull_process()