lib/libkvm/kvm_amd64.h
80
_Static_assert(PG_PS == AMD64_PG_PS, "PG_PS mismatch");
lib/libkvm/kvm_i386.h
74
_Static_assert(PG_PS == I386_PG_PS, "PG_PS mismatch");
stand/efi/loader/arch/amd64/elf64_freebsd.c
157
PT2[i] |= PG_V | PG_RW | PG_PS;
stand/efi/loader/arch/amd64/elf64_freebsd.c
219
PG_RW | PG_PS;
stand/efi/loader/arch/amd64/elf64_freebsd.c
227
PT2_u0[0] = PG_PS | PG_V | PG_RW;
stand/efi/loader/arch/amd64/elf64_freebsd.c
232
PG_V | PG_RW | PG_PS;
stand/efi/loader/arch/i386/elf64_freebsd.c
201
PT2[i] = (i * M(2)) | PG_V | PG_RW | PG_PS;
stand/efi/loader/arch/i386/elf64_freebsd.c
263
PT2_l0[i] = ((pd_entry_t)i * M(2)) | PG_V | PG_RW | PG_PS;
stand/efi/loader/arch/i386/elf64_freebsd.c
271
PT2_u0[0] = PG_PS | PG_V | PG_RW;
stand/efi/loader/arch/i386/elf64_freebsd.c
275
| PG_V | PG_RW | PG_PS;
stand/i386/libi386/elf64_freebsd.c
111
PT2[i] |= PG_V | PG_RW | PG_PS;
stand/kboot/kboot/arch/amd64/elf64_freebsd.c
281
PT2[i] |= PG_V | PG_RW | PG_PS;
stand/kboot/kboot/arch/amd64/elf64_freebsd.c
313
PG_RW | PG_PS;
stand/kboot/kboot/arch/amd64/elf64_freebsd.c
321
PT2_u0[0] = PG_PS | PG_V | PG_RW;
stand/kboot/kboot/arch/amd64/elf64_freebsd.c
326
PG_V | PG_RW | PG_PS;
stand/kboot/kboot/arch/amd64/elf64_freebsd.c
364
PG_RW | PG_PS;
stand/kboot/kboot/arch/amd64/elf64_freebsd.c
372
PT2_u0[0] = PG_PS | PG_V | PG_RW;
stand/kboot/kboot/arch/amd64/elf64_freebsd.c
393
PG_V | PG_RW | PG_PS;
stand/userboot/userboot/elf64_freebsd.c
127
PT2[i] |= PG_V | PG_RW | PG_PS;
sys/amd64/acpica/acpi_wakeup.c
446
pt2_0[i] |= PG_V | PG_RW | PG_PS | PG_U;
sys/amd64/acpica/acpi_wakeup.c
450
pt2_1[i] |= PG_V | PG_RW | PG_PS | PG_U;
sys/amd64/acpica/acpi_wakeup.c
454
pt2_2[i] |= PG_V | PG_RW | PG_PS | PG_U;
sys/amd64/acpica/acpi_wakeup.c
458
pt2_3[i] |= PG_V | PG_RW | PG_PS | PG_U;
sys/amd64/amd64/kexec_support.c
104
PG_RW | PG_PS | PG_V;
sys/amd64/amd64/kexec_support.c
111
} else if ((pde[k] & PG_PS) != 0) {
sys/amd64/amd64/kexec_support.c
193
PG_RW | PG_PS;
sys/amd64/amd64/minidump_machdep.c
207
if ((pdpe & PG_PS) != 0) {
sys/amd64/amd64/minidump_machdep.c
226
if ((pde & PG_PS) != 0) {
sys/amd64/amd64/minidump_machdep.c
345
if ((pdpe & PG_PS) != 0) {
sys/amd64/amd64/mp_machdep.c
397
X86_PG_M | PG_PS;
sys/amd64/amd64/mp_machdep.c
402
X86_PG_A | X86_PG_M | PG_PS;
sys/amd64/amd64/mp_machdep.c
407
X86_PG_RW | X86_PG_A | X86_PG_M | PG_PS;
sys/amd64/amd64/mp_machdep.c
412
X86_PG_RW | X86_PG_A | X86_PG_M | PG_PS;
sys/amd64/amd64/pmap.c
10042
if ((*pdpe & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
10050
if ((*pdep & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
10380
if ((*pde & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
10467
if ((*pdp & PG_V) == 0 || (*pdp & PG_PS) != 0)
sys/amd64/amd64/pmap.c
10472
if ((*pde & PG_V) == 0 || (*pde & PG_PS) != 0)
sys/amd64/amd64/pmap.c
11584
if ((*pdpe & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
11611
if ((ptpaddr & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
11998
if ((pdpe & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
12004
if ((pde & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
12116
if ((pdpe & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
12145
if ((pde & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
12233
if ((*pdp & PG_V) == 0 || (*pdp & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
12239
if ((*pde & PG_V) == 0 || (*pde & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
1529
KASSERT((*pdpe & PG_PS) == 0,
sys/amd64/amd64/pmap.c
1546
KASSERT((*pdpe & PG_PS) == 0,
sys/amd64/amd64/pmap.c
1557
KASSERT((*pde & PG_PS) == 0,
sys/amd64/amd64/pmap.c
1574
if ((*pde & PG_PS) != 0) /* compat with i386 pmap_pte() */
sys/amd64/amd64/pmap.c
1902
pd_p[0] = X86_PG_V | PG_PS | pg_g | X86_PG_M | X86_PG_A |
sys/amd64/amd64/pmap.c
1906
pd_p[i] = pax | X86_PG_V | PG_PS | pg_g | X86_PG_M |
sys/amd64/amd64/pmap.c
1954
pd_p[j] |= X86_PG_RW | X86_PG_V | PG_PS | pg_g |
sys/amd64/amd64/pmap.c
1961
pdp_p[i] |= X86_PG_RW | X86_PG_V | PG_PS | pg_g |
sys/amd64/amd64/pmap.c
1988
pd_p[i] = pax | X86_PG_V | PG_PS | pg_g | X86_PG_M |
sys/amd64/amd64/pmap.c
2903
if ((newpde & PG_PS) == 0)
sys/amd64/amd64/pmap.c
3761
if ((*pdpe & PG_PS) != 0)
sys/amd64/amd64/pmap.c
3766
if ((*pde & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
3804
if ((pdpe & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
3814
if ((pde & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
3853
if (pde & PG_PS) {
sys/amd64/amd64/pmap.c
4787
if (pd != NULL && (*pd & (PG_PS | PG_V)) == (PG_PS | PG_V)) {
sys/amd64/amd64/pmap.c
4991
X86_PG_M | PG_PS | pg_g | pg_nx);
sys/amd64/amd64/pmap.c
5306
if ((*pde & PG_PS) != 0)
sys/amd64/amd64/pmap.c
5977
KASSERT((oldpde & (PG_PS | PG_V)) == (PG_PS | PG_V),
sys/amd64/amd64/pmap.c
6042
newpte = oldpde & ~PG_PS;
sys/amd64/amd64/pmap.c
6352
if (pde && (*pde & PG_PS) == 0) {
sys/amd64/amd64/pmap.c
6388
if ((*pdpe & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
6422
if ((ptpaddr & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
6559
KASSERT((*pde & PG_PS) == 0, ("pmap_remove_all: found"
sys/amd64/amd64/pmap.c
6702
if ((*pdpe & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
6741
if ((ptpaddr & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
6985
pmap_update_pde(pmap, va, pde, PG_PS | newpde);
sys/amd64/amd64/pmap.c
6987
pde_store(pde, PG_PROMOTED | PG_PS | newpde);
sys/amd64/amd64/pmap.c
7066
KASSERT((origpte & PG_V) == 0 || ((origpte & PG_PS) != 0 &&
sys/amd64/amd64/pmap.c
7169
rv = pmap_enter_largepage(pmap, va, newpte | PG_PS, flags,
sys/amd64/amd64/pmap.c
7177
rv = pmap_enter_pde(pmap, va, newpte | PG_PS, flags, m, &lock);
sys/amd64/amd64/pmap.c
7188
if (pde != NULL && (*pde & PG_V) != 0 && ((*pde & PG_PS) == 0 ||
sys/amd64/amd64/pmap.c
7393
pmap_cache_bits(pmap, m->md.pat_mode, true) | PG_PS | PG_V;
sys/amd64/amd64/pmap.c
7491
if ((oldpde & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
7510
if ((oldpde & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
7587
(*pde & (PG_PS | PG_V)) == PG_V,
sys/amd64/amd64/pmap.c
7739
if ((*pdpe & PG_PS) != 0)
sys/amd64/amd64/pmap.c
7743
if ((*pde & PG_PS) != 0)
sys/amd64/amd64/pmap.c
7915
pde_store(pde, pa | PG_PS | PG_M | PG_A |
sys/amd64/amd64/pmap.c
7971
if ((*pdpe & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
7989
if ((*pde & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
8096
if ((*pdpe & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
8134
if (srcptepaddr & PG_PS) {
sys/amd64/amd64/pmap.c
8554
if ((tpte & (PG_PS | PG_V)) == PG_V) {
sys/amd64/amd64/pmap.c
8809
if (pde != NULL && (*pde & (PG_PS | PG_V)) == PG_V) {
sys/amd64/amd64/pmap.c
8898
KASSERT((*pde & PG_PS) == 0,
sys/amd64/amd64/pmap.c
9090
KASSERT((*pde & PG_PS) == 0,
sys/amd64/amd64/pmap.c
9188
if ((*pdpe & PG_PS) != 0)
sys/amd64/amd64/pmap.c
9198
else if ((oldpde & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
9357
KASSERT((*pde & PG_PS) == 0, ("pmap_clear_modify: found"
sys/amd64/amd64/pmap.c
9550
KASSERT((oldpdpe & (PG_PS | PG_V)) == (PG_PS | PG_V),
sys/amd64/amd64/pmap.c
9758
if (*pdpe & PG_PS) {
sys/amd64/amd64/pmap.c
9788
if (*pde & PG_PS) {
sys/amd64/amd64/pmap.c
9830
if (*pdpe & PG_PS) {
sys/amd64/amd64/pmap.c
9860
if (*pde & PG_PS) {
sys/amd64/amd64/pmap.c
9981
if ((*pdpe & PG_PS) != 0) {
sys/amd64/amd64/pmap.c
9991
if ((*pde & PG_PS) != 0) {
sys/amd64/vmm/vmm_instruction_emul.c
2146
if (nlevels > 0 && (pte32 & PG_PS) != 0)
sys/amd64/vmm/vmm_instruction_emul.c
2228
if (nlevels > 0 && (pte & PG_PS) != 0) {
sys/i386/i386/minidump_machdep_base.c
183
if ((pde & (PG_PS | PG_V)) == (PG_PS | PG_V)) {
sys/i386/i386/minidump_machdep_base.c
283
if ((pde & (PG_PS | PG_V)) == (PG_PS | PG_V)) {
sys/i386/i386/pmap.c
1175
if ((newpde & PG_PS) == 0)
sys/i386/i386/pmap.c
1502
if (*pde & PG_PS)
sys/i386/i386/pmap.c
1563
if (*pde & PG_PS)
sys/i386/i386/pmap.c
1600
if (*pde & PG_PS)
sys/i386/i386/pmap.c
1658
if ((pa = pte_load(&PTD[va >> PDRSHIFT])) & PG_PS) {
sys/i386/i386/pmap.c
1691
if ((pde & PG_PS) != 0)
sys/i386/i386/pmap.c
1720
if (pde & PG_PS) {
sys/i386/i386/pmap.c
1823
newpde = start | PG_PS | PG_RW | PG_V;
sys/i386/i386/pmap.c
2178
if (ptepa & PG_PS) {
sys/i386/i386/pmap.c
2356
if ((*pde & PG_PS) != 0)
sys/i386/i386/pmap.c
2767
KASSERT((oldpde & (PG_PS | PG_V)) == (PG_PS | PG_V),
sys/i386/i386/pmap.c
2840
newpte = oldpde & ~PG_PS;
sys/i386/i386/pmap.c
3115
((pmap->pm_pdir[(sva >> PDRSHIFT)] & PG_PS) == 0)) {
sys/i386/i386/pmap.c
3145
if ((ptpaddr & PG_PS) != 0) {
sys/i386/i386/pmap.c
3233
KASSERT((*pde & PG_PS) == 0, ("pmap_remove_all: found"
sys/i386/i386/pmap.c
3366
if ((ptpaddr & PG_PS) != 0) {
sys/i386/i386/pmap.c
3621
pmap_update_pde(pmap, va, pde, PG_PS | newpde);
sys/i386/i386/pmap.c
3623
pmap_kenter_pde(va, PG_PROMOTED | PG_PS | newpde);
sys/i386/i386/pmap.c
3625
pde_store(pde, PG_PROMOTED | PG_PS | newpde);
sys/i386/i386/pmap.c
3699
rv = pmap_enter_pde(pmap, va, newpte | PG_PS, flags, m);
sys/i386/i386/pmap.c
3728
if ((*pde & PG_PS) != 0)
sys/i386/i386/pmap.c
3920
pmap_cache_bits(pmap, m->md.pat_mode, true) | PG_PS | PG_V;
sys/i386/i386/pmap.c
3981
if ((oldpde & PG_PS) != 0) {
sys/i386/i386/pmap.c
3996
if ((oldpde & PG_PS) != 0) {
sys/i386/i386/pmap.c
4194
if (ptepa & PG_PS)
sys/i386/i386/pmap.c
4347
pde_store(pde, pa | PG_PS | PG_M | PG_A |
sys/i386/i386/pmap.c
4393
if ((*pde & PG_PS) != 0) {
sys/i386/i386/pmap.c
4503
if (srcptepaddr & PG_PS) {
sys/i386/i386/pmap.c
4878
if ((tpte & PG_PS) == 0) {
sys/i386/i386/pmap.c
4915
if ((tpte & PG_PS) != 0) {
sys/i386/i386/pmap.c
4927
if ((tpte & PG_PS) != 0) {
sys/i386/i386/pmap.c
5042
if (pde != 0 && (pde & PG_PS) == 0)
sys/i386/i386/pmap.c
5135
KASSERT((*pde & PG_PS) == 0, ("pmap_clear_write: found"
sys/i386/i386/pmap.c
5253
KASSERT((*pde & PG_PS) == 0,
sys/i386/i386/pmap.c
531
pseflag = PG_PS;
sys/i386/i386/pmap.c
5313
else if ((oldpde & PG_PS) != 0) {
sys/i386/i386/pmap.c
537
IdlePTD[a >> PDRSHIFT] = a | PG_PS | PG_A | PG_M |
sys/i386/i386/pmap.c
5458
KASSERT((*pde & PG_PS) == 0, ("pmap_clear_modify: found"
sys/i386/i386/pmap.c
5747
if (*pde & PG_PS) {
sys/i386/i386/pmap.c
5790
if (*pde & PG_PS) {
sys/i386/i386/pmap.c
5833
if ((pde & PG_PS) != 0) {
sys/i386/i386/pmap.c
6318
if ((pde & PG_PS) != 0) {
sys/i386/i386/pmap.c
6380
if ((pde & PG_PS) != 0) {