Lines Matching defs:device

82 void *drbd_md_get_buffer(struct drbd_device *device, const char *intent)  in drbd_md_get_buffer()
99 void drbd_md_put_buffer(struct drbd_device *device) in drbd_md_put_buffer()
105 void wait_until_done_or_force_detached(struct drbd_device *device, struct drbd_backing_dev *bdev, in wait_until_done_or_force_detached()
125 static int _drbd_md_sync_page_io(struct drbd_device *device, in _drbd_md_sync_page_io()
177 int drbd_md_sync_page_io(struct drbd_device *device, struct drbd_backing_dev *bdev, in drbd_md_sync_page_io()
206 static struct bm_extent *find_active_resync_extent(struct drbd_device *device, unsigned int enr) in find_active_resync_extent()
218 static struct lc_element *_al_get(struct drbd_device *device, unsigned int enr, bool nonblock) in _al_get()
241 bool drbd_al_begin_io_fastpath(struct drbd_device *device, struct drbd_interval *i) in drbd_al_begin_io_fastpath()
258 bool drbd_al_begin_io_prepare(struct drbd_device *device, struct drbd_interval *i) in drbd_al_begin_io_prepare()
298 static sector_t al_tr_number_to_on_disk_sector(struct drbd_device *device) in al_tr_number_to_on_disk_sector()
316 static int __al_write_transaction(struct drbd_device *device, struct al_transaction_on_disk *buffer) in __al_write_transaction()
402 static int al_write_transaction(struct drbd_device *device) in al_write_transaction()
439 void drbd_al_begin_io_commit(struct drbd_device *device) in drbd_al_begin_io_commit()
478 void drbd_al_begin_io(struct drbd_device *device, struct drbd_interval *i) in drbd_al_begin_io()
484 int drbd_al_begin_io_nonblock(struct drbd_device *device, struct drbd_interval *i) in drbd_al_begin_io_nonblock()
544 void drbd_al_complete_io(struct drbd_device *device, struct drbd_interval *i) in drbd_al_complete_io()
569 static int _try_lc_del(struct drbd_device *device, struct lc_element *al_ext) in _try_lc_del()
591 void drbd_al_shrink(struct drbd_device *device) in drbd_al_shrink()
608 int drbd_al_initialize(struct drbd_device *device, void *buffer) in drbd_al_initialize()
651 static bool update_rs_extent(struct drbd_device *device, in update_rs_extent()
740 struct drbd_device *device = peer_device->device; in drbd_advance_rs_marks() local
756 static bool lazy_bitmap_update_due(struct drbd_device *device) in lazy_bitmap_update_due()
761 static void maybe_schedule_on_disk_bitmap_update(struct drbd_device *device, bool rs_done) in maybe_schedule_on_disk_bitmap_update()
780 static int update_sync_bits(struct drbd_device *device, in update_sync_bits()
851 struct drbd_device *device = peer_device->device; in __drbd_change_sync() local
904 struct bm_extent *_bme_get(struct drbd_device *device, unsigned int enr) in _bme_get()
944 static int _is_in_al(struct drbd_device *device, unsigned int enr) in _is_in_al()
964 int drbd_rs_begin_io(struct drbd_device *device, sector_t sector) in drbd_rs_begin_io()
1020 struct drbd_device *device = peer_device->device; in drbd_try_rs_begin_io() local
1141 void drbd_rs_complete_io(struct drbd_device *device, sector_t sector) in drbd_rs_complete_io()
1179 void drbd_rs_cancel_all(struct drbd_device *device) in drbd_rs_cancel_all()
1200 int drbd_rs_del_all(struct drbd_device *device) in drbd_rs_del_all()