Searched refs:C_SYNC_SOURCE (Results 1 – 9 of 9) sorted by relevance
34 [C_SYNC_SOURCE] = "SyncSource",
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()1785 if ((os.conn != C_SYNC_SOURCE && os.conn != C_PAUSED_SYNC_S) && in after_state_ch()1786 (ns.conn == C_SYNC_SOURCE || ns.conn == C_PAUSED_SYNC_S) && in after_state_ch()[all …]
989 if (os.conn == C_SYNC_SOURCE) { in drbd_resync_finished()1547 if ((odev->state.conn >= C_SYNC_SOURCE && in _drbd_may_sync_now()1708 drbd_start_resync(device, C_SYNC_SOURCE); in do_start_resync()1739 if (device->state.conn >= C_SYNC_SOURCE && device->state.conn < C_AHEAD) { in drbd_start_resync()1870 if (side == C_SYNC_SOURCE && connection->agreed_pro_version < 96) in drbd_start_resync()1884 if (side == C_SYNC_SOURCE) { in drbd_start_resync()
305 if (state.conn == C_SYNC_SOURCE || in drbd_seq_show()
2058 return connection_state == C_SYNC_SOURCE || in is_sync_source_state()2154 case C_SYNC_SOURCE: in drbd_state_is_stable()
2194 pcmd = (device->state.conn >= C_SYNC_SOURCE && in e_end_block()3573 drbd_conn_str(hg > 0 ? C_SYNC_SOURCE : C_SYNC_TARGET), in drbd_sync_handshake()4429 peer_state.conn < C_SYNC_SOURCE) in receive_state()4435 else if (os.conn >= C_SYNC_SOURCE && in receive_state()4457 os.conn == C_CONNECTED && peer_state.conn > C_SYNC_SOURCE) in receive_state()4884 drbd_start_resync(device, C_SYNC_SOURCE); in receive_bitmap()
2182 if (device->state.conn == C_SYNC_SOURCE || in conn_resync_running()2748 drbd_start_resync(device, C_SYNC_SOURCE); in resync_after_online_grow()3770 if (C_SYNC_SOURCE <= device->state.conn && in nla_put_status_info()
1675 if (device->state.conn >= C_SYNC_SOURCE && in drbd_send_dblock()
218 C_SYNC_SOURCE, enumerator