Lines Matching refs:want
36 * We want to support >= peta byte of backend storage, while for now still using
376 * "have" and "want" are NUMBER OF PAGES.
378 static struct page **bm_realloc_pages(struct drbd_bitmap *b, unsigned long want)
388 if (have == want)
396 bytes = sizeof(struct page *)*want;
404 if (want >= have) {
407 for (; i < want; i++) {
414 /* we want to know which page it is
420 for (i = 0; i < want; i++)
423 bm_free_pages(old_pages + want, have - want);
634 unsigned long want, have, onpages; /* number of pages */
686 want = ALIGN(words*sizeof(long), PAGE_SIZE) >> PAGE_SHIFT;
688 if (want == have) {
695 npages = bm_realloc_pages(b, want);
713 b->bm_number_of_pages = want;
727 if (want < have) {
729 bm_free_pages(opages + want, have - want);
739 drbd_info(device, "resync bitmap: bits=%lu words=%lu pages=%lu\n", bits, words, want);
1012 * according to api. Do we want to assert that? */
1521 * We do not want to touch last_page in this case,