Lines Matching refs:gmap

16 #include <asm/gmap.h>
38 /* the shadow gmap in use by the vsie_page */
39 struct gmap *gmap; /* 0x0220 */
85 /* test if the prefix is mapped into the gmap shadow */
579 void kvm_s390_vsie_gmap_notifier(struct gmap *gmap, unsigned long start,
582 struct kvm *kvm = gmap->private;
588 if (!gmap_is_shadow(gmap))
599 if (READ_ONCE(cur->gmap) != gmap)
612 * The prefix will be protected, a gmap notifier will inform about unmaps.
636 rc = kvm_s390_shadow_fault(vcpu, vsie_page->gmap, prefix, NULL);
638 rc = kvm_s390_shadow_fault(vcpu, vsie_page->gmap,
914 * Handle a fault during vsie execution on a gmap shadow.
929 rc = kvm_s390_shadow_fault(vcpu, vsie_page->gmap,
951 kvm_s390_shadow_fault(vcpu, vsie_page->gmap,
1038 rc_dest = kvm_s390_shadow_fault(vcpu, vsie_page->gmap, dest, &pei_dest);
1039 rc_src = kvm_s390_shadow_fault(vcpu, vsie_page->gmap, src, &pei_src);
1092 * Run the vsie on a shadow scb and a shadow gmap, without any further
1189 if (vsie_page->gmap)
1190 gmap_put(vsie_page->gmap);
1191 WRITE_ONCE(vsie_page->gmap, NULL);
1200 struct gmap *gmap;
1209 * ASCE or EDAT could have changed since last icpt, or the gmap
1210 * we're holding has been unshadowed. If the gmap is still valid,
1213 if (vsie_page->gmap && gmap_shadow_valid(vsie_page->gmap, asce, edat)) {
1220 gmap = gmap_shadow(vcpu->arch.gmap, asce, edat);
1221 if (IS_ERR(gmap))
1222 return PTR_ERR(gmap);
1224 WRITE_ONCE(vsie_page->gmap, gmap);
1268 * Run the vsie on a shadowed scb, managing the gmap shadow, handling
1285 gmap_enable(vsie_page->gmap);
1288 gmap_enable(vcpu->arch.gmap);