Searched refs:oldpte (Results 1 - 5 of 5) sorted by relevance

/freebsd-current/sys/i386/i386/
H A Dpmap.c1857 pt_entry_t *endpte, oldpte, pa, *pte; local
1860 oldpte = 0;
1868 oldpte |= *pte;
1873 if (__predict_false((oldpte & PG_V) != 0))
3008 pt_entry_t oldpte; local
3013 oldpte = pte_load_clear(ptq);
3014 KASSERT(oldpte != 0,
3016 if (oldpte & PG_W)
3022 if (oldpte & PG_G)
3025 if (oldpte
3478 pt_entry_t allpte_PG_A, *firstpte, oldpte, pa, *pte; local
5108 pt_entry_t oldpte, *pte; local
[all...]
/freebsd-current/sys/powerpc/aim/
H A Dmmu_radix.c2431 pt_entry_t oldpte, *pte; local
2479 oldpte = be64toh(*pte);
2481 htobe64(oldpte),
2482 htobe64((oldpte | RPTE_EAA_R) & ~(PG_M | PG_RW))))
2483 oldpte = be64toh(*pte);
2727 pt_entry_t *firstpte, oldpte, pa, *pte; local
2763 oldpte = be64toh(*pte);
2764 if ((oldpte & (PG_FRAME | PG_A | PG_V)) != pa) {
2769 if ((oldpte & (PG_M | PG_RW)) == PG_RW) {
2774 if (!atomic_cmpset_long(pte, htobe64(oldpte), htobe6
4654 pt_entry_t oldpte, pa, *pte; local
5107 pt_entry_t oldpte; local
5610 pt_entry_t oldpte, *pte; local
[all...]
/freebsd-current/sys/amd64/amd64/
H A Dpmap.c4037 pt_entry_t *endpte, oldpte, pa, *pte; local
4041 oldpte = 0;
4049 oldpte |= *pte;
4055 if (__predict_false((oldpte & X86_PG_V) != 0))
6273 pt_entry_t oldpte, PG_A, PG_M, PG_RW; local
6281 oldpte = pte_load_clear(ptq);
6282 if (oldpte & PG_W)
6285 if (oldpte & PG_MANAGED) {
6286 m = PHYS_TO_VM_PAGE(oldpte & PG_FRAME);
6287 if ((oldpte
6876 pt_entry_t *firstpte, oldpte, pa, *pte; local
8862 pt_entry_t oldpte, *pte, PG_M, PG_RW; local
[all...]
/freebsd-current/sys/riscv/riscv/
H A Dpmap.c2628 pt_entry_t bits, *pte, oldpte; local
2640 if (pte == NULL || ((oldpte = pmap_load(pte)) & PTE_V) == 0)
2644 oldpte = l2e;
2647 if ((pmap != kernel_pmap && (oldpte & PTE_U) == 0) ||
2648 (ftype == VM_PROT_WRITE && (oldpte & PTE_W) == 0) ||
2649 (ftype == VM_PROT_EXECUTE && (oldpte & PTE_X) == 0) ||
2650 (ftype == VM_PROT_READ && (oldpte & PTE_R) == 0))
2662 if ((oldpte & bits) != bits)
/freebsd-current/sys/arm64/arm64/
H A Dpmap.c7084 pt_entry_t oldpte, *pte, set, clear, mask, val; local
7135 oldpte = pmap_load(pte);
7136 if ((oldpte & ATTR_SW_DBM) != 0) {
7137 if ((oldpte & ATTR_CONTIGUOUS) != 0) {
7144 oldpte = pmap_load(pte);
7158 while (!atomic_fcmpset_64(pte, &oldpte,
7159 (oldpte | set) & ~clear))
7162 if ((oldpte & mask) == val)

Completed in 292 milliseconds