Home
last modified time | relevance | path

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

/linux/drivers/block/drbd/
A Ddrbd_strings.c34 [C_SYNC_SOURCE] = "SyncSource",
A Ddrbd_state.c874 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 …]
A Ddrbd_worker.c994 if (os.conn == C_SYNC_SOURCE) { in drbd_resync_finished()
1552 if ((odev->state.conn >= C_SYNC_SOURCE && in _drbd_may_sync_now()
1713 drbd_start_resync(device, C_SYNC_SOURCE); in do_start_resync()
1744 if (device->state.conn >= C_SYNC_SOURCE && device->state.conn < C_AHEAD) { in drbd_start_resync()
1875 if (side == C_SYNC_SOURCE && connection->agreed_pro_version < 96) in drbd_start_resync()
1889 if (side == C_SYNC_SOURCE) { in drbd_start_resync()
A Ddrbd_proc.c305 if (state.conn == C_SYNC_SOURCE || in drbd_seq_show()
A Ddrbd_int.h2064 return connection_state == C_SYNC_SOURCE || in is_sync_source_state()
2160 case C_SYNC_SOURCE: in drbd_state_is_stable()
A Ddrbd_receiver.c2246 pcmd = (device->state.conn >= C_SYNC_SOURCE && in e_end_block()
3626 drbd_conn_str(hg > 0 ? C_SYNC_SOURCE : C_SYNC_TARGET), in drbd_sync_handshake()
4484 peer_state.conn < C_SYNC_SOURCE) in receive_state()
4490 else if (os.conn >= C_SYNC_SOURCE && in receive_state()
4512 os.conn == C_CONNECTED && peer_state.conn > C_SYNC_SOURCE) in receive_state()
4939 drbd_start_resync(device, C_SYNC_SOURCE); in receive_bitmap()
A Ddrbd_nl.c2260 if (device->state.conn == C_SYNC_SOURCE || in conn_resync_running()
2826 drbd_start_resync(device, C_SYNC_SOURCE); in resync_after_online_grow()
3849 if (C_SYNC_SOURCE <= device->state.conn && in nla_put_status_info()
A Ddrbd_main.c1684 if (device->state.conn >= C_SYNC_SOURCE && in drbd_send_dblock()
/linux/include/linux/
A Ddrbd.h218 C_SYNC_SOURCE, enumerator

Completed in 45 milliseconds