Searched refs:gra (Results 1 – 2 of 2) sorted by relevance
30 static inline unsigned long _kvm_s390_real_to_abs(u32 prefix, unsigned long gra) in _kvm_s390_real_to_abs() argument32 if (gra < 2 * PAGE_SIZE) in _kvm_s390_real_to_abs()33 gra += prefix; in _kvm_s390_real_to_abs()34 else if (gra >= prefix && gra < prefix + 2 * PAGE_SIZE) in _kvm_s390_real_to_abs()35 gra -= prefix; in _kvm_s390_real_to_abs()36 return gra; in _kvm_s390_real_to_abs()48 unsigned long gra) in kvm_s390_real_to_abs() argument50 return _kvm_s390_real_to_abs(kvm_s390_get_prefix(vcpu), gra); in kvm_s390_real_to_abs()106 #define put_guest_lc(vcpu, x, gra) \ argument109 __typeof__(*(gra)) __x = (x); \[all …]
798 int access_guest_real(struct kvm_vcpu *vcpu, unsigned long gra, in access_guest_real() argument805 gpa = kvm_s390_real_to_abs(vcpu, gra); in access_guest_real()812 gra += _len; in access_guest_real()897 int kvm_s390_check_low_addr_prot_real(struct kvm_vcpu *vcpu, unsigned long gra) in kvm_s390_check_low_addr_prot_real() argument904 if (!ctlreg0.lap || !is_low_address(gra)) in kvm_s390_check_low_addr_prot_real()911 tec_bits->addr = gra >> PAGE_SHIFT; in kvm_s390_check_low_addr_prot_real()