Lines Matching refs:pte_val

94 	if (unlikely(pte_val(old) & _PAGE_INVALID))  in ptep_flush_direct()
113 if (unlikely(pte_val(old) & _PAGE_INVALID)) in ptep_flush_lazy()
179 if (!mm_uses_skeys(mm) || pte_val(pte) & _PAGE_INVALID) in pgste_update_all()
181 address = pte_val(pte) & PAGE_MASK; in pgste_update_all()
201 if (!mm_uses_skeys(mm) || pte_val(entry) & _PAGE_INVALID) in pgste_set_key()
203 VM_BUG_ON(!(pte_val(*ptep) & _PAGE_INVALID)); in pgste_set_key()
204 address = pte_val(entry) & PAGE_MASK; in pgste_set_key()
219 if ((pte_val(entry) & _PAGE_PRESENT) && in pgste_set_pte()
220 (pte_val(entry) & _PAGE_WRITE) && in pgste_set_pte()
221 !(pte_val(entry) & _PAGE_INVALID)) { in pgste_set_pte()
230 if (!(pte_val(entry) & _PAGE_PROTECT)) in pgste_set_pte()
272 if (pte_val(old) & _PAGE_INVALID) in ptep_xchg_commit()
274 if (pte_val(new) & _PAGE_INVALID) { in ptep_xchg_commit()
662 pte_i = pte_val(entry) & _PAGE_INVALID; in ptep_force_prot()
663 pte_p = pte_val(entry) & _PAGE_PROTECT; in ptep_force_prot()
694 if (!(pte_val(*tptep) & _PAGE_INVALID)) in ptep_shadow_pte()
698 if (!(pte_val(spte) & _PAGE_INVALID) && in ptep_shadow_pte()
699 !((pte_val(spte) & _PAGE_PROTECT) && in ptep_shadow_pte()
700 !(pte_val(pte) & _PAGE_PROTECT))) { in ptep_shadow_pte()
703 tpte = __pte((pte_val(spte) & PAGE_MASK) | in ptep_shadow_pte()
704 (pte_val(pte) & _PAGE_PROTECT)); in ptep_shadow_pte()
774 ptev = pte_val(*ptep); in ptep_zap_key()
796 if (dirty && (pte_val(pte) & _PAGE_PRESENT)) { in ptep_test_and_clear_uc()
800 if (MACHINE_HAS_ESOP || !(pte_val(pte) & _PAGE_WRITE)) in ptep_test_and_clear_uc()
859 if (!(pte_val(*ptep) & _PAGE_INVALID)) { in set_guest_storage_key()
862 paddr = pte_val(*ptep) & PAGE_MASK; in set_guest_storage_key()
962 if (!(pte_val(*ptep) & _PAGE_INVALID)) { in reset_guest_reference_bit()
963 paddr = pte_val(*ptep) & PAGE_MASK; in reset_guest_reference_bit()
1022 paddr = pte_val(*ptep) & PAGE_MASK; in get_guest_storage_key()
1023 if (!(pte_val(*ptep) & _PAGE_INVALID)) in get_guest_storage_key()
1068 *oldpte = pte_val(*ptep); in pgste_perform_essa()
1082 if (pte_val(*ptep) & _PAGE_INVALID) in pgste_perform_essa()
1088 if (pte_val(*ptep) & _PAGE_INVALID) in pgste_perform_essa()
1093 if (!(pte_val(*ptep) & _PAGE_INVALID)) { in pgste_perform_essa()
1117 if (!(pte_val(*ptep) & _PAGE_INVALID)) { in pgste_perform_essa()