Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_int.h626 struct idr peer_devices; /* volume number to peer device mapping */ member
736 struct list_head peer_devices; member
747 struct list_head peer_devices; member
947 return list_first_entry_or_null(&device->peer_devices, struct drbd_peer_device, peer_devices); in first_peer_device()
953 return idr_find(&connection->peer_devices, volume_number); in conn_peer_device()
975 list_for_each_entry(peer_device, &device->peer_devices, peer_devices)
978 list_for_each_entry_rcu(peer_device, &device->peer_devices, peer_devices)
981 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_nl.c450 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in highest_fencing_policy()
2202 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_resync_running()
2224 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_ov_running()
2263 idr_for_each_entry(&connection->peer_devices, peer_device, i) { in _check_net_options()
2293 idr_for_each_entry(&connection->peer_devices, peer_device, i) { in check_net_options()
2464 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in drbd_adm_net_opts()
2508 unsigned int peer_devices = 0; in drbd_adm_connect() local
2610 idr_for_each_entry(&connection->peer_devices, peer_device, i) { in drbd_adm_connect()
2611 peer_devices++; in drbd_adm_connect()
2615 flags = (peer_devices--) ? NOTIFY_CONTINUES : 0; in drbd_adm_connect()
[all …]
Ddrbd_state_change.h40 struct drbd_peer_device_state_change *peer_devices; member
Ddrbd_main.c480 peer_device = idr_get_next(&connection->peer_devices, &vnr); in conn_lowest_minor()
2614 idr_init(&connection->peer_devices); in conn_create()
2659 idr_destroy(&connection->peer_devices); in drbd_destroy_connection()
2759 INIT_LIST_HEAD(&device->peer_devices); in drbd_create_device()
2768 list_add(&peer_device->peer_devices, &device->peer_devices); in drbd_create_device()
2771 id = idr_alloc(&connection->peer_devices, peer_device, vnr, vnr + 1, GFP_KERNEL); in drbd_create_device()
2806 peer_device = idr_remove(&connection->peer_devices, vnr); in drbd_create_device()
2811 list_del(&peer_device->peer_devices); in drbd_create_device()
2841 idr_remove(&connection->peer_devices, device->vnr); in drbd_delete_device()
2959 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()