Lines Matching refs:firstpte
316 static void pmap_fill_ptp(pt_entry_t *firstpte, pt_entry_t newpte);
2650 pmap_fill_ptp(pt_entry_t *firstpte, pt_entry_t newpte)
2654 for (pte = firstpte; pte < firstpte + NPTEPG; pte++) {
2668 pt_entry_t *firstpte, newpte;
2714 firstpte = &KPTmap[i386_btop(trunc_4mpage(va))];
2732 firstpte = PADDR1;
2739 firstpte = PADDR2;
2755 pmap_fill_ptp(firstpte, newpte);
2757 KASSERT((*firstpte & PG_FRAME) == (newpte & PG_FRAME),
2758 ("pmap_demote_pde: firstpte and newpte map different physical"
2765 if ((*firstpte & PG_PTE_PROMOTE) != (newpte & PG_PTE_PROMOTE))
2766 pmap_fill_ptp(firstpte, newpte);
2781 if (firstpte == PADDR2)
3358 pt_entry_t *firstpte, oldpte, pa, *pte;
3369 firstpte = pmap_pte_quick(pmap, trunc_4mpage(va));
3371 newpde = *firstpte;
3378 if ((*firstpte & PG_MANAGED) != 0 && pmap == kernel_pmap) {
3389 if (!atomic_cmpset_int((u_int *)firstpte, newpde, newpde &
3401 for (pte = firstpte + NPTEPG - 1; pte > firstpte; pte--) {