Lines Matching refs:gmap
16 #include <asm/gmap.h>
37 /* the shadow gmap in use by the vsie_page */
38 struct gmap *gmap; /* 0x0220 */
84 /* test if the prefix is mapped into the gmap shadow */
560 void kvm_s390_vsie_gmap_notifier(struct gmap *gmap, unsigned long start,
563 struct kvm *kvm = gmap->private;
569 if (!gmap_is_shadow(gmap))
584 if (READ_ONCE(cur->gmap) != gmap)
597 * The prefix will be protected, a gmap notifier will inform about unmaps.
621 rc = kvm_s390_shadow_fault(vcpu, vsie_page->gmap, prefix, NULL);
623 rc = kvm_s390_shadow_fault(vcpu, vsie_page->gmap,
899 * Handle a fault during vsie execution on a gmap shadow.
914 rc = kvm_s390_shadow_fault(vcpu, vsie_page->gmap,
936 kvm_s390_shadow_fault(vcpu, vsie_page->gmap,
1023 rc_dest = kvm_s390_shadow_fault(vcpu, vsie_page->gmap, dest, &pei_dest);
1024 rc_src = kvm_s390_shadow_fault(vcpu, vsie_page->gmap, src, &pei_src);
1077 * Run the vsie on a shadow scb and a shadow gmap, without any further
1172 if (vsie_page->gmap)
1173 gmap_put(vsie_page->gmap);
1174 WRITE_ONCE(vsie_page->gmap, NULL);
1183 struct gmap *gmap;
1192 * ASCE or EDAT could have changed since last icpt, or the gmap
1193 * we're holding has been unshadowed. If the gmap is still valid,
1196 if (vsie_page->gmap && gmap_shadow_valid(vsie_page->gmap, asce, edat))
1201 gmap = gmap_shadow(vcpu->arch.gmap, asce, edat);
1202 if (IS_ERR(gmap))
1203 return PTR_ERR(gmap);
1204 gmap->private = vcpu->kvm;
1205 WRITE_ONCE(vsie_page->gmap, gmap);
1249 * Run the vsie on a shadowed scb, managing the gmap shadow, handling
1266 gmap_enable(vsie_page->gmap);
1269 gmap_enable(vcpu->arch.gmap);