Lines Matching defs: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()
433 int drbd_bm_init(struct drbd_device *device) in drbd_bm_init()
449 sector_t drbd_bm_capacity(struct drbd_device *device) in drbd_bm_capacity()
458 void drbd_bm_cleanup(struct drbd_device *device) in drbd_bm_cleanup()
630 int drbd_bm_resize(struct drbd_device *device, sector_t capacity, int set_new_bits) in drbd_bm_resize()
754 unsigned long _drbd_bm_total_weight(struct drbd_device *device) in _drbd_bm_total_weight()
772 unsigned long drbd_bm_total_weight(struct drbd_device *device) in drbd_bm_total_weight()
783 size_t drbd_bm_words(struct drbd_device *device) in drbd_bm_words()
794 unsigned long drbd_bm_bits(struct drbd_device *device) in drbd_bm_bits()
808 void drbd_bm_merge_lel(struct drbd_device *device, size_t offset, size_t number, in drbd_bm_merge_lel()
857 void drbd_bm_get_lel(struct drbd_device *device, size_t offset, size_t number, in drbd_bm_get_lel()
894 void drbd_bm_set_all(struct drbd_device *device) in drbd_bm_set_all()
910 void drbd_bm_clear_all(struct drbd_device *device) in drbd_bm_clear_all()
940 struct drbd_device *device = ctx->device; in drbd_bm_endio() local
992 struct drbd_device *device = ctx->device; in bm_page_io_async() local
1063 static int bm_rw(struct drbd_device *device, const unsigned int flags, unsigned lazy_writeout_upper… in bm_rw()
1217 int drbd_bm_read(struct drbd_device *device, in drbd_bm_read()
1230 int drbd_bm_write(struct drbd_device *device, in drbd_bm_write()
1242 int drbd_bm_write_all(struct drbd_device *device, in drbd_bm_write_all()
1253 int drbd_bm_write_lazy(struct drbd_device *device, unsigned upper_idx) __must_hold(local) in drbd_bm_write_lazy()
1269 int drbd_bm_write_copy_pages(struct drbd_device *device, in drbd_bm_write_copy_pages()
1279 int drbd_bm_write_hinted(struct drbd_device *device) __must_hold(local) in drbd_bm_write_hinted()
1292 static unsigned long __bm_find_next(struct drbd_device *device, unsigned long bm_fo, in __bm_find_next()
1332 static unsigned long bm_find_next(struct drbd_device *device, in bm_find_next()
1353 unsigned long drbd_bm_find_next(struct drbd_device *device, unsigned long bm_fo) in drbd_bm_find_next()
1368 unsigned long _drbd_bm_find_next(struct drbd_device *device, unsigned long bm_fo) in _drbd_bm_find_next()
1374 unsigned long _drbd_bm_find_next_zero(struct drbd_device *device, unsigned long bm_fo) in _drbd_bm_find_next_zero()
1386 static int __bm_change_bits_to(struct drbd_device *device, const unsigned long s, in __bm_change_bits_to()
1435 static int bm_change_bits_to(struct drbd_device *device, const unsigned long s, in bm_change_bits_to()
1458 int drbd_bm_set_bits(struct drbd_device *device, const unsigned long s, const unsigned long e) in drbd_bm_set_bits()
1464 int drbd_bm_clear_bits(struct drbd_device *device, const unsigned long s, const unsigned long e) in drbd_bm_clear_bits()
1501 void _drbd_bm_set_bits(struct drbd_device *device, const unsigned long s, const unsigned long e) in _drbd_bm_set_bits()
1581 int drbd_bm_test_bit(struct drbd_device *device, const unsigned long bitnr) in drbd_bm_test_bit()
1612 int drbd_bm_count_bits(struct drbd_device *device, const unsigned long s, const unsigned long e) in drbd_bm_count_bits()
1667 int drbd_bm_e_weight(struct drbd_device *device, unsigned long enr) in drbd_bm_e_weight()