Lines Matching defs:drbd_bitmap
3 drbd_bitmap.c
83 struct drbd_bitmap {
115 struct drbd_bitmap *b = device->bitmap;
126 struct drbd_bitmap *b = device->bitmap;
153 struct drbd_bitmap *b = device->bitmap;
213 struct drbd_bitmap *b = device->bitmap;
220 struct drbd_bitmap *b = device->bitmap;
256 struct drbd_bitmap *b = device->bitmap;
296 static unsigned int bm_word_to_page_idx(struct drbd_bitmap *b, unsigned long long_nr)
304 static unsigned int bm_bit_to_page_idx(struct drbd_bitmap *b, u64 bitnr)
312 static unsigned long *__bm_map_pidx(struct drbd_bitmap *b, unsigned int idx)
318 static unsigned long *bm_map_pidx(struct drbd_bitmap *b, unsigned int idx)
347 * actually most functions herein should take a struct drbd_bitmap*, not a
378 static struct page **bm_realloc_pages(struct drbd_bitmap *b, unsigned long want)
431 * allocates the drbd_bitmap and stores it in device->bitmap.
435 struct drbd_bitmap *b = device->bitmap;
437 b = kzalloc(sizeof(struct drbd_bitmap), GFP_KERNEL);
482 static int bm_clear_surplus(struct drbd_bitmap *b)
519 static void bm_set_surplus(struct drbd_bitmap *b)
554 static unsigned long bm_count_bits(struct drbd_bitmap *b)
582 static void bm_memset(struct drbd_bitmap *b, size_t offset, int c, size_t len)
632 struct drbd_bitmap *b = device->bitmap;
756 struct drbd_bitmap *b = device->bitmap;
785 struct drbd_bitmap *b = device->bitmap;
796 struct drbd_bitmap *b = device->bitmap;
811 struct drbd_bitmap *b = device->bitmap;
860 struct drbd_bitmap *b = device->bitmap;
896 struct drbd_bitmap *b = device->bitmap;
912 struct drbd_bitmap *b = device->bitmap;
941 struct drbd_bitmap *b = device->bitmap;
981 struct drbd_bitmap *b = device->bitmap;
1034 struct drbd_bitmap *b = device->bitmap;
1258 struct drbd_bitmap *b = device->bitmap;
1298 struct drbd_bitmap *b = device->bitmap;
1352 struct drbd_bitmap *b = device->bitmap;
1402 struct drbd_bitmap *b = device->bitmap;
1434 static inline void bm_set_full_words_within_one_page(struct drbd_bitmap *b,
1474 struct drbd_bitmap *b = device->bitmap;
1547 struct drbd_bitmap *b = device->bitmap;
1578 struct drbd_bitmap *b = device->bitmap;
1632 struct drbd_bitmap *b = device->bitmap;