Lines Matching defs:pn
204 ppnum_t pn);
212 ppnum_t pn);
1413 unsigned int pn;
1421 for (pn = pmptr->base; pn <= pmptr->end; pn++) {
1422 if (pn < last_pn) {
1423 pmap_phys_attributes[pn] |= PHYS_MANAGED;
1425 if (pn > last_managed_page)
1426 last_managed_page = pn;
1496 ppnum_t pn)
1502 assert(pn != vm_page_fictitious_addr);
1507 if (pn == vm_page_guard_addr)
1510 pai = ppn_to_pai(pn);
1513 pv_h = pai_to_pvh(pn);
2140 __unused ppnum_t pn)
2258 ppnum_t pn,
2275 assert(pn != vm_page_fictitious_addr);
2276 if (pn == vm_page_guard_addr)
2279 pai = ppn_to_pai(pn);
2289 (int) pn, (int) prot, 0, 0, 0);
2326 kprintf("pmap_page_protect pmap %p pn 0x%x vaddr 0x%llx\n",pmap, pn, vaddr);
2567 ppnum_t pn,
2580 pmap_paddr_t pa = (pmap_paddr_t)i386_ptob(pn);
2589 assert(pn != vm_page_fictitious_addr);
2591 printf("pmap(%qx, %x)\n", vaddr, pn);
2594 if (pn == vm_page_guard_addr)
2600 (int) pn, prot);
2893 pvh_e->ppn = pn;
3072 ppnum_t pn;
3092 pn = m->phys_page;
3093 pa = i386_ptob(pn);
3099 pmap_zero_page(pn);
3159 ppnum_t pn;
3182 pn = m->phys_page;
3183 pa = i386_ptob(pn);
3189 pmap_zero_page(pn);
3267 ppnum_t pn;
3294 pn = m->phys_page;
3295 pa = i386_ptob(pn);
3301 pmap_zero_page(pn);
3535 ppnum_t pn,
3545 assert(pn != vm_page_fictitious_addr);
3546 if (pn == vm_page_guard_addr)
3549 pai = ppn_to_pai(pn);
3559 (int) pn, bits, 0, 0, 0);
3618 ppnum_t pn,
3629 assert(pn != vm_page_fictitious_addr);
3630 if (pn == vm_page_guard_addr)
3633 pai = ppn_to_pai(pn);
3706 ppnum_t pn,
3712 assert(pn != vm_page_fictitious_addr);
3713 if (pn == vm_page_guard_addr)
3716 pai = ppn_to_pai(pn);
3737 ppnum_t pn)
3739 phys_attribute_set(pn, PHYS_MODIFIED);
3748 ppnum_t pn)
3750 phys_attribute_clear(pn, PHYS_MODIFIED);
3762 ppnum_t pn)
3764 if (phys_attribute_test(pn, PHYS_MODIFIED))
3778 ppnum_t pn)
3780 phys_attribute_clear(pn, PHYS_REFERENCED);
3784 pmap_set_reference(ppnum_t pn)
3786 phys_attribute_set(pn, PHYS_REFERENCED);
3798 ppnum_t pn)
3800 if (phys_attribute_test(pn, PHYS_REFERENCED))
4016 ppnum_t pn)
4018 assert(pn != vm_page_fictitious_addr);
4023 if (pn == vm_page_guard_addr)
4026 if (!managed_page(ppn_to_pai(pn)))
4637 unsigned int pmap_cache_attributes(ppnum_t pn) {
4639 if (!managed_page(ppn_to_pai(pn)))