Lines Matching refs:peer_devices
450 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()
2618 idr_for_each_entry(&connection->peer_devices, peer_device, i) { in drbd_adm_connect()
2622 flags = (peer_devices--) ? NOTIFY_CONTINUES : 0; in drbd_adm_connect()
2629 idr_for_each_entry(&connection->peer_devices, peer_device, i) { in drbd_adm_connect()
3649 peer_device = list_entry(&device->peer_devices, struct drbd_peer_device, peer_devices); in drbd_adm_dump_peer_devices()
3652 list_for_each_entry_continue_rcu(peer_device, &device->peer_devices, peer_devices) { in drbd_adm_dump_peer_devices()
4315 unsigned int peer_devices = 0; in drbd_adm_new_minor() local
4322 peer_devices++; in drbd_adm_new_minor()
4327 flags = (peer_devices--) ? NOTIFY_CONTINUES : 0; in drbd_adm_new_minor()
4335 flags = (peer_devices--) ? NOTIFY_CONTINUES : 0; in drbd_adm_new_minor()
4454 idr_for_each_entry(&connection->peer_devices, peer_device, i) { in drbd_adm_down()
4895 err = notify_peer_device_state_change(skb, seq, &state_change->peer_devices[n], in get_initial_state()