Lines Matching refs:state
398 if ((qedi_ep->state == EP_STATE_TCP_FIN_RCVD) ||
399 (qedi_ep->state == EP_STATE_TCP_RST_RCVD)) {
848 cmd->state = 0;
878 qedi_ep->state = EP_STATE_OFLDCONN_FAILED;
883 (qedi_ep->state ==
886 if (ret <= 0 || qedi_ep->state != EP_STATE_OFLDCONN_COMPL) {
887 qedi_ep->state = EP_STATE_OFLDCONN_FAILED;
943 qedi_ep->state = EP_STATE_IDLE;
987 qedi_ep->state = EP_STATE_OFLDCONN_START;
1042 if (qedi_ep->state == EP_STATE_IDLE ||
1043 qedi_ep->state == EP_STATE_OFLDCONN_NONE ||
1044 qedi_ep->state == EP_STATE_OFLDCONN_FAILED)
1047 if (qedi_ep->state == EP_STATE_OFLDCONN_COMPL)
1054 if (qedi_ep->state == EP_STATE_OFLDCONN_FAILED)
1093 if (qedi_ep->state == EP_STATE_OFLDCONN_START)
1122 "Reset recovery cid=0x%x, qedi_ep=%p, state=0x%x\n",
1123 qedi_ep->iscsi_cid, qedi_ep, qedi_ep->state);
1132 switch (qedi_ep->state) {
1143 "Active cmd count=%d, abrt_conn=%d, ep state=0x%x, cid=0x%x, qedi_conn=%p\n",
1145 qedi_ep->state,
1165 qedi_ep->state = EP_STATE_DISCONN_START;
1183 (qedi_ep->state !=
1186 if ((ret <= 0) || (qedi_ep->state == EP_STATE_DISCONN_START)) {
1200 qedi_ep->state = EP_STATE_IDLE;
1311 qedi_ep->state = EP_STATE_OFLDCONN_NONE;
1453 if (task->state == ISCSI_TASK_PENDING) {
1515 "Failing connection, state=0x%x, cid=0x%x\n",
1516 conn->session->state, qedi_conn->iscsi_conn_id);