Searched refs:C_CONNECTED (Results 1 – 8 of 8) sorted by relevance
470 return (os.conn >= C_CONNECTED && ns.conn >= C_CONNECTED && in cl_wide_st_chg()475 (os.conn >= C_CONNECTED && ns.conn == C_DISCONNECTING) || in cl_wide_st_chg()476 (os.conn == C_CONNECTED && ns.conn == C_VERIFY_S) || in cl_wide_st_chg()477 (os.conn == C_CONNECTED && ns.conn == C_WF_REPORT_PARAMS); in cl_wide_st_chg()853 else if (ns.role == R_PRIMARY && ns.conn < C_CONNECTED && ns.disk < D_UP_TO_DATE) in is_valid_state()857 ns.role == R_PRIMARY && ns.conn < C_CONNECTED && ns.pdsk >= D_UNKNOWN) in is_valid_state()863 else if (ns.conn > C_CONNECTED && ns.disk < D_INCONSISTENT) in is_valid_state()866 else if (ns.conn > C_CONNECTED && ns.pdsk < D_INCONSISTENT) in is_valid_state()869 else if (ns.conn > C_CONNECTED && ns.disk < D_UP_TO_DATE && ns.pdsk < D_UP_TO_DATE) in is_valid_state()872 else if ((ns.conn == C_CONNECTED || in is_valid_state()[all …]
28 [C_CONNECTED] = "Connected",
3590 rv = C_CONNECTED; in drbd_sync_handshake()4093 (device->state.conn < C_CONNECTED || device->state.pdsk == D_DISKLESS)) { in receive_sizes()4202 (dd == DS_GREW && device->state.conn == C_CONNECTED)) { in receive_sizes()4240 if ((device->state.conn < C_CONNECTED || device->state.pdsk == D_DISKLESS) && in receive_uuids()4252 device->state.conn == C_CONNECTED && in receive_uuids()4282 if (device->state.conn >= C_CONNECTED && device->state.disk < D_INCONSISTENT) in receive_uuids()4301 [C_CONNECTED] = C_CONNECTED, in convert_state()4421 os.conn > C_CONNECTED && os.disk == D_UP_TO_DATE) { in receive_state()4428 if (peer_state.conn > C_CONNECTED && in receive_state()4436 peer_state.conn == C_CONNECTED) { in receive_state()[all …]
846 test_bit(GOT_PING_ACK, &connection->flags) || device->state.conn < C_CONNECTED); in ping_peer()903 if (os.conn <= C_CONNECTED) in drbd_resync_finished()907 ns.conn = C_CONNECTED; in drbd_resync_finished()1796 if (device->state.conn < C_CONNECTED in drbd_start_resync()1816 if (ns.conn < C_CONNECTED) in drbd_start_resync()
731 if (((device->state.conn < C_CONNECTED || in drbd_set_role()1104 if (device->state.conn < C_CONNECTED && assume_peer_has_space) { in drbd_new_dev_size()1218 if (connection->cstate >= C_CONNECTED && in decide_on_discard_support()1374 if (device->state.conn < C_CONNECTED) in drbd_suspend_al()1598 if (device->state.conn >= C_CONNECTED) { in drbd_adm_disk_opts()2071 if (device->state.conn == C_CONNECTED) { in drbd_adm_attach()2791 if (device->state.conn > C_CONNECTED) { in drbd_adm_resize()2832 if (device->state.conn != C_CONNECTED && !rs.resize_force) { in drbd_adm_resize()2869 if (device->state.conn == C_CONNECTED) { in drbd_adm_resize()3152 if (device->state.conn < C_CONNECTED) in drbd_adm_resume_io()[all …]
1337 if (peer_device->device->state.conn < C_CONNECTED) in _drbd_send_ack()1915 if (device->state.pdsk >= D_INCONSISTENT && device->state.conn >= C_CONNECTED) { in drbd_queue_unplug()3280 if (device->state.conn < C_CONNECTED) { in drbd_md_read()3681 if (!timeout || device->state.conn < C_CONNECTED) in drbd_wait_misc()
2153 case C_CONNECTED: in drbd_state_is_stable()
209 C_CONNECTED, /* we have introduced each other */ enumerator