Lines Matching refs:ghc
3034 struct gfn_to_hva_cache *ghc = &vcpu->arch.st.cache;
3049 if (unlikely(slots->generation != ghc->generation ||
3050 gpa != ghc->gpa ||
3051 kvm_is_error_hva(ghc->hva) || !ghc->memslot)) {
3055 if (kvm_gfn_to_hva_cache_init(vcpu->kvm, ghc, gpa, sizeof(*st)) ||
3056 kvm_is_error_hva(ghc->hva) || !ghc->memslot)
3060 st = (struct kvm_steal_time __user *)ghc->hva;
3122 mark_page_dirty_in_slot(ghc->memslot, gpa_to_gfn(ghc->gpa));
4109 struct gfn_to_hva_cache *ghc = &vcpu->arch.st.cache;
4140 if (unlikely(slots->generation != ghc->generation ||
4141 gpa != ghc->gpa ||
4142 kvm_is_error_hva(ghc->hva) || !ghc->memslot))
4145 st = (struct kvm_steal_time __user *)ghc->hva;
4151 mark_page_dirty_in_slot(ghc->memslot, gpa_to_gfn(ghc->gpa));