Lines Matching refs:C_CONNECTED

470 	return (os.conn >= C_CONNECTED && ns.conn >= C_CONNECTED &&  in cl_wide_st_chg()
475 (os.conn >= C_CONNECTED && ns.conn == C_DISCONNECTING) || in cl_wide_st_chg()
476 (os.conn == C_CONNECTED && ns.conn == C_VERIFY_S) || in cl_wide_st_chg()
477 (os.conn == C_CONNECTED && ns.conn == C_WF_REPORT_PARAMS); in cl_wide_st_chg()
853 else if (ns.role == R_PRIMARY && ns.conn < C_CONNECTED && ns.disk < D_UP_TO_DATE) in is_valid_state()
857 ns.role == R_PRIMARY && ns.conn < C_CONNECTED && ns.pdsk >= D_UNKNOWN) in is_valid_state()
863 else if (ns.conn > C_CONNECTED && ns.disk < D_INCONSISTENT) in is_valid_state()
866 else if (ns.conn > C_CONNECTED && ns.pdsk < D_INCONSISTENT) in is_valid_state()
869 else if (ns.conn > C_CONNECTED && ns.disk < D_UP_TO_DATE && ns.pdsk < D_UP_TO_DATE) in is_valid_state()
872 else if ((ns.conn == C_CONNECTED || in is_valid_state()
894 else if (ns.conn >= C_CONNECTED && ns.pdsk == D_UNKNOWN) in is_valid_state()
917 os.conn > C_CONNECTED) in is_valid_soft_transition()
939 (ns.conn >= C_CONNECTED && os.conn == C_WF_REPORT_PARAMS))) in is_valid_soft_transition()
951 if ((ns.conn == C_VERIFY_S || ns.conn == C_VERIFY_T) && os.conn < C_CONNECTED) in is_valid_soft_transition()
955 ns.conn != os.conn && os.conn > C_CONNECTED) in is_valid_soft_transition()
959 os.conn < C_CONNECTED) in is_valid_soft_transition()
967 os.conn < C_CONNECTED && os.pdsk > D_OUTDATED) in is_valid_soft_transition()
990 if (oc < C_WF_REPORT_PARAMS && nc >= C_CONNECTED) in is_valid_conn_transition()
1070 if (ns.conn < C_CONNECTED) { in sanitize_state()
1083 if (ns.conn > C_CONNECTED && (ns.disk <= D_FAILED || ns.pdsk <= D_FAILED)) { in sanitize_state()
1087 ns.conn = C_CONNECTED; in sanitize_state()
1091 if (ns.conn < C_CONNECTED && ns.disk == D_NEGOTIATING && in sanitize_state()
1106 if (ns.conn >= C_CONNECTED && ns.conn < C_AHEAD) { in sanitize_state()
1136 case C_CONNECTED: in sanitize_state()
1194 (ns.role == R_PRIMARY && ns.conn < C_CONNECTED && ns.pdsk > D_OUTDATED) && in sanitize_state()
1195 !(os.role == R_PRIMARY && os.conn < C_CONNECTED && os.pdsk > D_OUTDATED)) in sanitize_state()
1364 ns.conn <= C_CONNECTED) { in _drbd_set_state()
1387 if (os.conn == C_CONNECTED && in _drbd_set_state()
1459 if (os.conn < C_CONNECTED && ns.conn >= C_CONNECTED) { in _drbd_set_state()
1508 _drbd_request_state(device, NS(conn, C_CONNECTED), CS_VERBOSE); in abw_start_sync()
1744 if (os.conn < C_CONNECTED && conn_lowest_conn(connection) >= C_CONNECTED) in after_state_ch()
1763 if (resource->susp_fen && conn_lowest_conn(connection) >= C_CONNECTED) { in after_state_ch()
1857 device->state.conn <= C_CONNECTED && get_ldev(device)) { in after_state_ch()
1866 if (ns.conn >= C_CONNECTED && in after_state_ch()
1874 if (ns.conn >= C_CONNECTED && in after_state_ch()
1886 if (os.conn == C_WF_REPORT_PARAMS && ns.conn >= C_CONNECTED) in after_state_ch()
1948 if (ns.conn >= C_CONNECTED) in after_state_ch()
1972 if (ns.conn >= C_CONNECTED) in after_state_ch()
1980 if (os.disk == D_UP_TO_DATE && ns.disk == D_INCONSISTENT && ns.conn >= C_CONNECTED) in after_state_ch()
1986 if (ns.conn == C_CONNECTED) in after_state_ch()
1991 if ((os.conn > C_CONNECTED && ns.conn <= C_CONNECTED) || in after_state_ch()
1998 if (os.disk < D_UP_TO_DATE && os.conn >= C_SYNC_SOURCE && ns.conn == C_CONNECTED) in after_state_ch()
2004 if (os.conn == C_VERIFY_S && ns.conn == C_CONNECTED in after_state_ch()
2019 if ((os.conn > C_CONNECTED && os.conn < C_AHEAD) && in after_state_ch()
2020 (ns.conn == C_CONNECTED || ns.conn >= C_AHEAD) && get_ldev(device)) { in after_state_ch()