Lines Matching refs:device_state_change
92 struct drbd_device_state_change *device_state_change; in remember_old_state() local
122 device_state_change = state_change->devices; in remember_old_state()
126 device_state_change->device = device; in remember_old_state()
127 device_state_change->disk_state[OLD] = device->state.disk; in remember_old_state()
149 device_state_change++; in remember_old_state()
174 struct drbd_device_state_change *device_state_change = in remember_new_state() local
176 struct drbd_device *device = device_state_change->device; in remember_new_state()
178 device_state_change->disk_state[NEW] = device->state.disk; in remember_new_state()
233 struct drbd_device_state_change *device_state_change = in copy_old_to_new_state_change() local
236 OLD_TO_NEW(device_state_change->disk_state); in copy_old_to_new_state_change()
1580 struct drbd_device_state_change *device_state_change = state_change; in notify_device_state_change() local
1581 struct drbd_device *device = device_state_change->device; in notify_device_state_change()
1583 .dev_disk_state = device_state_change->disk_state[NEW], in notify_device_state_change()
1650 struct drbd_device_state_change *device_state_change = in broadcast_state_change() local
1653 if (HAS_CHANGED(device_state_change->disk_state)) in broadcast_state_change()
1655 device_state_change, NOTIFY_CHANGE); in broadcast_state_change()