Searched refs:kvm_phys_size (Results 1 – 3 of 3) sorted by relevance
149 #define kvm_phys_size(kvm) (_AC(1, ULL) << kvm_phys_shift(kvm)) macro150 #define kvm_phys_mask(kvm) (kvm_phys_size(kvm) - _AC(1, ULL))
30 if (addr & ~kvm_phys_mask(kvm) || addr + size > kvm_phys_size(kvm)) in vgic_check_iorange()
1493 VM_BUG_ON(fault_ipa >= kvm_phys_size(vcpu->kvm)); in kvm_handle_guest_abort()1718 if ((new->base_gfn + new->npages) > (kvm_phys_size(kvm) >> PAGE_SHIFT)) in kvm_arch_prepare_memory_region()