Home
last modified time | relevance | path

Searched refs:peer_role (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/block/drbd/ !
Ddrbd_state_change.h21 enum drbd_role peer_role[2]; member
Ddrbd_state.c117 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()
1567 .conn_role = connection_state_change->peer_role[NEW], in notify_connection_state_change()
1639 if (HAS_CHANGED(connection_state_change->peer_role) || in broadcast_state_change()
Ddrbd_receiver.c3231 enum drbd_role const peer_role, int *rule_nr) __must_hold(local) in drbd_uuid_compare() argument
3321 if (device->state.role == R_PRIMARY || peer_role == R_PRIMARY) { in drbd_uuid_compare()
3327 if (device->state.role == R_PRIMARY && peer_role == R_PRIMARY) { in drbd_uuid_compare()
3450 enum drbd_role peer_role, in drbd_sync_handshake() argument
3470 hg = drbd_uuid_compare(peer_device, peer_role, &rule_nr); in drbd_sync_handshake()
3515 + (peer_role == R_PRIMARY); in drbd_sync_handshake()