Home
last modified time | relevance | path

Searched refs:PTE_W (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/riscv/include/
H A Dpte.h77 #define PTE_W (1 << 2) /* Write */ macro
80 #define PTE_RWX (PTE_R | PTE_W | PTE_X)
82 #define PTE_KERN (PTE_V | PTE_R | PTE_W | PTE_A | PTE_D)
/freebsd/sys/powerpc/include/
H A Dpte.h94 #define PTE_W 0x00000040 macro
133 #define LPTE_W EXTEND_PTE( PTE_W )
248 #define PTE_W (MAS2_W << PTE_MAS2_SHIFT) macro
/freebsd/sys/riscv/riscv/
H A Dpmap.c1132 if ((l3 & PTE_W) != 0 || (prot & VM_PROT_WRITE) == 0) { in pmap_extract_and_hold()
2709 mask |= PTE_W | PTE_D; in pmap_protect()
2828 (ftype == VM_PROT_WRITE && (oldpte & PTE_W) == 0) || in pmap_fault()
2870 KASSERT((oldl1 & (PTE_D | PTE_W)) != PTE_W, in pmap_demote_l1()
2971 KASSERT((oldl2 & (PTE_D | PTE_W)) != PTE_W, in pmap_demote_l2_locked()
3062 while ((firstl3e & (PTE_W | PTE_D)) == PTE_W) { in pmap_promote_l2()
3063 if (atomic_fcmpset_64(firstl3, &firstl3e, firstl3e & ~PTE_W)) { in pmap_promote_l2()
3064 firstl3e &= ~PTE_W; in pmap_promote_l2()
3085 while ((l3e & (PTE_W | PTE_D)) == PTE_W) { in pmap_promote_l2()
3086 if (atomic_fcmpset_64(l3, &l3e, l3e & ~PTE_W)) { in pmap_promote_l2()
[all …]
/freebsd/lib/libkvm/
H A Dkvm_riscv.h81 _Static_assert(PTE_W == RISCV_PTE_W, "PTE_W mismatch");
/freebsd/sys/powerpc/aim/
H A Dmmu_oea.c409 return (PTE_W | PTE_M); in moea_calc_wimg()