Home
last modified time | relevance | path

Searched refs:oldl3 (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/arm64/arm64/
H A Dpmap.c4712 pt_entry_t all_l3e_AF, *firstl3, *l3, newl2, oldl3, pa; in pmap_promote_l2() local
4781 oldl3 = pmap_load(l3); in pmap_promote_l2()
4782 if ((PTE_TO_PHYS(oldl3) | (oldl3 & ATTR_DESCR_MASK)) != pa) { in pmap_promote_l2()
4789 if ((oldl3 & (ATTR_S1_AP_RW_BIT | ATTR_SW_DBM)) == in pmap_promote_l2()
4796 if (!atomic_fcmpset_64(l3, &oldl3, oldl3 & in pmap_promote_l2()
4799 oldl3 &= ~ATTR_SW_DBM; in pmap_promote_l2()
4801 if ((oldl3 & ATTR_PROMOTE) != (newl2 & ATTR_PROMOTE)) { in pmap_promote_l2()
4807 all_l3e_AF &= oldl3; in pmap_promote_l2()
4860 pd_entry_t all_l3e_AF, firstl3c, *l3, oldl3, pa; in pmap_promote_l3c() local
4922 oldl3 = pmap_load(l3); in pmap_promote_l3c()
[all …]
/freebsd/sys/riscv/riscv/
H A Dpmap.c4469 pt_entry_t *l3, oldl3, newl3; in pmap_remove_write() local
4526 oldl3 = pmap_load(l3); in pmap_remove_write()
4528 if ((oldl3 & PTE_W) != 0) { in pmap_remove_write()
4529 newl3 = oldl3 & ~(PTE_D | PTE_W); in pmap_remove_write()
4530 if (!atomic_fcmpset_long(l3, &oldl3, newl3)) in pmap_remove_write()
4532 if ((oldl3 & PTE_D) != 0) in pmap_remove_write()