Lines Matching refs:pvo
158 mps3_pte_synch_locked(struct pvo_entry *pvo) in mps3_pte_synch_locked() argument
163 lv1_read_htab_entries(mps3_vas_id, pvo->pvo_pte.slot & ~0x3UL, in mps3_pte_synch_locked()
168 if ((halfbucket[pvo->pvo_pte.slot & 0x3] & LPTE_AVPN_MASK) != in mps3_pte_synch_locked()
169 ((pvo->pvo_vpn >> (ADDR_API_SHFT64 - ADDR_PIDX_SHFT)) & in mps3_pte_synch_locked()
172 if (!(halfbucket[pvo->pvo_pte.slot & 0x3] & LPTE_VALID)) in mps3_pte_synch_locked()
180 return ((rcbits >> ((3 - (pvo->pvo_pte.slot & 0x3))*16)) & in mps3_pte_synch_locked()
185 mps3_pte_synch(struct pvo_entry *pvo) in mps3_pte_synch() argument
190 retval = mps3_pte_synch_locked(pvo); in mps3_pte_synch()
197 mps3_pte_clear(struct pvo_entry *pvo, uint64_t ptebit) in mps3_pte_clear() argument
204 refchg = mps3_pte_synch_locked(pvo); in mps3_pte_clear()
210 moea64_pte_from_pvo(pvo, &pte); in mps3_pte_clear()
215 lv1_write_htab_entry(mps3_vas_id, pvo->pvo_pte.slot, pte.pte_hi, in mps3_pte_clear()
223 mps3_pte_unset(struct pvo_entry *pvo) in mps3_pte_unset() argument
228 refchg = mps3_pte_synch_locked(pvo); in mps3_pte_unset()
235 lv1_write_htab_entry(mps3_vas_id, pvo->pvo_pte.slot, 0, 0); in mps3_pte_unset()
243 mps3_pte_insert(struct pvo_entry *pvo) in mps3_pte_insert() argument
249 if (pvo->pvo_vaddr & PVO_HID) { in mps3_pte_insert()
251 pvo->pvo_vaddr &= ~PVO_HID; in mps3_pte_insert()
252 pvo->pvo_pte.slot ^= (moea64_pteg_mask << 3); in mps3_pte_insert()
255 pvo->pvo_pte.slot &= ~7UL; in mps3_pte_insert()
256 moea64_pte_from_pvo(pvo, &pte); in mps3_pte_insert()
260 result = lv1_insert_htab_entry(mps3_vas_id, pvo->pvo_pte.slot, in mps3_pte_insert()
274 if ((index & ~7UL) != pvo->pvo_pte.slot) in mps3_pte_insert()
275 pvo->pvo_vaddr |= PVO_HID; in mps3_pte_insert()
276 pvo->pvo_pte.slot = index; in mps3_pte_insert()