Symbol: PTE_W
lib/libkvm/kvm_riscv.h
81
_Static_assert(PTE_W == RISCV_PTE_W, "PTE_W mismatch");
sys/powerpc/aim/mmu_oea.c
410
return (PTE_W | PTE_M);
sys/powerpc/include/pte.h
133
#define LPTE_W EXTEND_PTE( PTE_W )
sys/riscv/include/pte.h
80
#define PTE_RWX (PTE_R | PTE_W | PTE_X)
sys/riscv/include/pte.h
82
#define PTE_KERN (PTE_V | PTE_R | PTE_W | PTE_A | PTE_D)
sys/riscv/iommu/iommu_pmap.c
462
new_l3 |= PTE_W;
sys/riscv/riscv/pmap.c
1220
if ((l2 & PTE_W) != 0 || (prot & VM_PROT_WRITE) == 0) {
sys/riscv/riscv/pmap.c
1227
if ((l3 & PTE_W) != 0 || (prot & VM_PROT_WRITE) == 0)
sys/riscv/riscv/pmap.c
2819
mask |= PTE_W | PTE_D;
sys/riscv/riscv/pmap.c
2962
(ftype == VM_PROT_WRITE && (oldpte & PTE_W) == 0) ||
sys/riscv/riscv/pmap.c
3004
KASSERT((oldl1 & (PTE_D | PTE_W)) != PTE_W,
sys/riscv/riscv/pmap.c
3105
KASSERT((oldl2 & (PTE_D | PTE_W)) != PTE_W,
sys/riscv/riscv/pmap.c
3196
while ((firstl3e & (PTE_W | PTE_D)) == PTE_W) {
sys/riscv/riscv/pmap.c
3197
if (atomic_fcmpset_64(firstl3, &firstl3e, firstl3e & ~PTE_W)) {
sys/riscv/riscv/pmap.c
3198
firstl3e &= ~PTE_W;
sys/riscv/riscv/pmap.c
3219
while ((l3e & (PTE_W | PTE_D)) == PTE_W) {
sys/riscv/riscv/pmap.c
3220
if (atomic_fcmpset_64(l3, &l3e, l3e & ~PTE_W)) {
sys/riscv/riscv/pmap.c
3221
l3e &= ~PTE_W;
sys/riscv/riscv/pmap.c
3311
new_l3 |= PTE_W;
sys/riscv/riscv/pmap.c
3410
(new_l3 & PTE_W) != 0)
sys/riscv/riscv/pmap.c
3473
if ((new_l3 & PTE_W) != 0)
sys/riscv/riscv/pmap.c
3705
if ((new_l2 & PTE_W) != 0)
sys/riscv/riscv/pmap.c
4415
if ((tpte & (PTE_D | PTE_W)) ==
sys/riscv/riscv/pmap.c
4416
(PTE_D | PTE_W)) {
sys/riscv/riscv/pmap.c
4629
if ((pmap_load(l2) & PTE_W) != 0)
sys/riscv/riscv/pmap.c
4656
if ((oldl3 & PTE_W) != 0) {
sys/riscv/riscv/pmap.c
4657
newl3 = oldl3 & ~(PTE_D | PTE_W);
sys/riscv/riscv/pmap.c
4731
if ((l2e & (PTE_W | PTE_D)) == (PTE_W | PTE_D)) {
sys/riscv/riscv/pmap.c
4887
if ((oldl2 & PTE_W) != 0 &&
sys/riscv/riscv/pmap.c
4896
pmap_clear_bits(l3, PTE_D | PTE_W);
sys/riscv/riscv/pmap.c
4919
if ((pmap_load(l3) & (PTE_D | PTE_W)) == (PTE_D | PTE_W)) {
sys/riscv/riscv/pmap.c
4920
pmap_clear_bits(l3, PTE_D | PTE_W);
sys/riscv/riscv/pmap.c
5478
(range->attrs & PTE_W) == PTE_W ? 'w' : '-',