Lines Matching defs:state
159 if (!wqe || wqe->state == wqe_state_posted)
163 if (wqe->state == wqe_state_done)
167 if (wqe->state == wqe_state_error)
192 if (wqe->state == wqe_state_pending) {
536 if (pkt && wqe->state == wqe_state_pending) {
653 enum comp_state state;
679 state = COMPST_GET_ACK;
682 rxe_dbg_qp(qp, "state = %s\n", comp_state_name[state]);
683 switch (state) {
690 state = COMPST_GET_WQE;
694 state = get_wqe(qp, pkt, &wqe);
698 state = check_psn(qp, pkt, wqe);
702 state = check_ack(qp, pkt, wqe);
706 state = do_read(qp, pkt, wqe);
710 state = do_atomic(qp, pkt, wqe);
714 if (wqe->state == wqe_state_pending &&
716 state = COMPST_COMP_ACK;
718 state = COMPST_UPDATE_COMP;
722 state = complete_ack(qp, pkt, wqe);
726 state = complete_wqe(qp, pkt, wqe);
743 state = COMPST_DONE;
751 state = COMPST_ERROR_RETRY;
768 if (!wqe || (wqe->state == wqe_state_posted))
802 state = COMPST_ERROR;
826 state = COMPST_ERROR;