Lines Matching defs:old_pte

1305 	x86pte_t	old_pte;
1337 old_pte = x86pte_set(ht, entry, pte, pte_ptr);
1342 if (old_pte == LPAGE_ERROR) {
1352 if (PTE_EQUIV(pte, old_pte))
1358 if (!PTE_ISVALID(old_pte)) {
1383 if (!PTE_ISPAGE(old_pte, l))
1384 panic("non-null/page mapping pte=" FMT_PTE, old_pte);
1386 if (PTE2PFN(old_pte, l) != PTE2PFN(pte, l)) {
1389 REMAPASSERT(PTE_GET(old_pte, PT_SOFTWARE) >= PT_NOCONSIST);
1390 REMAPASSERT(pf_is_memory(PTE2PFN(old_pte, l)) ==
1398 if (PTE_GET(old_pte, ~PT_REMAP_BITS) != PTE_GET(pte, ~PT_REMAP_BITS))
1399 panic("remap bits changed: old_pte="FMT_PTE", pte="FMT_PTE"\n",
1400 old_pte, pte);
2177 x86pte_t old_pte,
2202 while (PTE_ISVALID(old_pte)) {
2203 pfn = PTE2PFN(old_pte, l);
2204 if (PTE_GET(old_pte, PT_SOFTWARE) >= PT_NOCONSIST) {
2213 panic("no page_t, not NOCONSIST: old_pte="
2215 old_pte, (uintptr_t)ht, entry,
2221 old_pte = x86pte_inval(ht, entry, old_pte, pte_ptr, tlb);
2226 if (PTE_ISVALID(old_pte) && PTE2PFN(old_pte, l) == pfn)
2230 * Otherwise, we'll have to retry with the current old_pte.
2237 ASSERT(PTE_GET(old_pte, PT_SOFTWARE) >= PT_NOCONSIST);
2244 if (!PTE_ISVALID(old_pte)) {
2255 hati_sync_pte_to_page(pp, old_pte, l);
2282 x86pte_t old_pte;
2290 old_pte = GET_PTE(pte_ptr);
2302 hat_pte_unmap(ht, entry, flags, old_pte, pte_ptr, B_TRUE);
2388 x86pte_t old_pte;
2400 ht = htable_getpte(hat, vaddr, &entry, &old_pte, 0);
2402 if (PTE_ISVALID(old_pte)) {
2403 hat_pte_unmap(ht, entry, flags, old_pte,
2413 old_pte = htable_walk(hat, &ht, &vaddr, eaddr);
2447 hat_pte_unmap(ht, entry, flags, old_pte, NULL, B_FALSE);
3331 x86pte_t old_pte;
3346 old_pte = x86pte_inval(ht, entry, 0, NULL, B_TRUE);
3347 if (PTE2PFN(old_pte, ht->ht_level) != pfn) {
3350 old_pte, pfn, (uintptr_t)ht, entry);
3363 if (PTE_GET(old_pte, PT_SOFTWARE) < PT_NOSYNC)
3364 hati_sync_pte_to_page(pp, old_pte, ht->ht_level);