Lines Matching refs:drbd_bitmap

83 struct drbd_bitmap {  struct
115 struct drbd_bitmap *b = device->bitmap; in __bm_print_lock_info() argument
126 struct drbd_bitmap *b = device->bitmap; in drbd_bm_lock()
153 struct drbd_bitmap *b = device->bitmap; in drbd_bm_unlock()
213 struct drbd_bitmap *b = device->bitmap; in bm_page_lock_io()
220 struct drbd_bitmap *b = device->bitmap; in bm_page_unlock_io()
256 struct drbd_bitmap *b = device->bitmap; in drbd_bm_mark_for_writeout()
296 static unsigned int bm_word_to_page_idx(struct drbd_bitmap *b, unsigned long long_nr) in bm_word_to_page_idx()
304 static unsigned int bm_bit_to_page_idx(struct drbd_bitmap *b, u64 bitnr) in bm_bit_to_page_idx()
312 static unsigned long *__bm_map_pidx(struct drbd_bitmap *b, unsigned int idx) in __bm_map_pidx()
318 static unsigned long *bm_map_pidx(struct drbd_bitmap *b, unsigned int idx) in bm_map_pidx()
378 static struct page **bm_realloc_pages(struct drbd_bitmap *b, unsigned long want) in bm_realloc_pages()
437 struct drbd_bitmap *b = device->bitmap; in drbd_bm_init()
439 b = kzalloc(sizeof(struct drbd_bitmap), GFP_KERNEL); in drbd_bm_init()
484 static int bm_clear_surplus(struct drbd_bitmap *b) in bm_clear_surplus()
521 static void bm_set_surplus(struct drbd_bitmap *b) in bm_set_surplus()
556 static unsigned long bm_count_bits(struct drbd_bitmap *b) in bm_count_bits()
584 static void bm_memset(struct drbd_bitmap *b, size_t offset, int c, size_t len) in bm_memset()
634 struct drbd_bitmap *b = device->bitmap; in drbd_bm_resize()
758 struct drbd_bitmap *b = device->bitmap; in _drbd_bm_total_weight()
787 struct drbd_bitmap *b = device->bitmap; in drbd_bm_words()
798 struct drbd_bitmap *b = device->bitmap; in drbd_bm_bits()
813 struct drbd_bitmap *b = device->bitmap; in drbd_bm_merge_lel()
862 struct drbd_bitmap *b = device->bitmap; in drbd_bm_get_lel()
898 struct drbd_bitmap *b = device->bitmap; in drbd_bm_set_all()
914 struct drbd_bitmap *b = device->bitmap; in drbd_bm_clear_all()
943 struct drbd_bitmap *b = device->bitmap; in drbd_bm_endio()
983 struct drbd_bitmap *b = device->bitmap; in bm_page_io_async()
1036 struct drbd_bitmap *b = device->bitmap; in bm_rw()
1260 struct drbd_bitmap *b = device->bitmap; in __bm_find_next()
1300 struct drbd_bitmap *b = device->bitmap; in bm_find_next()
1354 struct drbd_bitmap *b = device->bitmap; in __bm_change_bits_to()
1404 struct drbd_bitmap *b = device->bitmap; in bm_change_bits_to()
1436 static inline void bm_set_full_words_within_one_page(struct drbd_bitmap *b, in bm_set_full_words_within_one_page()
1476 struct drbd_bitmap *b = device->bitmap; in _drbd_bm_set_bits()
1549 struct drbd_bitmap *b = device->bitmap; in drbd_bm_test_bit()
1580 struct drbd_bitmap *b = device->bitmap; in drbd_bm_count_bits()
1634 struct drbd_bitmap *b = device->bitmap; in drbd_bm_e_weight()