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",
3642 rv = C_CONNECTED; in drbd_sync_handshake()4150 (device->state.conn < C_CONNECTED || device->state.pdsk == D_DISKLESS)) { in receive_sizes()4261 (dd == DS_GREW && device->state.conn == C_CONNECTED)) { in receive_sizes()4301 if ((device->state.conn < C_CONNECTED || device->state.pdsk == D_DISKLESS) && in receive_uuids()4313 device->state.conn == C_CONNECTED && in receive_uuids()4343 if (device->state.conn >= C_CONNECTED && device->state.disk < D_INCONSISTENT) in receive_uuids()4362 [C_CONNECTED] = C_CONNECTED, in convert_state()4482 os.conn > C_CONNECTED && os.disk == D_UP_TO_DATE) { in receive_state()4489 if (peer_state.conn > C_CONNECTED && in receive_state()4497 peer_state.conn == C_CONNECTED) { in receive_state()[all …]
732 if (((device->state.conn < C_CONNECTED || in drbd_set_role()1102 if (device->state.conn < C_CONNECTED && assume_peer_has_space) { in drbd_new_dev_size()1217 if (can_do && connection->cstate >= C_CONNECTED && !(connection->agreed_features & DRBD_FF_TRIM)) { in decide_on_discard_support()1281 …if (can_do && connection->cstate >= C_CONNECTED && !(connection->agreed_features & DRBD_FF_WSAME))… in decide_on_write_same_support()1461 if (device->state.conn < C_CONNECTED) in drbd_suspend_al()1681 if (device->state.conn >= C_CONNECTED) { in drbd_adm_disk_opts()2156 if (device->state.conn == C_CONNECTED) { in drbd_adm_attach()2875 if (device->state.conn > C_CONNECTED) { in drbd_adm_resize()2916 if (device->state.conn != C_CONNECTED && !rs.resize_force) { in drbd_adm_resize()2954 if (device->state.conn == C_CONNECTED) { in drbd_adm_resize()[all …]
850 test_bit(GOT_PING_ACK, &connection->flags) || device->state.conn < C_CONNECTED); in ping_peer()907 if (os.conn <= C_CONNECTED) in drbd_resync_finished()911 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()
1348 if (peer_device->device->state.conn < C_CONNECTED) in _drbd_send_ack()1949 if (device->state.pdsk >= D_INCONSISTENT && device->state.conn >= C_CONNECTED) { in drbd_queue_unplug()3395 if (device->state.conn < C_CONNECTED) { in drbd_md_read()3805 if (!timeout || device->state.conn < C_CONNECTED) in drbd_wait_misc()
2191 case C_CONNECTED: in drbd_state_is_stable()
209 C_CONNECTED, /* we have introduced each other */ enumerator