Lines Matching refs:state
108 if (likely(qp->attrs.state == SIW_QP_STATE_RTS))
128 siw_dbg_qp(qp, "enter llp close, state = %s\n",
129 siw_qp_state_to_string[qp->attrs.state]);
137 switch (qp->attrs.state) {
142 qp->attrs.state = SIW_QP_STATE_ERROR;
152 qp->attrs.state = SIW_QP_STATE_ERROR;
154 qp->attrs.state = SIW_QP_STATE_IDLE;
158 siw_dbg_qp(qp, "llp close: no state transition needed: %s\n",
159 siw_qp_state_to_string[qp->attrs.state]);
175 siw_dbg_qp(qp, "llp close exit: state %s\n",
176 siw_qp_state_to_string[qp->attrs.state]);
258 * Caller must hold QP state lock.
323 enum ddp_ecode siw_tagged_error(enum siw_access_state state)
325 switch (state) {
348 enum rdmap_ecode siw_rdmap_error(enum siw_access_state state)
350 switch (state) {
465 * RRESP creation. Take state from
610 * Handle all attrs other than state
640 switch (attrs->state) {
658 * Initialize iWARP TX state
665 * Initialize iWARP RX state
681 qp->attrs.state = SIW_QP_STATE_RTS;
690 qp->attrs.state = SIW_QP_STATE_ERROR;
708 switch (attrs->state) {
714 * as a transient state, schedule connection drop work
715 * and wait for the socket state change upcall to
719 qp->attrs.state = SIW_QP_STATE_CLOSING;
721 qp->attrs.state = SIW_QP_STATE_ERROR;
730 qp->attrs.state = SIW_QP_STATE_TERMINATE;
754 qp->attrs.state = SIW_QP_STATE_ERROR;
767 switch (attrs->state) {
770 qp->attrs.state = SIW_QP_STATE_ERROR;
786 switch (attrs->state) {
789 qp->attrs.state = SIW_QP_STATE_IDLE;
804 qp->attrs.state = SIW_QP_STATE_ERROR;
813 siw_dbg_qp(qp, "state transition undefined: %s => %s\n",
814 siw_qp_state_to_string[qp->attrs.state],
815 siw_qp_state_to_string[attrs->state]);
833 siw_dbg_qp(qp, "state: %s => %s\n",
834 siw_qp_state_to_string[qp->attrs.state],
835 siw_qp_state_to_string[attrs->state]);
843 switch (qp->attrs.state) {
1031 * Check if current CQ state qualifies for calling CQ completion
1041 /* Read application shared notification state */
1185 * Must be called with QP state write lock held.
1261 * Must be called with QP state write lock held.