Lines Matching defs:device
94 void *drbd_md_get_buffer(struct drbd_device *device, const char *intent) in drbd_md_get_buffer()
111 void drbd_md_put_buffer(struct drbd_device *device) in drbd_md_put_buffer()
117 void wait_until_done_or_force_detached(struct drbd_device *device, struct drbd_backing_dev *bdev, in wait_until_done_or_force_detached()
137 static int _drbd_md_sync_page_io(struct drbd_device *device, in _drbd_md_sync_page_io()
189 int drbd_md_sync_page_io(struct drbd_device *device, struct drbd_backing_dev *bdev, in drbd_md_sync_page_io()
218 static struct bm_extent *find_active_resync_extent(struct drbd_device *device, unsigned int enr) in find_active_resync_extent()
230 static struct lc_element *_al_get(struct drbd_device *device, unsigned int enr, bool nonblock) in _al_get()
253 bool drbd_al_begin_io_fastpath(struct drbd_device *device, struct drbd_interval *i) in drbd_al_begin_io_fastpath()
270 bool drbd_al_begin_io_prepare(struct drbd_device *device, struct drbd_interval *i) in drbd_al_begin_io_prepare()
310 static sector_t al_tr_number_to_on_disk_sector(struct drbd_device *device) in al_tr_number_to_on_disk_sector()
328 static int __al_write_transaction(struct drbd_device *device, struct al_transaction_on_disk *buffer) in __al_write_transaction()
414 static int al_write_transaction(struct drbd_device *device) in al_write_transaction()
451 void drbd_al_begin_io_commit(struct drbd_device *device) in drbd_al_begin_io_commit()
490 void drbd_al_begin_io(struct drbd_device *device, struct drbd_interval *i) in drbd_al_begin_io()
496 int drbd_al_begin_io_nonblock(struct drbd_device *device, struct drbd_interval *i) in drbd_al_begin_io_nonblock()
556 void drbd_al_complete_io(struct drbd_device *device, struct drbd_interval *i) in drbd_al_complete_io()
581 static int _try_lc_del(struct drbd_device *device, struct lc_element *al_ext) in _try_lc_del()
603 void drbd_al_shrink(struct drbd_device *device) in drbd_al_shrink()
620 int drbd_al_initialize(struct drbd_device *device, void *buffer) in drbd_al_initialize()
663 static bool update_rs_extent(struct drbd_device *device, in update_rs_extent()
750 void drbd_advance_rs_marks(struct drbd_device *device, unsigned long still_to_go) in drbd_advance_rs_marks()
767 static bool lazy_bitmap_update_due(struct drbd_device *device) in lazy_bitmap_update_due()
772 static void maybe_schedule_on_disk_bitmap_update(struct drbd_device *device, bool rs_done) in maybe_schedule_on_disk_bitmap_update()
791 static int update_sync_bits(struct drbd_device *device, in update_sync_bits()
858 int __drbd_change_sync(struct drbd_device *device, sector_t sector, int size, in __drbd_change_sync()
914 struct bm_extent *_bme_get(struct drbd_device *device, unsigned int enr) in _bme_get()
954 static int _is_in_al(struct drbd_device *device, unsigned int enr) in _is_in_al()
972 int drbd_rs_begin_io(struct drbd_device *device, sector_t sector) in drbd_rs_begin_io()
1024 int drbd_try_rs_begin_io(struct drbd_device *device, sector_t sector) in drbd_try_rs_begin_io()
1146 void drbd_rs_complete_io(struct drbd_device *device, sector_t sector) in drbd_rs_complete_io()
1184 void drbd_rs_cancel_all(struct drbd_device *device) in drbd_rs_cancel_all()
1205 int drbd_rs_del_all(struct drbd_device *device) in drbd_rs_del_all()