Lines Matching refs:C_CONNECTED
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()
3237 if (device->state.conn < C_CONNECTED) in drbd_adm_resume_io()
4215 if (device->state.conn == C_CONNECTED && in drbd_adm_new_c_uuid()