Home
last modified time | relevance | path

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

/openbmc/linux/drivers/block/drbd/
H A Ddrbd_strings.c34 [C_SYNC_SOURCE] = "SyncSource",
H 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()
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 …]
H A 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()
H A Ddrbd_proc.c305 if (state.conn == C_SYNC_SOURCE || in drbd_seq_show()
H A Ddrbd_int.h1997 return connection_state == C_SYNC_SOURCE || in is_sync_source_state()
2093 case C_SYNC_SOURCE: in drbd_state_is_stable()
H A 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()
H A 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()
H A Ddrbd_main.c1686 if (device->state.conn >= C_SYNC_SOURCE && in drbd_send_dblock()
/openbmc/linux/include/linux/
H A Ddrbd.h211 C_SYNC_SOURCE, enumerator