Lines Matching refs:state
397 if ((qedi_ep->state == EP_STATE_TCP_FIN_RCVD) ||
398 (qedi_ep->state == EP_STATE_TCP_RST_RCVD)) {
816 cmd->state = 0;
846 qedi_ep->state = EP_STATE_OFLDCONN_FAILED;
851 (qedi_ep->state ==
854 if (ret <= 0 || qedi_ep->state != EP_STATE_OFLDCONN_COMPL) {
855 qedi_ep->state = EP_STATE_OFLDCONN_FAILED;
911 qedi_ep->state = EP_STATE_IDLE;
955 qedi_ep->state = EP_STATE_OFLDCONN_START;
1010 if (qedi_ep->state == EP_STATE_IDLE ||
1011 qedi_ep->state == EP_STATE_OFLDCONN_NONE ||
1012 qedi_ep->state == EP_STATE_OFLDCONN_FAILED)
1015 if (qedi_ep->state == EP_STATE_OFLDCONN_COMPL)
1022 if (qedi_ep->state == EP_STATE_OFLDCONN_FAILED)
1063 if (qedi_ep->state == EP_STATE_OFLDCONN_START)
1088 "Reset recovery cid=0x%x, qedi_ep=%p, state=0x%x\n",
1089 qedi_ep->iscsi_cid, qedi_ep, qedi_ep->state);
1098 switch (qedi_ep->state) {
1109 "Active cmd count=%d, abrt_conn=%d, ep state=0x%x, cid=0x%x, qedi_conn=%p\n",
1111 qedi_ep->state,
1131 qedi_ep->state = EP_STATE_DISCONN_START;
1144 (qedi_ep->state !=
1147 if ((ret <= 0) || (qedi_ep->state == EP_STATE_DISCONN_START)) {
1161 qedi_ep->state = EP_STATE_IDLE;
1272 qedi_ep->state = EP_STATE_OFLDCONN_NONE;
1414 if (task->state == ISCSI_TASK_PENDING) {
1476 "Failing connection, state=0x%x, cid=0x%x\n",
1477 conn->session->state, qedi_conn->iscsi_conn_id);