Lines Matching refs:state

176 	cep->state = SIW_EPSTATE_IDLE;
390 if (cep->state == SIW_EPSTATE_CLOSED) {
394 siw_dbg_cep(cep, "immediate close, state %d\n", cep->state);
400 switch (cep->state) {
423 cep->state = SIW_EPSTATE_CLOSED;
686 cep->state = SIW_EPSTATE_RECVD_MPAREQ;
868 qp_attrs.state = SIW_QP_STATE_RTS;
875 if (qp->attrs.state > SIW_QP_STATE_RTR) {
895 cep->state = SIW_EPSTATE_RDMA_MODE;
918 if (cep->state != SIW_EPSTATE_LISTENING)
956 new_cep->state = SIW_EPSTATE_AWAIT_MPAREQ;
1009 siw_dbg_cep(cep, "[QP %u]: work type: %d, state %d\n",
1011 work->type, cep->state);
1021 if (cep->state == SIW_EPSTATE_AWAIT_MPAREQ) {
1025 if (cep->listen_cep->state ==
1040 } else if (cep->state == SIW_EPSTATE_AWAIT_MPAREP) {
1048 if (cep->state == SIW_EPSTATE_RDMA_MODE) {
1052 siw_dbg_cep(cep, "out of state: %d\n",
1053 cep->state);
1075 if (cep->state == SIW_EPSTATE_AWAIT_MPAREP) {
1081 } else if (cep->state == SIW_EPSTATE_RDMA_MODE) {
1094 if (cep->state == SIW_EPSTATE_RECVD_MPAREQ) {
1100 } else if (cep->state == SIW_EPSTATE_AWAIT_MPAREQ) {
1118 if (cep->state == SIW_EPSTATE_AWAIT_MPAREP) {
1131 } else if (cep->state == SIW_EPSTATE_AWAIT_MPAREQ) {
1154 cep->state = SIW_EPSTATE_CLOSED;
1209 if (cep->state == SIW_EPSTATE_AWAIT_MPAREP)
1234 siw_dbg_cep(cep, "cep state: %d, socket state %d\n",
1235 cep->state, sk->sk_state);
1240 switch (cep->state) {
1251 siw_dbg_cep(cep, "unexpected data, state %d\n", cep->state);
1263 siw_dbg_cep(cep, "state: %d\n", cep->state);
1271 siw_dbg_cep(cep, "error %d, socket state: %d, cep state: %d\n",
1272 sk->sk_err, sk->sk_state, cep->state);
1292 siw_dbg_cep(cep, "state: %d\n", cep->state);
1311 siw_dbg_cep(cep, "unexpected socket state %d\n", sk->sk_state);
1435 cep->state = SIW_EPSTATE_CONNECTING;
1442 cep->state = SIW_EPSTATE_AWAIT_MPAREP;
1516 cep->state = SIW_EPSTATE_CLOSED;
1538 * Transition QP to RTS state, associate new CM id @id with accepted CEP
1565 if (cep->state != SIW_EPSTATE_RECVD_MPAREQ) {
1566 siw_dbg_cep(cep, "out of state\n");
1582 if (qp->attrs.state > SIW_QP_STATE_RTR) {
1663 qp_attrs.state = SIW_QP_STATE_RTS;
1674 cep->state = SIW_EPSTATE_RDMA_MODE;
1710 cep->state = SIW_EPSTATE_CLOSED;
1744 if (cep->state != SIW_EPSTATE_RECVD_MPAREQ) {
1745 siw_dbg_cep(cep, "out of state\n");
1752 siw_dbg_cep(cep, "cep->state %d, pd_len %d\n", cep->state,
1763 cep->state = SIW_EPSTATE_CLOSED;
1881 cep->state = SIW_EPSTATE_LISTENING;
1899 cep->state = SIW_EPSTATE_CLOSED;
1922 siw_dbg_cep(cep, "drop cep, state %d\n", cep->state);
1935 cep->state = SIW_EPSTATE_CLOSED;