• Home
  • Raw
  • Download

Lines Matching refs:peer_device

132 			struct drbd_peer_device *peer_device;  in remember_old_state()  local
134 peer_device = conn_peer_device(connection, device->vnr); in remember_old_state()
135 peer_device_state_change->peer_device = peer_device; in remember_old_state()
196 peer_device_state_change->peer_device->device; in remember_new_state()
296 struct drbd_peer_device *peer_device; in conn_all_vols_unconf() local
301 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_all_vols_unconf()
302 struct drbd_device *device = peer_device->device; in conn_all_vols_unconf()
338 struct drbd_peer_device *peer_device; in conn_highest_role() local
342 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_highest_role()
343 struct drbd_device *device = peer_device->device; in conn_highest_role()
354 struct drbd_peer_device *peer_device; in conn_highest_peer() local
358 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_highest_peer()
359 struct drbd_device *device = peer_device->device; in conn_highest_peer()
370 struct drbd_peer_device *peer_device; in conn_highest_disk() local
374 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_highest_disk()
375 struct drbd_device *device = peer_device->device; in conn_highest_disk()
386 struct drbd_peer_device *peer_device; in conn_lowest_disk() local
390 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_lowest_disk()
391 struct drbd_device *device = peer_device->device; in conn_lowest_disk()
402 struct drbd_peer_device *peer_device; in conn_highest_pdsk() local
406 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_highest_pdsk()
407 struct drbd_device *device = peer_device->device; in conn_highest_pdsk()
418 struct drbd_peer_device *peer_device; in conn_lowest_conn() local
422 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_lowest_conn()
423 struct drbd_device *device = peer_device->device; in conn_lowest_conn()
433 struct drbd_peer_device *peer_device; in no_peer_wf_report_params() local
438 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in no_peer_wf_report_params()
439 if (peer_device->device->state.conn == C_WF_REPORT_PARAMS) { in no_peer_wf_report_params()
450 struct drbd_peer_device *peer_device; in wake_up_all_devices() local
454 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in wake_up_all_devices()
455 wake_up(&peer_device->device->state_wait); in wake_up_all_devices()
1264 struct drbd_peer_device *peer_device = first_peer_device(device); in _drbd_set_state() local
1265 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in _drbd_set_state()
1588 struct drbd_peer_device *peer_device = p->peer_device; in notify_peer_device_state_change() local
1597 return notify_peer_device_state(skb, seq, peer_device, &peer_device_info, type); in notify_peer_device_state_change()
1705 struct drbd_peer_device *peer_device = first_peer_device(device); in after_state_ch() local
1706 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in after_state_ch()
1757 struct drbd_peer_device *peer_device; in after_state_ch() local
1761 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in after_state_ch()
1762 clear_bit(NEW_CUR_UUID, &peer_device->device->flags); in after_state_ch()
1787 drbd_gen_and_send_sync_uuid(peer_device); in after_state_ch()
1801 drbd_send_uuids(peer_device); in after_state_ch()
1802 drbd_send_state(peer_device, ns); in after_state_ch()
1822 drbd_send_uuids(peer_device); in after_state_ch()
1833 drbd_send_uuids(peer_device); in after_state_ch()
1860 drbd_send_sizes(peer_device, 0, 0); /* to start sync... */ in after_state_ch()
1861 drbd_send_uuids(peer_device); in after_state_ch()
1862 drbd_send_state(peer_device, ns); in after_state_ch()
1869 drbd_send_state(peer_device, ns); in after_state_ch()
1879 drbd_send_state(peer_device, ns); in after_state_ch()
1882 drbd_send_state(peer_device, ns); in after_state_ch()
1940 drbd_send_state(peer_device, ns); in after_state_ch()
1964 drbd_send_state(peer_device, ns); in after_state_ch()
1972 drbd_send_state(peer_device, ns); in after_state_ch()
1990 drbd_send_state(peer_device, ns); in after_state_ch()
1997 drbd_send_state(peer_device, ns); in after_state_ch()
2044 struct drbd_peer_device *peer_device; in w_after_conn_state_ch() local
2059 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) in w_after_conn_state_ch()
2060 notify_peer_device_state(NULL, 0, peer_device, NULL, in w_after_conn_state_ch()
2081 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in w_after_conn_state_ch()
2082 struct drbd_device *device = peer_device->device; in w_after_conn_state_ch()
2107 struct drbd_peer_device *peer_device; in conn_old_common_state() local
2118 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_old_common_state()
2119 struct drbd_device *device = peer_device->device; in conn_old_common_state()
2156 struct drbd_peer_device *peer_device; in conn_is_valid_transition() local
2160 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_is_valid_transition()
2161 struct drbd_device *device = peer_device->device; in conn_is_valid_transition()
2205 struct drbd_peer_device *peer_device; in conn_set_state() local
2220 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_set_state()
2221 struct drbd_device *device = peer_device->device; in conn_set_state()