Home
last modified time | relevance | path

Searched refs:gra (Results 1 – 2 of 2) sorted by relevance

/arch/s390/kvm/
Dgaccess.h30 static inline unsigned long _kvm_s390_real_to_abs(u32 prefix, unsigned long gra) in _kvm_s390_real_to_abs() argument
32 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() argument
50 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) \ argument
109 __typeof__(*(gra)) __x = (x); \
[all …]
Dgaccess.c798 int access_guest_real(struct kvm_vcpu *vcpu, unsigned long gra, in access_guest_real() argument
805 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() argument
904 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()