Lines Matching defs:pa
477 #define pa_index(pa) (i386_btop(pa))
976 pmap_paddr_t pa;
985 pa = (pmap_paddr_t) kvtophys(va);
986 pmap_store_pte(ptep, (pa & PG_FRAME)
1166 pmap_paddr_t pa;
1167 pa = (pmap_paddr_t) kvtophys(va + i386_ptob(i));
1170 (pa & PG_FRAME) | INTEL_PTE_VALID | INTEL_PTE_RW | INTEL_PTE_REF |
1172 pmap_store_pte(pdpt, pa | INTEL_PTE_VALID);
1638 pmap_paddr_t pa;
1639 pa = (pmap_paddr_t) kvtophys(va + i386_ptob(i));
1640 pmap_store_pte(pdpt, pa | template);
1933 pmap_paddr_t pa;
1959 pa = pte_to_pa(*cpte);
1960 if (pa == 0)
1967 pai = pa_index(pa);
1995 pa = pte_to_pa(*cpte);
1996 if (pa == 0)
1999 pai = pa_index(pa);
2003 pa = pte_to_pa(*cpte);
2004 if (pa == 0) {
2441 ppnum_t pa)
2443 pmap_page_protect(pa, 0); /* disconnect the page */
2444 return (pmap_get_refmod(pa)); /* return ref/chg status */
2535 ppnum_t pa,
2544 pmap_enter(pmap, va, pa, prot, attr, TRUE);
2546 pa++;
2580 pmap_paddr_t pa = (pmap_paddr_t)i386_ptob(pn);
2661 if (old_pa == pa) {
2667 template = pa_to_pte(pa) | INTEL_PTE_VALID;
2845 pai = pa_index(pa); /* now working with new incoming phys page */
2928 template = pa_to_pte(pa) | INTEL_PTE_VALID;
3069 register pmap_paddr_t pa;
3093 pa = i386_ptob(pn);
3139 pmap_store_pte(pml4p, pa_to_pte(pa)
3156 register pmap_paddr_t pa;
3183 pa = i386_ptob(pn);
3229 pmap_store_pte(pdptp, pa_to_pte(pa)
3264 register pmap_paddr_t pa;
3295 pa = i386_ptob(pn);
3346 pmap_store_pte(pdp, pa_to_pte(pa)
3358 * pmap_sync_page_data_phys(ppnum_t pa)
3365 pmap_sync_page_data_phys(__unused ppnum_t pa)
3371 * pmap_sync_page_attributes_phys(ppnum_t pa)
3376 pmap_sync_page_attributes_phys(ppnum_t pa)
3378 cache_flush_page_phys(pa);
3812 pmap_get_refmod(ppnum_t pa)
3817 refmod = phys_attribute_test(pa, PHYS_MODIFIED | PHYS_REFERENCED);
3833 pmap_clear_refmod(ppnum_t pa, unsigned int mask)
3839 phys_attribute_clear(pa, x86Mask);
3886 extern void db_show_page(pmap_paddr_t pa);
3890 db_show_page(pmap_paddr_t pa)
3896 pai = pa_index(pa);
3900 printf("phys page %llx ", pa);
3967 db_printf(" tab[%4d]: 0x%x, va=0x%x, pa=0x%x\n",