Searched refs:dirty_gfns (Results 1 – 5 of 5) sorted by relevance
76 ring->dirty_gfns = vzalloc(size); in kvm_dirty_ring_alloc()77 if (!ring->dirty_gfns) in kvm_dirty_ring_alloc()117 entry = &ring->dirty_gfns[ring->reset_index & (ring->size - 1)]; in kvm_dirty_ring_reset()177 entry = &ring->dirty_gfns[ring->dirty_index & (ring->size - 1)]; in kvm_dirty_ring_push()215 return vmalloc_to_page((void *)ring->dirty_gfns + offset * PAGE_SIZE); in kvm_dirty_ring_get_page()220 vfree(ring->dirty_gfns); in kvm_dirty_ring_free()221 ring->dirty_gfns = NULL; in kvm_dirty_ring_free()
26 struct kvm_dirty_gfn *dirty_gfns; member
643 if (vcpu->dirty_gfns) { in vm_vcpu_rm()644 ret = munmap(vcpu->dirty_gfns, vm->dirty_ring_size); in vm_vcpu_rm()646 vcpu->dirty_gfns = NULL; in vm_vcpu_rm()1639 if (!vcpu->dirty_gfns) { in vcpu_map_dirty_ring()1654 vcpu->dirty_gfns = addr; in vcpu_map_dirty_ring()1658 return vcpu->dirty_gfns; in vcpu_map_dirty_ring()
315 static uint32_t dirty_ring_collect_one(struct kvm_dirty_gfn *dirty_gfns, in dirty_ring_collect_one() argument323 cur = &dirty_gfns[*fetch_index % test_dirty_ring_count]; in dirty_ring_collect_one()
71 struct kvm_dirty_gfn *dirty_gfns; member