Lines Matching refs:connection_state_change
94 struct drbd_connection_state_change *connection_state_change; in remember_old_state() local
111 connection_state_change = state_change->connections; in remember_old_state()
114 connection_state_change->connection = connection; in remember_old_state()
115 connection_state_change->cstate[OLD] = in remember_old_state()
117 connection_state_change->peer_role[OLD] = in remember_old_state()
119 connection_state_change++; in remember_old_state()
182 struct drbd_connection_state_change *connection_state_change = in remember_new_state() local
185 connection_state_change->connection; in remember_new_state()
187 connection_state_change->cstate[NEW] = connection->cstate; in remember_new_state()
188 connection_state_change->peer_role[NEW] = in remember_new_state()
225 struct drbd_connection_state_change *connection_state_change = in copy_old_to_new_state_change() local
228 OLD_TO_NEW(connection_state_change->peer_role); in copy_old_to_new_state_change()
229 OLD_TO_NEW(connection_state_change->cstate); in copy_old_to_new_state_change()
1640 struct drbd_connection_state_change *connection_state_change = in broadcast_state_change() local
1643 if (HAS_CHANGED(connection_state_change->peer_role) || in broadcast_state_change()
1644 HAS_CHANGED(connection_state_change->cstate)) in broadcast_state_change()
1646 connection_state_change, NOTIFY_CHANGE); in broadcast_state_change()