Lines Matching refs:drbd_device
144 int _get_ldev_if_state(struct drbd_device *device, enum drbd_disk_state mins) in _get_ldev_if_state()
293 void tl_abort_disk_io(struct drbd_device *device) in tl_abort_disk_io()
810 struct drbd_device *device = peer_device->device; in _drbd_send_uuids()
852 void drbd_print_uuids(struct drbd_device *device, const char *text) in drbd_print_uuids()
872 struct drbd_device *device = peer_device->device; in drbd_gen_and_send_sync_uuid()
898 struct drbd_device *device = peer_device->device; in drbd_send_sizes()
1087 static int fill_bitmap_rle_bits(struct drbd_device *device, in fill_bitmap_rle_bits()
1193 struct drbd_device *device = peer_device->device; in send_bitmap_rle_or_plain()
1249 static int _drbd_send_bitmap(struct drbd_device *device, in _drbd_send_bitmap()
1287 int drbd_send_bitmap(struct drbd_device *device, struct drbd_peer_device *peer_device) in drbd_send_bitmap()
1653 struct drbd_device *device = peer_device->device; in drbd_send_dblock()
1746 struct drbd_device *device = peer_device->device; in drbd_send_block()
1877 struct drbd_device *device = disk->private_data; in drbd_open()
1903 struct drbd_device *device = gd->private_data; in drbd_release()
1911 void drbd_queue_unplug(struct drbd_device *device) in drbd_queue_unplug()
1923 static void drbd_set_defaults(struct drbd_device *device) in drbd_set_defaults()
1936 void drbd_init_set_defaults(struct drbd_device *device) in drbd_init_set_defaults()
1995 void drbd_set_my_capacity(struct drbd_device *device, sector_t size) in drbd_set_my_capacity()
2005 void drbd_device_cleanup(struct drbd_device *device) in drbd_device_cleanup()
2153 static void drbd_release_all_peer_reqs(struct drbd_device *device) in drbd_release_all_peer_reqs()
2181 struct drbd_device *device = container_of(kref, struct drbd_device, kref); in drbd_destroy_device()
2246 struct drbd_device *device = req->device; in do_retry()
2330 struct drbd_device *device; in drbd_cleanup()
2655 static int init_submitter(struct drbd_device *device) in init_submitter()
2673 struct drbd_device *device; in drbd_create_device()
2696 device = kzalloc(sizeof(struct drbd_device), GFP_KERNEL); in drbd_create_device()
2823 void drbd_delete_device(struct drbd_device *device) in drbd_delete_device()
2953 struct drbd_device *device = peer_device->device; in conn_md_sync()
2989 void drbd_md_write(struct drbd_device *device, void *b) in drbd_md_write()
3029 void drbd_md_sync(struct drbd_device *device) in drbd_md_sync()
3062 static int check_activity_log_stripe_size(struct drbd_device *device, in check_activity_log_stripe_size()
3107 static int check_offsets_and_sizes(struct drbd_device *device, struct drbd_backing_dev *bdev) in check_offsets_and_sizes()
3198 int drbd_md_read(struct drbd_device *device, struct drbd_backing_dev *bdev) in drbd_md_read()
3307 void drbd_md_mark_dirty(struct drbd_device *device) in drbd_md_mark_dirty()
3313 void drbd_uuid_move_history(struct drbd_device *device) __must_hold(local) in drbd_uuid_move_history()
3321 void __drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local) in __drbd_uuid_set()
3336 void _drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local) in _drbd_uuid_set()
3344 void drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local) in drbd_uuid_set()
3363 void drbd_uuid_new_current(struct drbd_device *device) __must_hold(local) in drbd_uuid_new_current()
3385 void drbd_uuid_set_bm(struct drbd_device *device, u64 val) __must_hold(local) in drbd_uuid_set_bm()
3417 int drbd_bmio_set_n_write(struct drbd_device *device, in drbd_bmio_set_n_write()
3444 int drbd_bmio_clear_n_write(struct drbd_device *device, in drbd_bmio_clear_n_write()
3455 struct drbd_device *device = in w_bitmap_io()
3456 container_of(w, struct drbd_device, bm_io_work.w); in w_bitmap_io()
3504 void drbd_queue_bitmap_io(struct drbd_device *device, in drbd_queue_bitmap_io()
3505 int (*io_fn)(struct drbd_device *, struct drbd_peer_device *), in drbd_queue_bitmap_io() argument
3506 void (*done)(struct drbd_device *, int), in drbd_queue_bitmap_io() argument
3548 int drbd_bitmap_io(struct drbd_device *device, in drbd_bitmap_io()
3549 int (*io_fn)(struct drbd_device *, struct drbd_peer_device *), in drbd_bitmap_io() argument
3572 void drbd_md_set_flag(struct drbd_device *device, int flag) __must_hold(local) in drbd_md_set_flag()
3580 void drbd_md_clear_flag(struct drbd_device *device, int flag) __must_hold(local) in drbd_md_clear_flag()
3594 struct drbd_device *device = from_timer(device, t, md_sync_timer); in md_sync_timer_fn()
3678 int drbd_wait_misc(struct drbd_device *device, struct drbd_interval *i) in drbd_wait_misc()
3777 _drbd_insert_fault(struct drbd_device *device, unsigned int type) in _drbd_insert_fault()