Home
last modified time | relevance | path

Searched refs:peer_devices (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/Documentation/admin-guide/blockdev/drbd/
Ddata-structure-v9.rst31 volume number. Likewise, peer_devices can be accessed from connections by
33 linked lists. There are back pointers from peer_devices to their connections a
/linux-6.12.1/drivers/block/drbd/
Ddrbd_int.h624 struct idr peer_devices; /* volume number to peer device mapping */ member
734 struct list_head peer_devices; member
745 struct list_head peer_devices; member
944 return list_first_entry_or_null(&device->peer_devices, struct drbd_peer_device, peer_devices); in first_peer_device()
950 return idr_find(&connection->peer_devices, volume_number); in conn_peer_device()
972 list_for_each_entry(peer_device, &device->peer_devices, peer_devices)
975 list_for_each_entry_rcu(peer_device, &device->peer_devices, peer_devices)
978 list_for_each_entry_safe(peer_device, tmp, &device->peer_devices, peer_devices)
Ddrbd_state.c74 state_change->peer_devices = (void *)&state_change->connections[n_connections]; in alloc_state_change()
123 peer_device_state_change = state_change->peer_devices; in remember_old_state()
194 &state_change->peer_devices[n]; in remember_new_state()
242 &state_change->peer_devices[n_peer_device]; in copy_old_to_new_state_change()
301 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_all_vols_unconf()
342 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_highest_role()
358 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_highest_peer()
374 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_highest_disk()
390 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_lowest_disk()
406 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_highest_pdsk()
[all …]
Ddrbd_state_change.h40 struct drbd_peer_device_state_change *peer_devices; member
Ddrbd_nl.c450 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in highest_fencing_policy()
2193 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_resync_running()
2215 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_ov_running()
2254 idr_for_each_entry(&connection->peer_devices, peer_device, i) { in _check_net_options()
2284 idr_for_each_entry(&connection->peer_devices, peer_device, i) { in check_net_options()
2455 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in drbd_adm_net_opts()
2499 unsigned int peer_devices = 0; in drbd_adm_connect() local
2601 idr_for_each_entry(&connection->peer_devices, peer_device, i) { in drbd_adm_connect()
2602 peer_devices++; in drbd_adm_connect()
2606 flags = (peer_devices--) ? NOTIFY_CONTINUES : 0; in drbd_adm_connect()
[all …]
Ddrbd_main.c2600 idr_init(&connection->peer_devices); in conn_create()
2645 idr_destroy(&connection->peer_devices); in drbd_destroy_connection()
2752 INIT_LIST_HEAD(&device->peer_devices); in drbd_create_device()
2761 list_add(&peer_device->peer_devices, &device->peer_devices); in drbd_create_device()
2764 id = idr_alloc(&connection->peer_devices, peer_device, vnr, vnr + 1, GFP_KERNEL); in drbd_create_device()
2799 peer_device = idr_remove(&connection->peer_devices, vnr); in drbd_create_device()
2804 list_del(&peer_device->peer_devices); in drbd_create_device()
2834 idr_remove(&connection->peer_devices, device->vnr); in drbd_delete_device()
2952 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_md_sync()
Ddrbd_worker.c1003 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in drbd_resync_finished()
2062 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in do_unqueued_work()
2229 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in drbd_worker()
Ddrbd_receiver.c228 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_reclaim_net_peer_reqs()
1094 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in conn_connect()
1102 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in conn_connect()
1106 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_connect()
1324 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in drbd_flush()
1746 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_wait_active_ee_empty()
5130 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_disconnect()
5837 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in got_BarrierAck()