Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/block/drbd/
Ddrbd_strings.c34 [C_SYNC_SOURCE] = "SyncSource",
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()
1373 (ns.conn == C_SYNC_TARGET || ns.conn == C_SYNC_SOURCE)) { in _drbd_set_state()
1381 if ((os.conn == C_SYNC_TARGET || os.conn == C_SYNC_SOURCE) && in _drbd_set_state()
1517 drbd_start_resync(device, C_SYNC_SOURCE); in abw_start_sync()
1788 if ((os.conn != C_SYNC_SOURCE && os.conn != C_PAUSED_SYNC_S) && in after_state_ch()
1789 (ns.conn == C_SYNC_SOURCE || ns.conn == C_PAUSED_SYNC_S) && in after_state_ch()
[all …]
Ddrbd_worker.c993 if (os.conn == C_SYNC_SOURCE) { in drbd_resync_finished()
1552 if ((odev->state.conn >= C_SYNC_SOURCE && in _drbd_may_sync_now()
1714 drbd_start_resync(device, C_SYNC_SOURCE); in do_start_resync()
1745 if (device->state.conn >= C_SYNC_SOURCE && device->state.conn < C_AHEAD) { in drbd_start_resync()
1876 if (side == C_SYNC_SOURCE && connection->agreed_pro_version < 96) in drbd_start_resync()
1890 if (side == C_SYNC_SOURCE) { in drbd_start_resync()
Ddrbd_proc.c305 if (state.conn == C_SYNC_SOURCE || in drbd_seq_show()
Ddrbd_int.h1997 return connection_state == C_SYNC_SOURCE || in is_sync_source_state()
2093 case C_SYNC_SOURCE: in drbd_state_is_stable()
Ddrbd_receiver.c2216 pcmd = (device->state.conn >= C_SYNC_SOURCE && in e_end_block()
3588 drbd_conn_str(hg > 0 ? C_SYNC_SOURCE : C_SYNC_TARGET), in drbd_sync_handshake()
4444 peer_state.conn < C_SYNC_SOURCE) in receive_state()
4450 else if (os.conn >= C_SYNC_SOURCE && in receive_state()
4472 os.conn == C_CONNECTED && peer_state.conn > C_SYNC_SOURCE) in receive_state()
4899 drbd_start_resync(device, C_SYNC_SOURCE); in receive_bitmap()
Ddrbd_nl.c2204 if (device->state.conn == C_SYNC_SOURCE || in conn_resync_running()
2770 drbd_start_resync(device, C_SYNC_SOURCE); in resync_after_online_grow()
3793 if (C_SYNC_SOURCE <= device->state.conn && in nla_put_status_info()
Ddrbd_main.c1686 if (device->state.conn >= C_SYNC_SOURCE && in drbd_send_dblock()
/linux-6.6.21/include/linux/
Ddrbd.h211 C_SYNC_SOURCE, enumerator