Home
last modified time | relevance | path

Searched refs:bm_number_of_pages (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/block/drbd/
H A Ddrbd_bitmap.c99 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()
[all …]