Lines Matching refs:bm_number_of_pages
99 size_t bm_number_of_pages; member
258 if (page_nr >= device->bitmap->bm_number_of_pages) { in drbd_bm_mark_for_writeout()
260 page_nr, (int)device->bitmap->bm_number_of_pages); in drbd_bm_mark_for_writeout()
300 BUG_ON(page_nr >= b->bm_number_of_pages); in bm_word_to_page_idx()
308 BUG_ON(page_nr >= b->bm_number_of_pages); in bm_bit_to_page_idx()
383 unsigned long have = b->bm_number_of_pages; in bm_realloc_pages()
462 bm_free_pages(device->bitmap->bm_pages, device->bitmap->bm_number_of_pages); in drbd_bm_cleanup()
497 p_addr = bm_map_pidx(b, b->bm_number_of_pages - 1); in bm_clear_surplus()
533 p_addr = bm_map_pidx(b, b->bm_number_of_pages - 1); in bm_set_surplus()
562 for (idx = 0; idx < b->bm_number_of_pages - 1; idx++) { in bm_count_bits()
653 onpages = b->bm_number_of_pages; in drbd_bm_resize()
656 b->bm_number_of_pages = in drbd_bm_resize()
687 have = b->bm_number_of_pages; in drbd_bm_resize()
713 b->bm_number_of_pages = want; in drbd_bm_resize()
1112 num_pages = b->bm_number_of_pages; in bm_rw()