Home
last modified time | relevance | path

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

/drivers/block/drbd/
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_int.h696 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
1017 return list_first_entry_or_null(&device->peer_devices, struct drbd_peer_device, peer_devices); in first_peer_device()
1023 return idr_find(&connection->peer_devices, volume_number); in conn_peer_device()
1045 list_for_each_entry(peer_device, &device->peer_devices, peer_devices)
1048 list_for_each_entry_rcu(peer_device, &device->peer_devices, peer_devices)
1051 list_for_each_entry_safe(peer_device, tmp, &device->peer_devices, peer_devices)
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()
2258 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_resync_running()
2280 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_ov_running()
2319 idr_for_each_entry(&connection->peer_devices, peer_device, i) { in _check_net_options()
2349 idr_for_each_entry(&connection->peer_devices, peer_device, i) { in check_net_options()
2521 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in drbd_adm_net_opts()
2565 unsigned int peer_devices = 0; in drbd_adm_connect() local
2666 idr_for_each_entry(&connection->peer_devices, peer_device, i) { in drbd_adm_connect()
2667 peer_devices++; in drbd_adm_connect()
2671 flags = (peer_devices--) ? NOTIFY_CONTINUES : 0; in drbd_adm_connect()
[all …]
Ddrbd_main.c489 peer_device = idr_get_next(&connection->peer_devices, &vnr); in conn_lowest_minor()
2650 idr_init(&connection->peer_devices); in conn_create()
2695 idr_destroy(&connection->peer_devices); in drbd_destroy_connection()
2798 INIT_LIST_HEAD(&device->peer_devices); in drbd_create_device()
2807 list_add(&peer_device->peer_devices, &device->peer_devices); in drbd_create_device()
2810 id = idr_alloc(&connection->peer_devices, peer_device, vnr, vnr + 1, GFP_KERNEL); in drbd_create_device()
2841 peer_device = idr_remove(&connection->peer_devices, vnr); in drbd_create_device()
2846 list_del(&peer_device->peer_devices); in drbd_create_device()
2878 idr_remove(&connection->peer_devices, device->vnr); in drbd_delete_device()
2996 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_md_sync()
Ddrbd_worker.c1004 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in drbd_resync_finished()
2055 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in do_unqueued_work()
2222 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in drbd_worker()
Ddrbd_receiver.c227 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_reclaim_net_peer_reqs()
1090 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in conn_connect()
1098 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()
1322 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in drbd_flush()
1758 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()