Lines Matching defs:memslot
1374 struct kvm_memory_slot *memslot;
1380 memslot = &slots->memslots[i];
1381 base_gfn = memslot->base_gfn;
1383 for (j = 0; j < memslot->npages; j++) {
1384 if (memslot->rmap[j])
1385 put_page((struct page *)memslot->rmap[j]);
1578 struct kvm_memory_slot *memslot,
1585 int npages = memslot->npages;
1586 unsigned long base_gfn = memslot->base_gfn;
1597 memslot->rmap[i] = (unsigned long)pfn_to_page(pfn);
1602 memslot->rmap[i] = 0;
1799 struct kvm_memory_slot *memslot)
1807 n = kvm_dirty_bitmap_bytes(memslot);
1808 base = memslot->base_gfn / BITS_PER_LONG;
1812 memslot->dirty_bitmap[i] = dirty_bitmap[base + i];
1823 struct kvm_memory_slot *memslot;
1832 memslot = &kvm->memslots->memslots[log->slot];
1834 if (!memslot->dirty_bitmap)
1837 kvm_ia64_sync_dirty_log(kvm, memslot);
1845 n = kvm_dirty_bitmap_bytes(memslot);
1846 memset(memslot->dirty_bitmap, 0, n);