Home
last modified time | relevance | path

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

/Linux-v5.4/virt/kvm/
Dkvm_main.c579 if (!memslot->dirty_bitmap) in kvm_destroy_dirty_bitmap()
582 kvfree(memslot->dirty_bitmap); in kvm_destroy_dirty_bitmap()
583 memslot->dirty_bitmap = NULL; in kvm_destroy_dirty_bitmap()
592 if (!dont || free->dirty_bitmap != dont->dirty_bitmap) in kvm_free_memslot()
860 memslot->dirty_bitmap = kvzalloc(dirty_bytes, GFP_KERNEL_ACCOUNT); in kvm_create_dirty_bitmap()
861 if (!memslot->dirty_bitmap) in kvm_create_dirty_bitmap()
1076 new.dirty_bitmap = NULL; in __kvm_set_memory_region()
1087 if ((new.flags & KVM_MEM_LOG_DIRTY_PAGES) && !new.dirty_bitmap) { in __kvm_set_memory_region()
1126 new.dirty_bitmap = NULL; in __kvm_set_memory_region()
1185 if (!memslot->dirty_bitmap) in kvm_get_dirty_log()
[all …]
/Linux-v5.4/arch/s390/include/asm/
Dgmap.h145 void gmap_sync_dirty_log_pmd(struct gmap *gmap, unsigned long dirty_bitmap[4],
/Linux-v5.4/drivers/md/
Ddm-writecache.c179 unsigned long *dirty_bitmap; member
416 memset(wc->dirty_bitmap, -1, wc->dirty_bitmap_size); in writecache_flush_all_metadata()
423 wc->dirty_bitmap); in writecache_flush_region()
459 i = find_next_bit(wc->dirty_bitmap, bitmap_bits, i); in ssd_commit_flushed()
462 j = find_next_zero_bit(wc->dirty_bitmap, bitmap_bits, i); in ssd_commit_flushed()
493 memset(wc->dirty_bitmap, 0, wc->dirty_bitmap_size); in ssd_commit_flushed()
1818 if (wc->dirty_bitmap) in writecache_dtr()
1819 vfree(wc->dirty_bitmap); in writecache_dtr()
2113 wc->dirty_bitmap = vzalloc(wc->dirty_bitmap_size); in writecache_ctr()
2114 if (!wc->dirty_bitmap) { in writecache_ctr()
/Linux-v5.4/include/linux/
Dkvm_host.h346 unsigned long *dirty_bitmap; member
362 return memslot->dirty_bitmap + len / sizeof(*memslot->dirty_bitmap); in kvm_second_dirty_bitmap()
/Linux-v5.4/arch/powerpc/kvm/
Dbook3s_hv_rm_mmu.c114 if (!psize || !memslot->dirty_bitmap) in kvmppc_update_dirty_map()
118 set_dirty_bits_atomic(memslot->dirty_bitmap, gfn, npages); in kvmppc_update_dirty_map()
132 if (memslot && memslot->dirty_bitmap) in kvmppc_set_dirty_from_hpte()
Dbook3s_64_mmu_hv.c845 if ((rcbits & HPTE_R_C) && memslot->dirty_bitmap) in kvmppc_unmap_hpte()
1218 if (memslot && memslot->dirty_bitmap) in kvmppc_unpin_guest_page()
1219 set_bit_le(gfn - memslot->base_gfn, memslot->dirty_bitmap); in kvmppc_unpin_guest_page()
Dbook3s_hv.c4408 if (!memslot->dirty_bitmap) in kvm_vm_ioctl_get_dirty_log_hv()
4416 buf = memslot->dirty_bitmap + n / sizeof(long); in kvm_vm_ioctl_get_dirty_log_hv()
4432 p = memslot->dirty_bitmap; in kvm_vm_ioctl_get_dirty_log_hv()
4446 if (copy_to_user(log->dirty_bitmap, buf, n)) in kvm_vm_ioctl_get_dirty_log_hv()
Dbook3s_64_mmu_radix.c410 if ((old & _PAGE_DIRTY) && memslot->dirty_bitmap) in kvmppc_unmap_pte()
Dbook3s_pr.c1889 memset(memslot->dirty_bitmap, 0, n); in kvm_vm_ioctl_get_dirty_log_pr()
/Linux-v5.4/include/uapi/linux/
Dkvm.h492 void __user *dirty_bitmap; /* one bit per page */ member
503 void __user *dirty_bitmap; /* one bit per page */ member
/Linux-v5.4/tools/include/uapi/linux/
Dkvm.h492 void __user *dirty_bitmap; /* one bit per page */ member
503 void __user *dirty_bitmap; /* one bit per page */ member
/Linux-v5.4/tools/testing/selftests/kvm/lib/
Dkvm_util.c279 struct kvm_dirty_log args = { .dirty_bitmap = log, .slot = slot }; in kvm_vm_get_dirty_log()
290 struct kvm_clear_dirty_log args = { .dirty_bitmap = log, .slot = slot, in kvm_vm_clear_dirty_log()
/Linux-v5.4/arch/s390/kvm/
Dkvm-s390.c633 if (!memslot->dirty_bitmap) in kvm_vm_ioctl_get_dirty_log()
644 memset(memslot->dirty_bitmap, 0, n); in kvm_vm_ioctl_get_dirty_log()
1021 if (!ms->dirty_bitmap) in kvm_s390_vm_start_migration()
/Linux-v5.4/virt/kvm/arm/
Dmmu.c43 return memslot->dirty_bitmap && !(memslot->flags & KVM_MEM_READONLY); in memslot_is_logging()
/Linux-v5.4/Documentation/virt/kvm/
Dapi.txt317 void __user *dirty_bitmap; /* one bit per page */
3982 void __user *dirty_bitmap; /* one bit per page */
3988 the bitmap that is passed in struct kvm_clear_dirty_log's dirty_bitmap
/Linux-v5.4/arch/x86/kvm/
Dmmu.c1307 if (no_dirty_log && slot->dirty_bitmap) in memslot_valid_for_gpte()