Lines Matching refs:drbd_device

113 static void __bm_print_lock_info(struct drbd_device *device, const char *func)  in __bm_print_lock_info()
124 void drbd_bm_lock(struct drbd_device *device, char *why, enum bm_flag flags) in drbd_bm_lock()
151 void drbd_bm_unlock(struct drbd_device *device) in drbd_bm_unlock()
211 static void bm_page_lock_io(struct drbd_device *device, int page_nr) in bm_page_lock_io()
218 static void bm_page_unlock_io(struct drbd_device *device, int page_nr) in bm_page_unlock_io()
240 void drbd_bm_reset_al_hints(struct drbd_device *device) in drbd_bm_reset_al_hints()
254 void drbd_bm_mark_for_writeout(struct drbd_device *device, int page_nr) in drbd_bm_mark_for_writeout()
435 int drbd_bm_init(struct drbd_device *device) in drbd_bm_init()
451 sector_t drbd_bm_capacity(struct drbd_device *device) in drbd_bm_capacity()
460 void drbd_bm_cleanup(struct drbd_device *device) in drbd_bm_cleanup()
632 int drbd_bm_resize(struct drbd_device *device, sector_t capacity, int set_new_bits) in drbd_bm_resize()
756 unsigned long _drbd_bm_total_weight(struct drbd_device *device) in _drbd_bm_total_weight()
774 unsigned long drbd_bm_total_weight(struct drbd_device *device) in drbd_bm_total_weight()
785 size_t drbd_bm_words(struct drbd_device *device) in drbd_bm_words()
796 unsigned long drbd_bm_bits(struct drbd_device *device) in drbd_bm_bits()
810 void drbd_bm_merge_lel(struct drbd_device *device, size_t offset, size_t number, in drbd_bm_merge_lel()
859 void drbd_bm_get_lel(struct drbd_device *device, size_t offset, size_t number, in drbd_bm_get_lel()
896 void drbd_bm_set_all(struct drbd_device *device) in drbd_bm_set_all()
912 void drbd_bm_clear_all(struct drbd_device *device) in drbd_bm_clear_all()
942 struct drbd_device *device = ctx->device; in drbd_bm_endio()
982 struct drbd_device *device = ctx->device; in bm_page_io_async()
1033 static int bm_rw(struct drbd_device *device, const unsigned int flags, unsigned lazy_writeout_upper… in bm_rw()
1187 int drbd_bm_read(struct drbd_device *device) __must_hold(local) in drbd_bm_read()
1198 int drbd_bm_write(struct drbd_device *device) __must_hold(local) in drbd_bm_write()
1209 int drbd_bm_write_all(struct drbd_device *device) __must_hold(local) in drbd_bm_write_all()
1219 int drbd_bm_write_lazy(struct drbd_device *device, unsigned upper_idx) __must_hold(local) in drbd_bm_write_lazy()
1235 int drbd_bm_write_copy_pages(struct drbd_device *device) __must_hold(local) in drbd_bm_write_copy_pages()
1244 int drbd_bm_write_hinted(struct drbd_device *device) __must_hold(local) in drbd_bm_write_hinted()
1257 static unsigned long __bm_find_next(struct drbd_device *device, unsigned long bm_fo, in __bm_find_next()
1297 static unsigned long bm_find_next(struct drbd_device *device, in bm_find_next()
1318 unsigned long drbd_bm_find_next(struct drbd_device *device, unsigned long bm_fo) in drbd_bm_find_next()
1325 unsigned long drbd_bm_find_next_zero(struct drbd_device *device, unsigned long bm_fo)
1333 unsigned long _drbd_bm_find_next(struct drbd_device *device, unsigned long bm_fo) in _drbd_bm_find_next()
1339 unsigned long _drbd_bm_find_next_zero(struct drbd_device *device, unsigned long bm_fo) in _drbd_bm_find_next_zero()
1351 static int __bm_change_bits_to(struct drbd_device *device, const unsigned long s, in __bm_change_bits_to()
1400 static int bm_change_bits_to(struct drbd_device *device, const unsigned long s, in bm_change_bits_to()
1423 int drbd_bm_set_bits(struct drbd_device *device, const unsigned long s, const unsigned long e) in drbd_bm_set_bits()
1429 int drbd_bm_clear_bits(struct drbd_device *device, const unsigned long s, const unsigned long e) in drbd_bm_clear_bits()
1466 void _drbd_bm_set_bits(struct drbd_device *device, const unsigned long s, const unsigned long e) in _drbd_bm_set_bits()
1546 int drbd_bm_test_bit(struct drbd_device *device, const unsigned long bitnr) in drbd_bm_test_bit()
1577 int drbd_bm_count_bits(struct drbd_device *device, const unsigned long s, const unsigned long e) in drbd_bm_count_bits()
1632 int drbd_bm_e_weight(struct drbd_device *device, unsigned long enr) in drbd_bm_e_weight()