Lines Matching refs:peer_devices
450 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()
2674 idr_for_each_entry(&connection->peer_devices, peer_device, i) { in drbd_adm_connect()
2678 flags = (peer_devices--) ? NOTIFY_CONTINUES : 0; in drbd_adm_connect()
2685 idr_for_each_entry(&connection->peer_devices, peer_device, i) { in drbd_adm_connect()
3705 peer_device = list_entry(&device->peer_devices, struct drbd_peer_device, peer_devices); in drbd_adm_dump_peer_devices()
3708 list_for_each_entry_continue_rcu(peer_device, &device->peer_devices, peer_devices) { in drbd_adm_dump_peer_devices()
4371 unsigned int peer_devices = 0; in drbd_adm_new_minor() local
4378 peer_devices++; in drbd_adm_new_minor()
4383 flags = (peer_devices--) ? NOTIFY_CONTINUES : 0; in drbd_adm_new_minor()
4391 flags = (peer_devices--) ? NOTIFY_CONTINUES : 0; in drbd_adm_new_minor()
4510 idr_for_each_entry(&connection->peer_devices, peer_device, i) { in drbd_adm_down()
4951 err = notify_peer_device_state_change(skb, seq, &state_change->peer_devices[n], in get_initial_state()