Searched refs:C_SYNC_SOURCE (Results 1 - 18 of 18) sorted by relevance
/kernel/linux/linux-5.10/drivers/block/drbd/ |
H A D | drbd_strings.c | 34 [C_SYNC_SOURCE] = "SyncSource",
|
H A D | drbd_state.c | 874 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 D | drbd_worker.c | 994 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 D | drbd_proc.c | 305 if (state.conn == C_SYNC_SOURCE || in drbd_seq_show()
|
H A D | drbd_receiver.c | 2246 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 D | drbd_int.h | 2016 * 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 D | drbd_nl.c | 2260 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 D | drbd_main.c | 1701 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 D | drbd_strings.c | 34 [C_SYNC_SOURCE] = "SyncSource",
|
H A D | drbd_state.c | 874 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 D | drbd_worker.c | 993 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 D | drbd_proc.c | 305 if (state.conn == C_SYNC_SOURCE || in drbd_seq_show()
|
H A D | drbd_receiver.c | 2216 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 D | drbd_int.h | 1948 * 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 D | drbd_nl.c | 2204 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 D | drbd_main.c | 1686 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 D | drbd.h | 217 * xx >= C_SYNC_SOURCE && xx <= C_PAUSED_SYNC_T */ 218 C_SYNC_SOURCE, enumerator
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | drbd.h | 210 * xx >= C_SYNC_SOURCE && xx <= C_PAUSED_SYNC_T */ 211 C_SYNC_SOURCE, enumerator
|
Completed in 61 milliseconds