Lines Matching refs:ghc
3284 struct gfn_to_hva_cache *ghc = &vcpu->arch.st.cache;
3304 if (unlikely(slots->generation != ghc->generation ||
3305 gpa != ghc->gpa ||
3306 kvm_is_error_hva(ghc->hva) || !ghc->memslot)) {
3310 if (kvm_gfn_to_hva_cache_init(vcpu->kvm, ghc, gpa, sizeof(*st)) ||
3311 kvm_is_error_hva(ghc->hva) || !ghc->memslot)
3315 st = (struct kvm_steal_time __user *)ghc->hva;
3377 mark_page_dirty_in_slot(vcpu->kvm, ghc->memslot, gpa_to_gfn(ghc->gpa));
4424 struct gfn_to_hva_cache *ghc = &vcpu->arch.st.cache;
4455 if (unlikely(slots->generation != ghc->generation ||
4456 gpa != ghc->gpa ||
4457 kvm_is_error_hva(ghc->hva) || !ghc->memslot))
4460 st = (struct kvm_steal_time __user *)ghc->hva;
4466 mark_page_dirty_in_slot(vcpu->kvm, ghc->memslot, gpa_to_gfn(ghc->gpa));