Lines Matching defs:b
118 struct drbd_bitmap *b = mdev->bitmap; in __bm_print_lock_info() local
133 struct drbd_bitmap *b = mdev->bitmap; in drbd_bm_lock() local
164 struct drbd_bitmap *b = mdev->bitmap; in drbd_bm_unlock() local
221 struct drbd_bitmap *b = mdev->bitmap; in bm_page_lock_io() local
228 struct drbd_bitmap *b = mdev->bitmap; in bm_page_unlock_io() local
276 static unsigned int bm_word_to_page_idx(struct drbd_bitmap *b, unsigned long long_nr) in bm_word_to_page_idx()
284 static unsigned int bm_bit_to_page_idx(struct drbd_bitmap *b, u64 bitnr) in bm_bit_to_page_idx()
292 static unsigned long *__bm_map_pidx(struct drbd_bitmap *b, unsigned int idx, const enum km_type km) in __bm_map_pidx()
298 static unsigned long *bm_map_pidx(struct drbd_bitmap *b, unsigned int idx) in bm_map_pidx()
362 static struct page **bm_realloc_pages(struct drbd_bitmap *b, unsigned long want) in bm_realloc_pages()
426 struct drbd_bitmap *b = mdev->bitmap; in drbd_bm_init() local
465 static int bm_clear_surplus(struct drbd_bitmap *b) in bm_clear_surplus()
502 static void bm_set_surplus(struct drbd_bitmap *b) in bm_set_surplus()
537 static unsigned long bm_count_bits(struct drbd_bitmap *b) in bm_count_bits()
567 static void bm_memset(struct drbd_bitmap *b, size_t offset, int c, size_t len) in bm_memset()
606 struct drbd_bitmap *b = mdev->bitmap; in drbd_bm_resize() local
731 struct drbd_bitmap *b = mdev->bitmap; in _drbd_bm_total_weight() local
758 struct drbd_bitmap *b = mdev->bitmap; in drbd_bm_words() local
767 struct drbd_bitmap *b = mdev->bitmap; in drbd_bm_bits() local
781 struct drbd_bitmap *b = mdev->bitmap; in drbd_bm_merge_lel() local
828 struct drbd_bitmap *b = mdev->bitmap; in drbd_bm_get_lel() local
862 struct drbd_bitmap *b = mdev->bitmap; in drbd_bm_set_all() local
876 struct drbd_bitmap *b = mdev->bitmap; in drbd_bm_clear_all() local
900 struct drbd_bitmap *b = mdev->bitmap; in bm_async_io_complete() local
948 struct drbd_bitmap *b = mdev->bitmap; in bm_page_io_async() local
1010 struct drbd_bitmap *b = mdev->bitmap; in bm_rw() local
1168 struct drbd_bitmap *b = mdev->bitmap; in __bm_find_next() local
1208 struct drbd_bitmap *b = mdev->bitmap; in bm_find_next() local
1260 struct drbd_bitmap *b = mdev->bitmap; in __bm_change_bits_to() local
1310 struct drbd_bitmap *b = mdev->bitmap; in bm_change_bits_to() local
1340 static inline void bm_set_full_words_within_one_page(struct drbd_bitmap *b, in bm_set_full_words_within_one_page()
1369 struct drbd_bitmap *b = mdev->bitmap; in _drbd_bm_set_bits() local
1435 struct drbd_bitmap *b = mdev->bitmap; in drbd_bm_test_bit() local
1464 struct drbd_bitmap *b = mdev->bitmap; in drbd_bm_count_bits() local
1517 struct drbd_bitmap *b = mdev->bitmap; in drbd_bm_e_weight() local
1550 struct drbd_bitmap *b = mdev->bitmap; in drbd_bm_ALe_set_all() local