Home
last modified time | relevance | path

Searched refs:oldpte (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_sol_ept.c93 uint64_t pte, newpte, oldpte = 0; in ept_reset_bits() local
100 oldpte = *entry; in ept_reset_bits()
102 pte = oldpte; in ept_reset_bits()
104 oldpte = atomic_cas_64(entry, pte, newpte); in ept_reset_bits()
105 } while (oldpte != pte); in ept_reset_bits()
107 return (oldpte & mask); in ept_reset_bits()
H A Dvmm_sol_rvi.c113 uint64_t pte, newpte, oldpte = 0; in rvi_reset_bits() local
120 oldpte = *entry; in rvi_reset_bits()
122 pte = oldpte; in rvi_reset_bits()
124 oldpte = atomic_cas_64(entry, pte, newpte); in rvi_reset_bits()
125 } while (oldpte != pte); in rvi_reset_bits()
127 return (oldpte & mask); in rvi_reset_bits()
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dhat_i86.c3123 x86pte_t oldpte, newpte; in hat_updateattr() local
3132 oldpte = htable_walk(hat, &ht, &vaddr, eaddr); in hat_updateattr()
3143 newpte = oldpte; in hat_updateattr()
3150 !PTE_GET(oldpte, PT_WRITABLE)) in hat_updateattr()
3163 PTE_GET(oldpte, PT_WRITABLE)) in hat_updateattr()
3201 if (newpte != oldpte) { in hat_updateattr()
3203 oldpte = hati_update_pte(ht, entry, oldpte, newpte); in hat_updateattr()
3204 if (oldpte != 0) { in hat_updateattr()
4356 x86pte_t oldpte; in hat_mempte_setup() local
4368 oldpte = x86pte_get(ht, entry); in hat_mempte_setup()
[all …]
H A Dhtable.c2212 x86pte_t oldpte; in x86pte_inval() local
2233 oldpte = GET_PTE(ptep); in x86pte_inval()
2234 if (expect != 0 && (oldpte & PT_PADDR) != (expect & PT_PADDR)) in x86pte_inval()
2251 oldpte = GET_PTE(ptep); in x86pte_inval()
2252 if (expect != 0 && (oldpte & PT_PADDR) != (expect & PT_PADDR)) in x86pte_inval()
2255 found = CAS_PTE(ptep, oldpte, 0); in x86pte_inval()
2257 } while (found != oldpte); in x86pte_inval()
2258 if (tlb && (oldpte & (PT_REF | PT_MOD))) in x86pte_inval()
2264 return (oldpte); in x86pte_inval()