Lines Matching refs:state
306 if (axchg->state != LPFC_NVME_STE_LS_RSP || axchg->entry_cnt != 2) {
308 "6410 NVMEx LS cmpl state mismatch IO x%x: "
310 axchg->oxid, axchg->state, axchg->entry_cnt);
398 if (ctxp->state == LPFC_NVME_STE_FREE) {
401 ctxp->oxid, ctxp->state, ctxp->entry_cnt);
424 ctxp->state = LPFC_NVME_STE_FREE;
448 ctxp->state = LPFC_NVME_STE_RCV;
789 ctxp->state = LPFC_NVME_STE_DONE;
881 if (axchg->state != LPFC_NVME_STE_LS_RCV || axchg->entry_cnt != 1) {
883 "6412 NVMEx LS rsp state mismatch "
885 axchg->oxid, axchg->state, axchg->entry_cnt);
888 axchg->state = LPFC_NVME_STE_LS_RSP;
1056 (ctxp->state == LPFC_NVME_STE_ABORT)) {
1156 ctxp->oxid, ctxp->flag, ctxp->state);
1159 ctxp->oxid, ctxp->flag, ctxp->state);
1184 /* A state of LPFC_NVME_STE_RCV means we have just received
1188 if (ctxp->state == LPFC_NVME_STE_RCV)
1213 else if (ctxp->state != LPFC_NVME_STE_DONE &&
1214 ctxp->state != LPFC_NVME_STE_ABORT)
1216 "6413 NVMET release bad state %d %d oxid x%x\n",
1217 ctxp->state, ctxp->entry_cnt, ctxp->oxid);
1228 ctxp->state, aborting);
1258 ctxp->oxid, ctxp->flag, ctxp->state);
1323 hstate = atomic_read(&lpfc_nvmet->state);
1386 atomic_set(&tgtp->state, 0);
1447 ctx_buf->sglq->state = SGL_FREED;
1574 ctx_buf->context->state = LPFC_NVME_STE_FREE;
1843 "6323 NVMET Rcv ABTS xri x%x ctxp state x%x "
1845 xri, ctxp->state, ctxp->flag, ctxp->oxid,
1850 ctxp->state = LPFC_NVME_STE_ABORT;
1967 "flag x%x state x%x\n",
1968 ctxp->oxid, xri, ctxp->flag, ctxp->state);
2193 "oxid: x%x flg: x%x state: x%x\n",
2194 ctxp->oxid, ctxp->flag, ctxp->state);
2363 * WQE is then used to invoke the proper routine and to set up proper state
2364 * of the discovery state machine.
2459 if (ctxp->state != LPFC_NVME_STE_FREE) {
2462 ctxp->state, ctxp->entry_cnt, ctxp->oxid);
2471 ctxp->state = LPFC_NVME_STE_RCV;
2559 * passed into the routine for discovery state machine to issue an Extended
2561 * and preparation routine that is used by all the discovery state machine
2588 ctxp->sid, ctxp->oxid, ctxp->state);
2598 ctxp->sid, ctxp->oxid, ctxp->state);
2609 ctxp->sid, ctxp->oxid, ctxp->state);
2719 ctxp->sid, ctxp->oxid, ctxp->state);
2730 ctxp->sid, ctxp->oxid, ctxp->state);
2738 ctxp->sid, ctxp->oxid, ctxp->state,
2753 ctxp->sid, ctxp->oxid, ctxp->state);
2763 if (((ctxp->state == LPFC_NVME_STE_RCV) &&
2765 (ctxp->state == LPFC_NVME_STE_DATA)) {
2769 "6111 Wrong state NVMET FCP: %d cnt %d\n",
2770 ctxp->state, ctxp->entry_cnt);
3026 ctxp->state = LPFC_NVME_STE_DATA;
3060 ctxp->state = LPFC_NVME_STE_DONE;
3140 if (ctxp->state != LPFC_NVME_STE_ABORT) {
3142 "6112 ABTS Wrong state:%d oxid x%x\n",
3143 ctxp->state, ctxp->oxid);
3149 ctxp->state = LPFC_NVME_STE_DONE;
3226 if (ctxp->state != LPFC_NVME_STE_LS_ABORT) {
3228 "6416 NVMET LS abort cmpl state mismatch: "
3230 ctxp->oxid, ctxp->state, ctxp->entry_cnt);
3263 "6134 Drop ABTS - wrong NDLP state x%x.\n",
3359 "6160 Drop ABORT - wrong NDLP state x%x.\n",
3383 ctxp->state = LPFC_NVME_STE_ABORT;
3479 if (ctxp->state == LPFC_NVME_STE_FREE) {
3482 ctxp->state, ctxp->entry_cnt, ctxp->oxid);
3486 ctxp->state = LPFC_NVME_STE_ABORT;
3544 if ((ctxp->state == LPFC_NVME_STE_LS_RCV && ctxp->entry_cnt == 1) ||
3545 (ctxp->state == LPFC_NVME_STE_LS_RSP && ctxp->entry_cnt == 2)) {
3546 ctxp->state = LPFC_NVME_STE_LS_ABORT;
3550 "6418 NVMET LS abort state mismatch "
3552 ctxp->oxid, ctxp->state, ctxp->entry_cnt);
3553 ctxp->state = LPFC_NVME_STE_LS_ABORT;
3620 atomic_set(&tgtp->state, LPFC_NVMET_INV_HOST_ACTIVE);