Lines Matching refs:state

173 	cep->state = SIW_EPSTATE_IDLE;
387 if (cep->state == SIW_EPSTATE_CLOSED) {
391 siw_dbg_cep(cep, "immediate close, state %d\n", cep->state);
397 switch (cep->state) {
420 cep->state = SIW_EPSTATE_CLOSED;
683 cep->state = SIW_EPSTATE_RECVD_MPAREQ;
865 qp_attrs.state = SIW_QP_STATE_RTS;
872 if (qp->attrs.state > SIW_QP_STATE_RTR) {
892 cep->state = SIW_EPSTATE_RDMA_MODE;
915 if (cep->state != SIW_EPSTATE_LISTENING)
953 new_cep->state = SIW_EPSTATE_AWAIT_MPAREQ;
1006 siw_dbg_cep(cep, "[QP %u]: work type: %d, state %d\n",
1008 work->type, cep->state);
1018 if (cep->state == SIW_EPSTATE_AWAIT_MPAREQ) {
1022 if (cep->listen_cep->state ==
1037 } else if (cep->state == SIW_EPSTATE_AWAIT_MPAREP) {
1045 if (cep->state == SIW_EPSTATE_RDMA_MODE) {
1049 siw_dbg_cep(cep, "out of state: %d\n",
1050 cep->state);
1072 if (cep->state == SIW_EPSTATE_AWAIT_MPAREP) {
1078 } else if (cep->state == SIW_EPSTATE_RDMA_MODE) {
1091 if (cep->state == SIW_EPSTATE_RECVD_MPAREQ) {
1097 } else if (cep->state == SIW_EPSTATE_AWAIT_MPAREQ) {
1115 if (cep->state == SIW_EPSTATE_AWAIT_MPAREP) {
1128 } else if (cep->state == SIW_EPSTATE_AWAIT_MPAREQ) {
1151 cep->state = SIW_EPSTATE_CLOSED;
1206 if (cep->state == SIW_EPSTATE_AWAIT_MPAREP)
1229 siw_dbg_cep(cep, "cep state: %d, socket state %d\n",
1230 cep->state, sk->sk_state);
1235 switch (cep->state) {
1246 siw_dbg_cep(cep, "unexpected data, state %d\n", cep->state);
1258 siw_dbg_cep(cep, "state: %d\n", cep->state);
1266 siw_dbg_cep(cep, "error %d, socket state: %d, cep state: %d\n",
1267 sk->sk_err, sk->sk_state, cep->state);
1287 siw_dbg_cep(cep, "state: %d\n", cep->state);
1306 siw_dbg_cep(cep, "unexpected socket state %d\n", sk->sk_state);
1424 cep->state = SIW_EPSTATE_CONNECTING;
1431 cep->state = SIW_EPSTATE_AWAIT_MPAREP;
1505 cep->state = SIW_EPSTATE_CLOSED;
1527 * Transition QP to RTS state, associate new CM id @id with accepted CEP
1554 if (cep->state != SIW_EPSTATE_RECVD_MPAREQ) {
1555 siw_dbg_cep(cep, "out of state\n");
1571 if (qp->attrs.state > SIW_QP_STATE_RTR) {
1652 qp_attrs.state = SIW_QP_STATE_RTS;
1663 cep->state = SIW_EPSTATE_RDMA_MODE;
1699 cep->state = SIW_EPSTATE_CLOSED;
1733 if (cep->state != SIW_EPSTATE_RECVD_MPAREQ) {
1734 siw_dbg_cep(cep, "out of state\n");
1741 siw_dbg_cep(cep, "cep->state %d, pd_len %d\n", cep->state,
1752 cep->state = SIW_EPSTATE_CLOSED;
1861 cep->state = SIW_EPSTATE_LISTENING;
1879 cep->state = SIW_EPSTATE_CLOSED;
1902 siw_dbg_cep(cep, "drop cep, state %d\n", cep->state);
1915 cep->state = SIW_EPSTATE_CLOSED;