Lines Matching refs:C_SYNC_SOURCE
874 ns.conn == C_SYNC_SOURCE || in is_valid_state()
962 if ((ns.conn == C_SYNC_TARGET || ns.conn == C_SYNC_SOURCE) in is_valid_soft_transition()
1157 case C_SYNC_SOURCE: in sanitize_state()
1204 if (ns.conn == C_SYNC_SOURCE) in sanitize_state()
1210 ns.conn = C_SYNC_SOURCE; in sanitize_state()
1371 (ns.conn == C_SYNC_TARGET || ns.conn == C_SYNC_SOURCE)) { in _drbd_set_state()
1379 if ((os.conn == C_SYNC_TARGET || os.conn == C_SYNC_SOURCE) && in _drbd_set_state()
1515 drbd_start_resync(device, C_SYNC_SOURCE); in abw_start_sync()
1784 if ((os.conn != C_SYNC_SOURCE && os.conn != C_PAUSED_SYNC_S) && in after_state_ch()
1785 (ns.conn == C_SYNC_SOURCE || ns.conn == C_PAUSED_SYNC_S) && in after_state_ch()
1989 if (os.disk < D_UP_TO_DATE && os.conn >= C_SYNC_SOURCE && ns.conn == C_CONNECTED) in after_state_ch()