Lines Matching refs:hva
638 unsigned long hva, bool write)
667 return (hva >= ALIGN(start, PMD_SIZE)) && (hva < ALIGN_DOWN(end, PMD_SIZE));
683 * event for the hva. This can be done by explicit checking the MMU notifier
684 * or by ensuring that KVM already has a valid mapping that covers the hva.
699 unsigned long hva;
714 hva = __gfn_to_hva_memslot(slot, gfn);
730 pgd = READ_ONCE(*pgd_offset(kvm->mm, hva));
734 p4d = READ_ONCE(*p4d_offset(&pgd, hva));
738 pud = READ_ONCE(*pud_offset(&p4d, hva));
742 pmd = READ_ONCE(*pmd_offset(&pud, hva));
804 unsigned long hva, mmu_seq, prot_bits;
819 hva = gfn_to_hva_memslot_prot(memslot, gfn, &writeable);
820 if (kvm_is_error_hva(hva) || (write && !writeable)) {
893 if (!fault_supports_huge_mapping(memslot, hva, write)) {