Lines Matching refs:peer_devices
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()
2681 idr_for_each_entry(&connection->peer_devices, peer_device, i) { in drbd_adm_connect()
2685 flags = (peer_devices--) ? NOTIFY_CONTINUES : 0; in drbd_adm_connect()
2692 idr_for_each_entry(&connection->peer_devices, peer_device, i) { in drbd_adm_connect()
3717 peer_device = list_entry(&device->peer_devices, struct drbd_peer_device, peer_devices); in drbd_adm_dump_peer_devices()
3720 list_for_each_entry_continue_rcu(peer_device, &device->peer_devices, peer_devices) { in drbd_adm_dump_peer_devices()
4384 unsigned int peer_devices = 0; in drbd_adm_new_minor() local
4391 peer_devices++; in drbd_adm_new_minor()
4396 flags = (peer_devices--) ? NOTIFY_CONTINUES : 0; in drbd_adm_new_minor()
4404 flags = (peer_devices--) ? NOTIFY_CONTINUES : 0; in drbd_adm_new_minor()
4523 idr_for_each_entry(&connection->peer_devices, peer_device, i) { in drbd_adm_down()
4958 notify_peer_device_state_change(skb, seq, &state_change->peer_devices[n], in get_initial_state()