Home
last modified time | relevance | path

Searched refs:C_SYNC_SOURCE (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/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()
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()
1784 if ((os.conn != C_SYNC_SOURCE && os.conn != C_PAUSED_SYNC_S) && in after_state_ch()
1785 (ns.conn == C_SYNC_SOURCE || n in after_state_ch()
[all...]
H A Ddrbd_worker.c994 if (os.conn == C_SYNC_SOURCE) { in drbd_resync_finished()
1549 if ((odev->state.conn >= C_SYNC_SOURCE && in _drbd_may_sync_now()
1709 drbd_start_resync(device, C_SYNC_SOURCE); in do_start_resync()
1728 * @side: Either C_SYNC_SOURCE or C_SYNC_TARGET
1740 if (device->state.conn >= C_SYNC_SOURCE && device->state.conn < C_AHEAD) { in drbd_start_resync()
1763 } else /* C_SYNC_SOURCE */ { in drbd_start_resync()
1811 else /* side == C_SYNC_SOURCE */ in drbd_start_resync()
1871 if (side == C_SYNC_SOURCE && connection->agreed_pro_version < 96) in drbd_start_resync()
1885 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_receiver.c2246 pcmd = (device->state.conn >= C_SYNC_SOURCE && in e_end_block()
3258 2 C_SYNC_SOURCE set BitMap
3259 1 C_SYNC_SOURCE use BitMap
3626 drbd_conn_str(hg > 0 ? C_SYNC_SOURCE : C_SYNC_TARGET), in __must_hold()
4491 peer_state.conn < C_SYNC_SOURCE) in receive_state()
4497 else if (os.conn >= C_SYNC_SOURCE && in receive_state()
4519 os.conn == C_CONNECTED && peer_state.conn > C_SYNC_SOURCE) in receive_state()
4946 drbd_start_resync(device, C_SYNC_SOURCE); in receive_bitmap()
5226 * * On C_SYNC_SOURCE there is no data structure that tracks in drbd_disconnected()
H A Ddrbd_int.h2016 * C_SYNC_SOURCE sends P_RS_DATA_REPLY (and expects P_WRITE_ACK with ID_SYNCER)
2067 return connection_state == C_SYNC_SOURCE || in is_sync_source_state()
2163 case C_SYNC_SOURCE: in drbd_state_is_stable()
H 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()
H A Ddrbd_main.c1701 if (device->state.conn >= C_SYNC_SOURCE && in drbd_send_dblock()
1785 * C_SYNC_SOURCE -> C_SYNC_TARGET (P_RS_DATA_REPLY)
/kernel/linux/linux-6.6/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 || n 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()
1733 * @side: Either C_SYNC_SOURCE or C_SYNC_TARGET
1745 if (device->state.conn >= C_SYNC_SOURCE && device->state.conn < C_AHEAD) { in drbd_start_resync()
1768 } else /* C_SYNC_SOURCE */ { in drbd_start_resync()
1816 else /* side == C_SYNC_SOURCE */ 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_receiver.c2216 pcmd = (device->state.conn >= C_SYNC_SOURCE && in e_end_block()
3219 2 C_SYNC_SOURCE set BitMap
3220 1 C_SYNC_SOURCE use BitMap
3588 drbd_conn_str(hg > 0 ? C_SYNC_SOURCE : C_SYNC_TARGET), in __must_hold()
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()
5178 * * On C_SYNC_SOURCE there is no data structure that tracks in drbd_disconnected()
H A Ddrbd_int.h1948 * C_SYNC_SOURCE sends P_RS_DATA_REPLY (and expects P_WRITE_ACK with ID_SYNCER)
1997 return connection_state == C_SYNC_SOURCE || in is_sync_source_state()
2093 case C_SYNC_SOURCE: in drbd_state_is_stable()
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()
1755 * C_SYNC_SOURCE -> C_SYNC_TARGET (P_RS_DATA_REPLY)
/kernel/linux/linux-5.10/include/linux/
H A Ddrbd.h217 * xx >= C_SYNC_SOURCE && xx <= C_PAUSED_SYNC_T */
218 C_SYNC_SOURCE, enumerator
/kernel/linux/linux-6.6/include/linux/
H A Ddrbd.h210 * xx >= C_SYNC_SOURCE && xx <= C_PAUSED_SYNC_T */
211 C_SYNC_SOURCE, enumerator

Completed in 61 milliseconds