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()
1558 struct drbd_connection_state_change *connection_state_change, in notify_connection_state_change() argument
1561 struct drbd_connection *connection = connection_state_change->connection; in notify_connection_state_change()
1563 .conn_connection_state = connection_state_change->cstate[NEW], in notify_connection_state_change()
1564 .conn_role = connection_state_change->peer_role[NEW], in notify_connection_state_change()
1633 struct drbd_connection_state_change *connection_state_change = in broadcast_state_change() local
1636 if (HAS_CHANGED(connection_state_change->peer_role) || in broadcast_state_change()
1637 HAS_CHANGED(connection_state_change->cstate)) in broadcast_state_change()
1639 connection_state_change, NOTIFY_CHANGE); in broadcast_state_change()