Searched refs:kvm_dirty_gfn (Results 1 – 12 of 12) sorted by relevance
80 ring->size = size / sizeof(struct kvm_dirty_gfn); in kvm_dirty_ring_alloc()89 static inline void kvm_dirty_gfn_set_invalid(struct kvm_dirty_gfn *gfn) in kvm_dirty_gfn_set_invalid()94 static inline void kvm_dirty_gfn_set_dirtied(struct kvm_dirty_gfn *gfn) in kvm_dirty_gfn_set_dirtied()99 static inline bool kvm_dirty_gfn_harvested(struct kvm_dirty_gfn *gfn) in kvm_dirty_gfn_harvested()110 struct kvm_dirty_gfn *entry; in kvm_dirty_ring_reset()172 struct kvm_dirty_gfn *entry; in kvm_dirty_ring_push()
4573 return KVM_DIRTY_RING_MAX_ENTRIES * sizeof(struct kvm_dirty_gfn); in kvm_vm_ioctl_check_extension_generic()4579 return KVM_DIRTY_RING_MAX_ENTRIES * sizeof(struct kvm_dirty_gfn); in kvm_vm_ioctl_check_extension_generic()4608 sizeof(struct kvm_dirty_gfn) || size < PAGE_SIZE) in kvm_vm_ioctl_enable_dirty_log_ring()4612 sizeof(struct kvm_dirty_gfn)) in kvm_vm_ioctl_enable_dirty_log_ring()
302 sizeof(struct kvm_dirty_gfn)); in dirty_ring_create_vm_done()305 static inline bool dirty_gfn_is_dirtied(struct kvm_dirty_gfn *gfn) in dirty_gfn_is_dirtied()310 static inline void dirty_gfn_set_collected(struct kvm_dirty_gfn *gfn) in dirty_gfn_set_collected()315 static uint32_t dirty_ring_collect_one(struct kvm_dirty_gfn *dirty_gfns, in dirty_ring_collect_one()319 struct kvm_dirty_gfn *cur; in dirty_ring_collect_one()
26 struct kvm_dirty_gfn *dirty_gfns;
533 struct kvm_dirty_gfn *kvm_dirty_gfns;
783 static bool dirty_gfn_is_dirtied(struct kvm_dirty_gfn *gfn) in dirty_gfn_is_dirtied()792 static void dirty_gfn_set_collected(struct kvm_dirty_gfn *gfn) in dirty_gfn_set_collected()819 struct kvm_dirty_gfn *dirty_gfns = cpu->kvm_dirty_gfns, *cur; in kvm_dirty_ring_reap_one()1609 uint64_t ring_bytes = ring_size * sizeof(struct kvm_dirty_gfn); in kvm_dirty_ring_init()1639 ring_size, (long)ret / sizeof(struct kvm_dirty_gfn)); in kvm_dirty_ring_init()
71 struct kvm_dirty_gfn *dirty_gfns;
1439 struct kvm_dirty_gfn { struct
2125 struct kvm_dirty_gfn { struct
2132 struct kvm_dirty_gfn { struct
1655 vcpu->dirty_gfns_count = size / sizeof(struct kvm_dirty_gfn); in vcpu_map_dirty_ring()
8126 ``struct kvm_dirty_gfn``. Each dirty entry is defined as::8128 struct kvm_dirty_gfn {