Lines Matching defs:b

120 	struct drbd_bitmap *b = device->bitmap;  in __bm_print_lock_info()  local
131 struct drbd_bitmap *b = device->bitmap; in drbd_bm_lock() local
158 struct drbd_bitmap *b = device->bitmap; in drbd_bm_unlock() local
218 struct drbd_bitmap *b = device->bitmap; in bm_page_lock_io() local
225 struct drbd_bitmap *b = device->bitmap; in bm_page_unlock_io() local
293 static unsigned int bm_word_to_page_idx(struct drbd_bitmap *b, unsigned long long_nr) in bm_word_to_page_idx()
301 static unsigned int bm_bit_to_page_idx(struct drbd_bitmap *b, u64 bitnr) in bm_bit_to_page_idx()
309 static unsigned long *__bm_map_pidx(struct drbd_bitmap *b, unsigned int idx) in __bm_map_pidx()
315 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()
444 struct drbd_bitmap *b = device->bitmap; in drbd_bm_init() local
485 static int bm_clear_surplus(struct drbd_bitmap *b) in bm_clear_surplus()
522 static void bm_set_surplus(struct drbd_bitmap *b) in bm_set_surplus()
557 static unsigned long bm_count_bits(struct drbd_bitmap *b) in bm_count_bits()
587 static void bm_memset(struct drbd_bitmap *b, size_t offset, int c, size_t len) in bm_memset()
637 struct drbd_bitmap *b = device->bitmap; in drbd_bm_resize() local
763 struct drbd_bitmap *b = device->bitmap; in _drbd_bm_total_weight() local
792 struct drbd_bitmap *b = device->bitmap; in drbd_bm_words() local
803 struct drbd_bitmap *b = device->bitmap; in drbd_bm_bits() local
818 struct drbd_bitmap *b = device->bitmap; in drbd_bm_merge_lel() local
867 struct drbd_bitmap *b = device->bitmap; in drbd_bm_get_lel() local
903 struct drbd_bitmap *b = device->bitmap; in drbd_bm_set_all() local
919 struct drbd_bitmap *b = device->bitmap; in drbd_bm_clear_all() local
948 struct drbd_bitmap *b = device->bitmap; in drbd_bm_endio() local
988 struct drbd_bitmap *b = device->bitmap; in bm_page_io_async() local
1040 struct drbd_bitmap *b = device->bitmap; in bm_rw() local
1239 struct drbd_bitmap *b = device->bitmap; in __bm_find_next() local
1279 struct drbd_bitmap *b = device->bitmap; in bm_find_next() local
1333 struct drbd_bitmap *b = device->bitmap; in __bm_change_bits_to() local
1383 struct drbd_bitmap *b = device->bitmap; in bm_change_bits_to() local
1415 static inline void bm_set_full_words_within_one_page(struct drbd_bitmap *b, in bm_set_full_words_within_one_page()
1452 struct drbd_bitmap *b = device->bitmap; in _drbd_bm_set_bits() local
1525 struct drbd_bitmap *b = device->bitmap; in drbd_bm_test_bit() local
1556 struct drbd_bitmap *b = device->bitmap; in drbd_bm_count_bits() local
1610 struct drbd_bitmap *b = device->bitmap; in drbd_bm_e_weight() local