Home
last modified time | relevance | path

Searched refs:C_SYNC_SOURCE (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/block/drbd/
Ddrbd_strings.c46 [C_SYNC_SOURCE] = "SyncSource",
Ddrbd_state.c888 ns.conn == C_SYNC_SOURCE || in is_valid_state()
976 if ((ns.conn == C_SYNC_TARGET || ns.conn == C_SYNC_SOURCE) in is_valid_soft_transition()
1171 case C_SYNC_SOURCE: in sanitize_state()
1218 if (ns.conn == C_SYNC_SOURCE) in sanitize_state()
1224 ns.conn = C_SYNC_SOURCE; in sanitize_state()
1385 (ns.conn == C_SYNC_TARGET || ns.conn == C_SYNC_SOURCE)) { in _drbd_set_state()
1393 if ((os.conn == C_SYNC_TARGET || os.conn == C_SYNC_SOURCE) && in _drbd_set_state()
1529 drbd_start_resync(device, C_SYNC_SOURCE); in abw_start_sync()
1798 if ((os.conn != C_SYNC_SOURCE && os.conn != C_PAUSED_SYNC_S) && in after_state_ch()
1799 (ns.conn == C_SYNC_SOURCE || ns.conn == C_PAUSED_SYNC_S) && in after_state_ch()
[all …]
Ddrbd_worker.c1006 if (os.conn == C_SYNC_SOURCE) { in drbd_resync_finished()
1561 if ((odev->state.conn >= C_SYNC_SOURCE && in _drbd_may_sync_now()
1721 drbd_start_resync(device, C_SYNC_SOURCE); in do_start_resync()
1752 if (device->state.conn >= C_SYNC_SOURCE && device->state.conn < C_AHEAD) { in drbd_start_resync()
1883 if (side == C_SYNC_SOURCE && connection->agreed_pro_version < 96) in drbd_start_resync()
1897 if (side == C_SYNC_SOURCE) { in drbd_start_resync()
Ddrbd_proc.c318 if (state.conn == C_SYNC_SOURCE || in drbd_seq_show()
Ddrbd_receiver.c2133 pcmd = (device->state.conn >= C_SYNC_SOURCE && in e_end_block()
3497 drbd_conn_str(hg > 0 ? C_SYNC_SOURCE : C_SYNC_TARGET), in drbd_sync_handshake()
4333 peer_state.conn < C_SYNC_SOURCE) in receive_state()
4339 else if (os.conn >= C_SYNC_SOURCE && in receive_state()
4361 os.conn == C_CONNECTED && peer_state.conn > C_SYNC_SOURCE) in receive_state()
4769 drbd_start_resync(device, C_SYNC_SOURCE); in receive_bitmap()
Ddrbd_int.h2111 return connection_state == C_SYNC_SOURCE || in is_sync_source_state()
2207 case C_SYNC_SOURCE: in drbd_state_is_stable()
Ddrbd_nl.c2205 if (device->state.conn == C_SYNC_SOURCE || in conn_resync_running()
2778 drbd_start_resync(device, C_SYNC_SOURCE); in resync_after_online_grow()
3808 if (C_SYNC_SOURCE <= device->state.conn && in nla_put_status_info()
Ddrbd_main.c1701 if (device->state.conn >= C_SYNC_SOURCE && in drbd_send_dblock()
/Linux-v4.19/include/linux/
Ddrbd.h230 C_SYNC_SOURCE, enumerator