Home
last modified time | relevance | path

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

/linux-6.3-rc2/Documentation/admin-guide/blockdev/drbd/
A 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.3-rc2/drivers/block/drbd/
A 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
945 return list_first_entry_or_null(&device->peer_devices, struct drbd_peer_device, peer_devices); in first_peer_device()
951 return idr_find(&connection->peer_devices, volume_number); in conn_peer_device()
973 list_for_each_entry(peer_device, &device->peer_devices, peer_devices)
976 list_for_each_entry_rcu(peer_device, &device->peer_devices, peer_devices)
979 list_for_each_entry_safe(peer_device, tmp, &device->peer_devices, peer_devices)
A Ddrbd_state.c123 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()
438 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in no_peer_wf_report_params()
454 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in wake_up_all_devices()
[all …]
A Ddrbd_state_change.h40 struct drbd_peer_device_state_change *peer_devices; member
A Ddrbd_nl.c450 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in highest_fencing_policy()
2499 unsigned int peer_devices = 0; in drbd_adm_connect() local
2602 peer_devices++; in drbd_adm_connect()
2606 flags = (peer_devices--) ? NOTIFY_CONTINUES : 0; in drbd_adm_connect()
2613 flags = (peer_devices--) ? NOTIFY_CONTINUES : 0; in drbd_adm_connect()
3639 peer_device = list_entry(&device->peer_devices, struct drbd_peer_device, peer_devices); in drbd_adm_dump_peer_devices()
3642 list_for_each_entry_continue_rcu(peer_device, &device->peer_devices, peer_devices) { in drbd_adm_dump_peer_devices()
4305 unsigned int peer_devices = 0; in drbd_adm_new_minor() local
4312 peer_devices++; in drbd_adm_new_minor()
4317 flags = (peer_devices--) ? NOTIFY_CONTINUES : 0; in drbd_adm_new_minor()
[all …]
A Ddrbd_main.c476 peer_device = idr_get_next(&connection->peer_devices, &vnr); in conn_lowest_minor()
2602 idr_init(&connection->peer_devices); in conn_create()
2647 idr_destroy(&connection->peer_devices); in drbd_destroy_connection()
2747 INIT_LIST_HEAD(&device->peer_devices); in drbd_create_device()
2756 list_add(&peer_device->peer_devices, &device->peer_devices); in drbd_create_device()
2759 id = idr_alloc(&connection->peer_devices, peer_device, vnr, vnr + 1, GFP_KERNEL); in drbd_create_device()
2794 peer_device = idr_remove(&connection->peer_devices, vnr); in drbd_create_device()
2799 list_del(&peer_device->peer_devices); in drbd_create_device()
2829 idr_remove(&connection->peer_devices, device->vnr); in drbd_delete_device()
2947 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_md_sync()
A Ddrbd_receiver.c229 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_reclaim_net_peer_reqs()
1095 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in conn_connect()
1103 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in conn_connect()
1107 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_connect()
1325 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in drbd_flush()
1747 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_wait_active_ee_empty()
5128 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_disconnect()
5834 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in got_BarrierAck()
A Ddrbd_worker.c999 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in drbd_resync_finished()
2054 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in do_unqueued_work()
2221 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in drbd_worker()

Completed in 52 milliseconds