Lines Matching refs:state
845 if (con->state != CEPH_CON_S_V1_CONNECT_MSG)
894 WARN_ON(con->state != CEPH_CON_S_V1_CONNECT_MSG);
895 con->state = CEPH_CON_S_OPEN;
1331 dout("try_read start %p state %d\n", con, con->state);
1332 if (con->state != CEPH_CON_S_V1_BANNER &&
1333 con->state != CEPH_CON_S_V1_CONNECT_MSG &&
1334 con->state != CEPH_CON_S_OPEN)
1342 if (con->state == CEPH_CON_S_V1_BANNER) {
1350 con->state = CEPH_CON_S_V1_CONNECT_MSG;
1366 if (con->state == CEPH_CON_S_V1_CONNECT_MSG) {
1376 WARN_ON(con->state != CEPH_CON_S_OPEN);
1410 con->state = CEPH_CON_S_CLOSED;
1435 if (con->state == CEPH_CON_S_OPEN)
1477 dout("try_write start %p state %d\n", con, con->state);
1478 if (con->state != CEPH_CON_S_PREOPEN &&
1479 con->state != CEPH_CON_S_V1_BANNER &&
1480 con->state != CEPH_CON_S_V1_CONNECT_MSG &&
1481 con->state != CEPH_CON_S_OPEN)
1485 if (con->state == CEPH_CON_S_PREOPEN) {
1487 con->state = CEPH_CON_S_V1_BANNER;
1495 dout("try_write initiating connect on %p new state %d\n",
1496 con, con->state);
1541 if (con->state == CEPH_CON_S_OPEN) {