Lines Matching refs:ptehi
387 uint64_t ptelo, ptehi; in moea64_pte_unset_locked() local
395 ptehi = (be64toh(pt->pte_hi) & ~LPTE_VALID) | LPTE_LOCKED; in moea64_pte_unset_locked()
396 pt->pte_hi = htobe64(ptehi); in moea64_pte_unset_locked()
398 TLBIE(vpn, ptehi); in moea64_pte_unset_locked()
437 uint64_t ptelo, ptehi; in moea64_pte_replace_inval_native() local
456 ptehi = (be64toh(pt->pte_hi) & ~LPTE_VALID) | LPTE_LOCKED; in moea64_pte_replace_inval_native()
457 pt->pte_hi = htobe64(ptehi); in moea64_pte_replace_inval_native()
459 TLBIE(pvo->pvo_vpn, ptehi); in moea64_pte_replace_inval_native()
907 moea64_vpn_from_pte(uint64_t ptehi, uintptr_t slot) in moea64_vpn_from_pte() argument
911 vsid = (ptehi & LPTE_AVA_MASK) >> LPTE_VSID_SHIFT; in moea64_vpn_from_pte()
912 if ((ptehi & LPTE_HID) != 0) in moea64_vpn_from_pte()
915 pgn = ((ptehi & LPTE_AVA_PGNHI_MASK) << (EA_PAGELO_SHIFT - in moea64_vpn_from_pte()
924 uint64_t ptehi, refchg, vpn; in moea64_pte_unset_sp_locked() local
933 ptehi = be64toh(pt->pte_hi); in moea64_pte_unset_sp_locked()
934 if ((ptehi & LPTE_AVPN_MASK) != in moea64_pte_unset_sp_locked()
938 vpn = moea64_vpn_from_pte(ptehi, pvo->pvo_pte.slot); in moea64_pte_unset_sp_locked()