Lines Matching refs:bm_number_of_pages
104 size_t bm_number_of_pages; member
257 if (page_nr >= device->bitmap->bm_number_of_pages) { in drbd_bm_mark_for_writeout()
259 page_nr, (int)device->bitmap->bm_number_of_pages); in drbd_bm_mark_for_writeout()
297 BUG_ON(page_nr >= b->bm_number_of_pages); in bm_word_to_page_idx()
305 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()
471 bm_free_pages(device->bitmap->bm_pages, device->bitmap->bm_number_of_pages); in drbd_bm_cleanup()
500 p_addr = bm_map_pidx(b, b->bm_number_of_pages - 1); in bm_clear_surplus()
536 p_addr = bm_map_pidx(b, b->bm_number_of_pages - 1); in bm_set_surplus()
565 for (idx = 0; idx < b->bm_number_of_pages - 1; idx++) { in bm_count_bits()
660 onpages = b->bm_number_of_pages; in drbd_bm_resize()
663 b->bm_number_of_pages = in drbd_bm_resize()
694 have = b->bm_number_of_pages; in drbd_bm_resize()
720 b->bm_number_of_pages = want; in drbd_bm_resize()
1084 num_pages = b->bm_number_of_pages; in bm_rw()