Searched refs:peer_devices (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/Documentation/admin-guide/blockdev/drbd/ |
D | data-structure-v9.rst | 31 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-v5.4/drivers/block/drbd/ |
D | drbd_state.c | 74 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 …]
|
D | drbd_int.h | 696 struct idr peer_devices; /* volume number to peer device mapping */ member 806 struct list_head peer_devices; member 817 struct list_head peer_devices; member 1018 return list_first_entry_or_null(&device->peer_devices, struct drbd_peer_device, peer_devices); in first_peer_device() 1024 return idr_find(&connection->peer_devices, volume_number); in conn_peer_device() 1046 list_for_each_entry(peer_device, &device->peer_devices, peer_devices) 1049 list_for_each_entry_rcu(peer_device, &device->peer_devices, peer_devices) 1052 list_for_each_entry_safe(peer_device, tmp, &device->peer_devices, peer_devices)
|
D | drbd_state_change.h | 40 struct drbd_peer_device_state_change *peer_devices; member
|
D | drbd_nl.c | 451 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in highest_fencing_policy() 2265 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_resync_running() 2287 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_ov_running() 2326 idr_for_each_entry(&connection->peer_devices, peer_device, i) { in _check_net_options() 2356 idr_for_each_entry(&connection->peer_devices, peer_device, i) { in check_net_options() 2528 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in drbd_adm_net_opts() 2572 unsigned int peer_devices = 0; in drbd_adm_connect() local 2673 idr_for_each_entry(&connection->peer_devices, peer_device, i) { in drbd_adm_connect() 2674 peer_devices++; in drbd_adm_connect() 2678 flags = (peer_devices--) ? NOTIFY_CONTINUES : 0; in drbd_adm_connect() [all …]
|
D | drbd_main.c | 485 peer_device = idr_get_next(&connection->peer_devices, &vnr); in conn_lowest_minor() 2705 idr_init(&connection->peer_devices); in conn_create() 2750 idr_destroy(&connection->peer_devices); in drbd_destroy_connection() 2862 INIT_LIST_HEAD(&device->peer_devices); in drbd_create_device() 2871 list_add(&peer_device->peer_devices, &device->peer_devices); in drbd_create_device() 2874 id = idr_alloc(&connection->peer_devices, peer_device, vnr, vnr + 1, GFP_KERNEL); in drbd_create_device() 2904 idr_remove(&connection->peer_devices, vnr); in drbd_create_device() 2907 peer_device = idr_remove(&connection->peer_devices, vnr); in drbd_create_device() 2912 list_del(&peer_device->peer_devices); in drbd_create_device() 2944 idr_remove(&connection->peer_devices, device->vnr); in drbd_delete_device() [all …]
|
D | drbd_worker.c | 1003 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()
|
D | drbd_receiver.c | 226 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_reclaim_net_peer_reqs() 1089 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in conn_connect() 1097 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in conn_connect() 1101 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_connect() 1321 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in drbd_flush() 1757 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_wait_active_ee_empty() 5178 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_disconnect() 5886 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in got_BarrierAck()
|