Home
last modified time | relevance | path

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

/drivers/virtio/
Dvirtio_mem.c262 int old_pages = PFN_UP(old_bytes); in virtio_mem_mb_state_prepare_next_mb() local
266 if (vm->mb_state && old_pages == new_pages) in virtio_mem_mb_state_prepare_next_mb()
275 memcpy(new_mb_state, vm->mb_state, old_pages * PAGE_SIZE); in virtio_mem_mb_state_prepare_next_mb()
374 int old_pages = PFN_UP(BITS_TO_LONGS(old_nb_bits) * sizeof(long)); in virtio_mem_sb_bitmap_prepare_next_mb() local
378 if (vm->sb_bitmap && old_pages == new_pages) in virtio_mem_sb_bitmap_prepare_next_mb()
387 memcpy(new_sb_bitmap, vm->sb_bitmap, old_pages * PAGE_SIZE); in virtio_mem_sb_bitmap_prepare_next_mb()
/drivers/block/drbd/
Ddrbd_bitmap.c380 struct page **old_pages = b->bm_pages; in bm_realloc_pages() local
385 BUG_ON(have == 0 && old_pages != NULL); in bm_realloc_pages()
386 BUG_ON(have != 0 && old_pages == NULL); in bm_realloc_pages()
389 return old_pages; in bm_realloc_pages()
406 new_pages[i] = old_pages[i]; in bm_realloc_pages()
421 new_pages[i] = old_pages[i]; in bm_realloc_pages()
/drivers/md/
Ddm-io.c395 struct dpages old_pages = *dp; in dispatch_io() local
407 *dp = old_pages; in dispatch_io()