Lines Matching refs:drbd_device
31 static int make_ov_request(struct drbd_device *, int);
32 static int make_resync_request(struct drbd_device *, int);
52 struct drbd_device *device; in drbd_md_endio()
85 struct drbd_device *device = peer_device->device; in drbd_endio_read_sec_final()
106 struct drbd_device *device = peer_device->device; in drbd_endio_write_sec_final()
174 struct drbd_device *device = peer_req->peer_device->device; in drbd_peer_request_endio()
198 drbd_panic_after_delayed_completion_of_aborted_request(struct drbd_device *device) in drbd_panic_after_delayed_completion_of_aborted_request()
210 struct drbd_device *device = req->device; in drbd_request_endio()
342 struct drbd_device *device = peer_device->device; in w_e_send_csum()
389 struct drbd_device *device = peer_device->device; in read_for_csum()
428 struct drbd_device *device = in w_resync_timer()
429 container_of(w, struct drbd_device, resync_work); in w_resync_timer()
445 struct drbd_device *device = from_timer(device, t, resync_timer); in resync_timer_fn()
496 static int drbd_rs_controller(struct drbd_device *device, unsigned int sect_in) in drbd_rs_controller()
548 static int drbd_rs_number_requests(struct drbd_device *device) in drbd_rs_number_requests()
583 static int make_resync_request(struct drbd_device *const device, int cancel) in make_resync_request()
763 static int make_ov_request(struct drbd_device *device, int cancel) in make_ov_request()
819 struct drbd_device *device = dw->device; in w_ov_finished()
831 struct drbd_device *device = dw->device; in w_resync_finished()
839 static void ping_peer(struct drbd_device *device) in ping_peer()
849 int drbd_resync_finished(struct drbd_device *device) in drbd_resync_finished()
1000 struct drbd_device *device = peer_device->device; in drbd_resync_finished()
1029 static void move_to_net_ee_or_free(struct drbd_device *device, struct drbd_peer_request *peer_req) in move_to_net_ee_or_free()
1053 struct drbd_device *device = peer_device->device; in w_e_end_data_req()
1114 struct drbd_device *device = peer_device->device; in w_e_end_rsdata_req()
1167 struct drbd_device *device = peer_device->device; in w_e_end_csum_rs_req()
1231 struct drbd_device *device = peer_device->device; in w_e_end_ov_req()
1273 void drbd_ov_out_of_sync_found(struct drbd_device *device, sector_t sector, int size) in drbd_ov_out_of_sync_found()
1288 struct drbd_device *device = peer_device->device; in w_e_end_ov_reply()
1389 struct drbd_device *device = in w_send_write_hint()
1390 container_of(w, struct drbd_device, unplug_work); in w_send_write_hint()
1422 struct drbd_device *device = req->device; in w_send_out_of_sync()
1453 struct drbd_device *device = req->device; in w_send_dblock()
1486 struct drbd_device *device = req->device; in w_send_read_req()
1516 struct drbd_device *device = req->device; in w_restart_disk_io()
1531 static int _drbd_may_sync_now(struct drbd_device *device) in _drbd_may_sync_now()
1533 struct drbd_device *odev = device; in _drbd_may_sync_now()
1561 static bool drbd_pause_after(struct drbd_device *device) in drbd_pause_after()
1564 struct drbd_device *odev; in drbd_pause_after()
1587 static bool drbd_resume_next(struct drbd_device *device) in drbd_resume_next()
1590 struct drbd_device *odev; in drbd_resume_next()
1608 void resume_next_sg(struct drbd_device *device) in resume_next_sg()
1615 void suspend_other_sg(struct drbd_device *device) in suspend_other_sg()
1623 enum drbd_ret_code drbd_resync_after_valid(struct drbd_device *device, int o_minor) in drbd_resync_after_valid()
1625 struct drbd_device *odev; in drbd_resync_after_valid()
1661 void drbd_resync_after_changed(struct drbd_device *device) in drbd_resync_after_changed()
1671 void drbd_rs_controller_reset(struct drbd_device *device) in drbd_rs_controller_reset()
1695 struct drbd_device *device = from_timer(device, t, start_resync_timer); in start_resync_timer_fn()
1699 static void do_start_resync(struct drbd_device *device) in do_start_resync()
1712 static bool use_checksum_based_resync(struct drbd_connection *connection, struct drbd_device *devic… in use_checksum_based_resync()
1732 void drbd_start_resync(struct drbd_device *device, enum drbd_conns side) in drbd_start_resync()
1912 static void update_on_disk_bitmap(struct drbd_device *device, bool resync_done) in update_on_disk_bitmap()
1930 static void drbd_ldev_destroy(struct drbd_device *device) in drbd_ldev_destroy()
1946 static void go_diskless(struct drbd_device *device) in go_diskless()
1984 static int do_md_sync(struct drbd_device *device) in do_md_sync()
2014 static void do_device_work(struct drbd_device *device, const unsigned long todo) in do_device_work()
2055 struct drbd_device *device = peer_device->device; in do_unqueued_work()
2222 struct drbd_device *device = peer_device->device; in drbd_worker()