Searched refs:ghc (Results 1 – 3 of 3) sorted by relevance
/arch/x86/kvm/ |
D | xen.c | 96 struct gfn_to_hva_cache *ghc = &vx->runstate_cache; in kvm_xen_update_runstate_guest() local 108 if (unlikely(slots->generation != ghc->generation || kvm_is_error_hva(ghc->hva)) && in kvm_xen_update_runstate_guest() 109 kvm_gfn_to_hva_cache_init(v->kvm, ghc, ghc->gpa, ghc->len)) in kvm_xen_update_runstate_guest() 113 BUG_ON(!ghc->memslot); in kvm_xen_update_runstate_guest() 130 user_state = (int __user *)ghc->hva; in kvm_xen_update_runstate_guest() 134 user_times = (uint64_t __user *)(ghc->hva + in kvm_xen_update_runstate_guest() 144 user_times = (uint64_t __user *)(ghc->hva + in kvm_xen_update_runstate_guest() 204 mark_page_dirty_in_slot(v->kvm, ghc->memslot, ghc->gpa >> PAGE_SHIFT); in kvm_xen_update_runstate_guest() 219 struct gfn_to_hva_cache *ghc = &v->arch.xen.vcpu_info_cache; in __kvm_xen_has_interrupt() local 236 if (likely(slots->generation == ghc->generation && in __kvm_xen_has_interrupt() [all …]
|
D | lapic.c | 2874 struct gfn_to_hva_cache *ghc = &vcpu->arch.pv_eoi.data; in kvm_lapic_enable_pv_eoi() local 2884 if (addr == ghc->gpa && len <= ghc->len) in kvm_lapic_enable_pv_eoi() 2885 new_len = ghc->len; in kvm_lapic_enable_pv_eoi() 2889 return kvm_gfn_to_hva_cache_init(vcpu->kvm, ghc, addr, new_len); in kvm_lapic_enable_pv_eoi()
|
D | x86.c | 3284 struct gfn_to_hva_cache *ghc = &vcpu->arch.st.cache; in record_steal_time() local 3304 if (unlikely(slots->generation != ghc->generation || in record_steal_time() 3305 gpa != ghc->gpa || in record_steal_time() 3306 kvm_is_error_hva(ghc->hva) || !ghc->memslot)) { in record_steal_time() 3310 if (kvm_gfn_to_hva_cache_init(vcpu->kvm, ghc, gpa, sizeof(*st)) || in record_steal_time() 3311 kvm_is_error_hva(ghc->hva) || !ghc->memslot) in record_steal_time() 3315 st = (struct kvm_steal_time __user *)ghc->hva; in record_steal_time() 3377 mark_page_dirty_in_slot(vcpu->kvm, ghc->memslot, gpa_to_gfn(ghc->gpa)); in record_steal_time() 4424 struct gfn_to_hva_cache *ghc = &vcpu->arch.st.cache; in kvm_steal_time_set_preempted() local 4455 if (unlikely(slots->generation != ghc->generation || in kvm_steal_time_set_preempted() [all …]
|