Searched refs:peer_role (Results 1 – 3 of 3) sorted by relevance
21 enum drbd_role peer_role[2]; member
117 connection_state_change->peer_role[OLD] = in remember_old_state()188 connection_state_change->peer_role[NEW] = in remember_new_state()228 OLD_TO_NEW(connection_state_change->peer_role); in copy_old_to_new_state_change()1564 .conn_role = connection_state_change->peer_role[NEW], in notify_connection_state_change()1636 if (HAS_CHANGED(connection_state_change->peer_role) || in broadcast_state_change()
3269 static int drbd_uuid_compare(struct drbd_device *const device, enum drbd_role const peer_role, int … in drbd_uuid_compare() argument3359 if (device->state.role == R_PRIMARY || peer_role == R_PRIMARY) { in drbd_uuid_compare()3365 if (device->state.role == R_PRIMARY && peer_role == R_PRIMARY) { in drbd_uuid_compare()3488 enum drbd_role peer_role, in drbd_sync_handshake() argument3508 hg = drbd_uuid_compare(device, peer_role, &rule_nr); in drbd_sync_handshake()3553 + (peer_role == R_PRIMARY); in drbd_sync_handshake()