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",
3605 rv = C_CONNECTED; in drbd_sync_handshake()4108 (device->state.conn < C_CONNECTED || device->state.pdsk == D_DISKLESS)) { in receive_sizes()4217 (dd == DS_GREW && device->state.conn == C_CONNECTED)) { in receive_sizes()4255 if ((device->state.conn < C_CONNECTED || device->state.pdsk == D_DISKLESS) && in receive_uuids()4267 device->state.conn == C_CONNECTED && in receive_uuids()4297 if (device->state.conn >= C_CONNECTED && device->state.disk < D_INCONSISTENT) in receive_uuids()4316 [C_CONNECTED] = C_CONNECTED, in convert_state()4436 os.conn > C_CONNECTED && os.disk == D_UP_TO_DATE) { in receive_state()4443 if (peer_state.conn > C_CONNECTED && in receive_state()4451 peer_state.conn == C_CONNECTED) { in receive_state()[all …]
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()1235 if (connection->cstate >= C_CONNECTED && in drbd_discard_supported()1379 if (device->state.conn < C_CONNECTED) in drbd_suspend_al()1604 if (device->state.conn >= C_CONNECTED) { in drbd_adm_disk_opts()2083 if (device->state.conn == C_CONNECTED) { in drbd_adm_attach()2804 if (device->state.conn > C_CONNECTED) { in drbd_adm_resize()2845 if (device->state.conn != C_CONNECTED && !rs.resize_force) { in drbd_adm_resize()2882 if (device->state.conn == C_CONNECTED) { in drbd_adm_resize()3166 if (device->state.conn < C_CONNECTED) in drbd_adm_resume_io()[all …]
849 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()1802 if (device->state.conn < C_CONNECTED in drbd_start_resync()1822 if (ns.conn < C_CONNECTED) in drbd_start_resync()
1330 if (peer_device->device->state.conn < C_CONNECTED) in _drbd_send_ack()1913 if (device->state.pdsk >= D_INCONSISTENT && device->state.conn >= C_CONNECTED) { in drbd_queue_unplug()3285 if (device->state.conn < C_CONNECTED) { in drbd_md_read()3700 if (!timeout || device->state.conn < C_CONNECTED) in drbd_wait_misc()
2082 case C_CONNECTED: in drbd_state_is_stable()
202 C_CONNECTED, /* we have introduced each other */ enumerator