Lines Matching defs:b
115 struct drbd_bitmap *b = device->bitmap; in __bm_print_lock_info() local
126 struct drbd_bitmap *b = device->bitmap; in drbd_bm_lock() local
153 struct drbd_bitmap *b = device->bitmap; in drbd_bm_unlock() local
213 struct drbd_bitmap *b = device->bitmap; in bm_page_lock_io() local
220 struct drbd_bitmap *b = device->bitmap; in bm_page_unlock_io() local
256 struct drbd_bitmap *b = device->bitmap; in drbd_bm_mark_for_writeout() local
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()
435 struct drbd_bitmap *b = device->bitmap; in drbd_bm_init() local
482 static int bm_clear_surplus(struct drbd_bitmap *b) in bm_clear_surplus()
519 static void bm_set_surplus(struct drbd_bitmap *b) in bm_set_surplus()
554 static unsigned long bm_count_bits(struct drbd_bitmap *b) in bm_count_bits()
582 static void bm_memset(struct drbd_bitmap *b, size_t offset, int c, size_t len) in bm_memset()
632 struct drbd_bitmap *b = device->bitmap; in drbd_bm_resize() local
756 struct drbd_bitmap *b = device->bitmap; in _drbd_bm_total_weight() local
785 struct drbd_bitmap *b = device->bitmap; in drbd_bm_words() local
796 struct drbd_bitmap *b = device->bitmap; in drbd_bm_bits() local
811 struct drbd_bitmap *b = device->bitmap; in drbd_bm_merge_lel() local
860 struct drbd_bitmap *b = device->bitmap; in drbd_bm_get_lel() local
896 struct drbd_bitmap *b = device->bitmap; in drbd_bm_set_all() local
912 struct drbd_bitmap *b = device->bitmap; in drbd_bm_clear_all() local
941 struct drbd_bitmap *b = device->bitmap; in drbd_bm_endio() local
994 struct drbd_bitmap *b = device->bitmap; in bm_page_io_async() local
1066 struct drbd_bitmap *b = device->bitmap; in bm_rw() local
1295 struct drbd_bitmap *b = device->bitmap; in __bm_find_next() local
1335 struct drbd_bitmap *b = device->bitmap; in bm_find_next() local
1389 struct drbd_bitmap *b = device->bitmap; in __bm_change_bits_to() local
1439 struct drbd_bitmap *b = device->bitmap; in bm_change_bits_to() local
1471 static inline void bm_set_full_words_within_one_page(struct drbd_bitmap *b, in bm_set_full_words_within_one_page()
1511 struct drbd_bitmap *b = device->bitmap; in _drbd_bm_set_bits() local
1584 struct drbd_bitmap *b = device->bitmap; in drbd_bm_test_bit() local
1615 struct drbd_bitmap *b = device->bitmap; in drbd_bm_count_bits() local
1669 struct drbd_bitmap *b = device->bitmap; in drbd_bm_e_weight() local