Lines Matching refs:axchg
298 struct lpfc_async_xchg_ctx *axchg = cmdwqe->context2;
299 struct nvmefc_ls_rsp *ls_rsp = &axchg->ls_rsp;
305 if (axchg->state != LPFC_NVME_STE_LS_RSP || axchg->entry_cnt != 2) {
309 axchg->oxid, axchg->state, axchg->entry_cnt);
313 axchg->oxid, status, result);
317 status, result, axchg->oxid);
326 status, axchg->oxid);
327 kfree(axchg);
848 * @axchg: pointer to exchange context for the NVME LS request the response
862 __lpfc_nvme_xmt_ls_rsp(struct lpfc_async_xchg_ctx *axchg,
868 struct lpfc_hba *phba = axchg->phba;
869 struct hbq_dmabuf *nvmebuf = (struct hbq_dmabuf *)axchg->rqb_buffer;
879 "6023 NVMEx LS rsp oxid x%x\n", axchg->oxid);
881 if (axchg->state != LPFC_NVME_STE_LS_RCV || axchg->entry_cnt != 1) {
885 axchg->oxid, axchg->state, axchg->entry_cnt);
888 axchg->state = LPFC_NVME_STE_LS_RSP;
889 axchg->entry_cnt++;
891 nvmewqeq = lpfc_nvmet_prep_ls_wqe(phba, axchg, ls_rsp->rspdma,
896 axchg->oxid);
919 nvmewqeq->context2 = axchg;
922 axchg->oxid, nvmewqeq->hba_wqidx, ls_rsp->rsplen);
924 rc = lpfc_sli4_issue_wqe(phba, axchg->hdwq, nvmewqeq);
940 axchg->oxid, rc);
957 lpfc_nvme_unsol_ls_issue_abort(phba, axchg, axchg->sid, axchg->oxid);
983 struct lpfc_async_xchg_ctx *axchg =
988 if (axchg->phba->pport->load_flag & FC_UNLOADING)
991 rc = __lpfc_nvme_xmt_ls_rsp(axchg, ls_rsp, lpfc_nvmet_xmt_ls_rsp_cmp);
2127 * @axchg: pointer to exchange context for the NVME LS request
2135 * lpfc_nvme_xmt_ls_rsp_cmp should free the allocated axchg.
2142 struct lpfc_async_xchg_ctx *axchg)
2146 uint32_t *payload = axchg->payload;
2156 rc = nvmet_fc_rcv_ls_req(phba->targetport, axchg->ndlp, &axchg->ls_rsp,
2157 axchg->payload, axchg->size);
2161 "%08x %08x %08x\n", axchg->size, rc,