Symbol: PG_W
sys/amd64/amd64/pmap.c
5309
if ((*pte & PG_W) != 0)
sys/amd64/amd64/pmap.c
5988
if ((oldpde & PG_W) == 0) {
sys/amd64/amd64/pmap.c
5997
KASSERT((oldpde & PG_W) == 0,
sys/amd64/amd64/pmap.c
6163
if (oldpde & PG_W)
sys/amd64/amd64/pmap.c
6225
if (oldpte & PG_W)
sys/amd64/amd64/pmap.c
6563
if (tpte & PG_W)
sys/amd64/amd64/pmap.c
7070
if ((pten & PG_W) != 0 && (origpte & PG_W) == 0)
sys/amd64/amd64/pmap.c
7072
else if ((pten & PG_W) == 0 && (origpte & PG_W) != 0)
sys/amd64/amd64/pmap.c
7146
newpte |= PG_W;
sys/amd64/amd64/pmap.c
7226
if ((newpte & PG_W) != 0 && (origpte & PG_W) == 0)
sys/amd64/amd64/pmap.c
7228
else if ((newpte & PG_W) == 0 && (origpte & PG_W) != 0)
sys/amd64/amd64/pmap.c
7307
if ((newpte & PG_W) != 0)
sys/amd64/amd64/pmap.c
7563
if ((newpde & PG_W) != 0 && pmap != kernel_pmap) {
sys/amd64/amd64/pmap.c
7614
if ((newpde & PG_W) != 0)
sys/amd64/amd64/pmap.c
7978
atomic_clear_long(pdpe, PG_W);
sys/amd64/amd64/pmap.c
7990
if ((*pde & PG_W) == 0)
sys/amd64/amd64/pmap.c
7999
atomic_clear_long(pde, PG_W);
sys/amd64/amd64/pmap.c
8012
if ((*pte & PG_W) == 0)
sys/amd64/amd64/pmap.c
8021
atomic_clear_long(pte, PG_W);
sys/amd64/amd64/pmap.c
8120
*pdpe = srcptepaddr & ~PG_W;
sys/amd64/amd64/pmap.c
8155
srcptepaddr &= ~PG_W;
sys/amd64/amd64/pmap.c
8204
*dst_pte = ptetemp & ~(PG_W | PG_M | PG_A);
sys/amd64/amd64/pmap.c
8410
if ((*pte & PG_W) != 0)
sys/amd64/amd64/pmap.c
8431
if ((*pte & PG_W) != 0)
sys/amd64/amd64/pmap.c
8582
if (tpte & PG_W) {
sys/amd64/amd64/pmap.c
9015
(oldpde & PG_W) == 0) {
sys/amd64/amd64/pmap.c
9101
} else if ((*pte & PG_W) == 0) {
sys/amd64/amd64/pmap.c
9221
if ((oldpde & PG_W) == 0) {
sys/amd64/amd64/pmap.c
9328
(oldpde & PG_W) == 0) {
sys/amd64/include/pmap.h
84
#define PG_PTE_PROMOTE (PG_NX | PG_MANAGED | PG_W | PG_G | PG_PTE_CACHE | \
sys/i386/i386/pmap.c
196
#define pmap_pte_w(pte) ((*(int *)pte & PG_W) != 0)
sys/i386/i386/pmap.c
201
#define pmap_pte_set_w(pte, v) ((v) ? atomic_set_int((u_int *)(pte), PG_W) : \
sys/i386/i386/pmap.c
202
atomic_clear_int((u_int *)(pte), PG_W))
sys/i386/i386/pmap.c
2360
if ((tpte & PG_W) == 0)
sys/i386/i386/pmap.c
2363
if ((tpte & PG_W) != 0)
sys/i386/i386/pmap.c
2771
KASSERT((oldpde & PG_W) == 0,
sys/i386/i386/pmap.c
2956
if (oldpde & PG_W)
sys/i386/i386/pmap.c
3013
if (oldpte & PG_W)
sys/i386/i386/pmap.c
3239
if (tpte & PG_W)
sys/i386/i386/pmap.c
3685
newpte |= PG_W;
sys/i386/i386/pmap.c
3756
if ((newpte & PG_W) != 0 && (origpte & PG_W) == 0)
sys/i386/i386/pmap.c
3758
else if ((newpte & PG_W) == 0 && (origpte & PG_W) != 0)
sys/i386/i386/pmap.c
3836
if ((newpte & PG_W) != 0)
sys/i386/i386/pmap.c
4030
if ((newpde & PG_W) != 0 && pmap != kernel_pmap) {
sys/i386/i386/pmap.c
4072
if ((newpde & PG_W) != 0)
sys/i386/i386/pmap.c
4394
if ((*pde & PG_W) == 0)
sys/i386/i386/pmap.c
4408
atomic_clear_int((u_int *)pde, PG_W);
sys/i386/i386/pmap.c
4432
if ((*pte & PG_W) == 0)
sys/i386/i386/pmap.c
4443
atomic_clear_int((u_int *)pte, PG_W);
sys/i386/i386/pmap.c
4511
~PG_W;
sys/i386/i386/pmap.c
4546
*dst_pte = ptetemp & ~(PG_W | PG_M |
sys/i386/i386/pmap.c
4806
if ((*pte & PG_W) != 0)
sys/i386/i386/pmap.c
4893
if (tpte & PG_W) {
sys/i386/i386/pmap.c
5230
(*pde & PG_W) == 0) {
sys/i386/i386/pmap.c
5342
if ((oldpde & PG_W) == 0) {
sys/i386/i386/pmap.c
5435
(oldpde & PG_W) == 0) {
sys/i386/include/pmap.h
82
#define PG_PTE_PROMOTE (PG_MANAGED | PG_W | PG_G | PG_PTE_PAT | \
sys/powerpc/aim/mmu_radix.c
1460
if ((be64toh(*pte) & PG_W) != 0)
sys/powerpc/aim/mmu_radix.c
2278
if ((oldl3e & PG_W) == 0) {
sys/powerpc/aim/mmu_radix.c
2469
(oldl3e & PG_W) == 0) {
sys/powerpc/aim/mmu_radix.c
2585
*l3e = htobe64(srcptepaddr & ~PG_W);
sys/powerpc/aim/mmu_radix.c
2629
*dst_pte = htobe64(ptetemp & ~(PG_W | PG_M |
sys/powerpc/aim/mmu_radix.c
2863
newpte |= PG_W;
sys/powerpc/aim/mmu_radix.c
2945
if ((newpte & PG_W) != 0 && (origpte & PG_W) == 0)
sys/powerpc/aim/mmu_radix.c
2947
else if ((newpte & PG_W) == 0 && (origpte & PG_W) != 0)
sys/powerpc/aim/mmu_radix.c
3050
if ((newpte & PG_W) != 0)
sys/powerpc/aim/mmu_radix.c
3264
if ((newpde & PG_W) != 0 && pmap != kernel_pmap) {
sys/powerpc/aim/mmu_radix.c
3310
if ((newpde & PG_W) != 0)
sys/powerpc/aim/mmu_radix.c
3962
(oldl3e & PG_W) == 0) {
sys/powerpc/aim/mmu_radix.c
4204
if ((be64toh(*pte) & PG_W) != 0)
sys/powerpc/aim/mmu_radix.c
4225
if ((be64toh(*pte) & PG_W) != 0)
sys/powerpc/aim/mmu_radix.c
4942
KASSERT((oldpde & PG_W) == 0,
sys/powerpc/aim/mmu_radix.c
5077
if (oldpde & PG_W)
sys/powerpc/aim/mmu_radix.c
5390
if (tpte & PG_W)
sys/powerpc/aim/mmu_radix.c
5519
if (tpte & PG_W) {
sys/powerpc/aim/mmu_radix.c
5738
if ((be64toh(*l3e) & PG_W) == 0)
sys/powerpc/aim/mmu_radix.c
5747
atomic_clear_long(l3e, htobe64(PG_W));
sys/powerpc/aim/mmu_radix.c
5761
if ((be64toh(*pte) & PG_W) == 0)
sys/powerpc/aim/mmu_radix.c
5770
atomic_clear_long(pte, htobe64(PG_W));
sys/powerpc/aim/mmu_radix.c
863
#define PG_PTE_PROMOTE (PG_X | PG_MANAGED | PG_W | PG_PTE_CACHE | \