Lines Matching defs:old
989 hat_t *old = cpu->cpu_current_hat;
994 if (old != NULL) {
995 if (old == hat)
997 if (old != kas.a_hat)
998 CPUSET_ATOMIC_DEL(old->hat_cpus, cpu->cpu_id);
1119 hat_dup(hat_t *old, hat_t *new, caddr_t addr, size_t len, uint_t flag)
1123 ASSERT(old != kas.a_hat);
1335 * Set the new pte, retrieving the old one at the same time.
1989 #define CAS_TLB_INFO(cpu, old, new) \
1990 atomic_cas_ulong((ulong_t *)&(cpu)->cpu_m.mcpu_tlb_info, (old), (new))
2019 * Atomic clear and fetch of old state.
2197 * passed in "old" PTE. We then attempt to invalidate the PTE.
2242 * If the old mapping wasn't valid, there's nothing more to do
3189 x86pte_t old;
3202 old = x86pte_get(ht, entry);
3208 if (PTE2PFN(old, ht->ht_level) != pp->p_pagenum ||
3209 PTE_GET(old, PT_WRITABLE) == 0)
3216 new = old;
3218 old = hati_update_pte(ht, entry, old, new);
3219 if (old != 0)
3668 x86pte_t old, save_old;
3705 old = x86pte_get(ht, entry);
3708 ASSERT(PTE2PFN(old, ht->ht_level) == pp->p_pagenum);
3710 if (PTE_GET(old, PT_REF | PT_MOD) == 0)
3713 save_old = old;
3720 new = old;
3722 old = hati_update_pte(ht, entry, old, new);
3723 if (old != 0)
3726 old = save_old;
3733 PTE_GET(old, PT_SOFTWARE) <= PT_NOSYNC)
3734 hati_sync_pte_to_page(pp, old, ht->ht_level);