Lines Matching defs:phys_page
238 * but we must initialize phys_page to something.
431 m->phys_page = 0; /* reset later */
586 ppnum_t phys_page;
627 if (!pmap_next_page(&phys_page))
635 pmap_enter(kernel_pmap, vaddr, phys_page,
654 ppnum_t phys_page;
674 if (!pmap_next_page(&phys_page))
677 vm_page_init(&vm_pages[i], phys_page);
703 if (m->phys_page >= (1 << (32 - PAGE_SHIFT)))
706 if (m->phys_page < vm_lopage_poolend)
709 vm_lopage_poolend = m->phys_page;
712 vm_lopage_poolstart = m->phys_page;
714 if (m->phys_page < vm_lopage_poolstart)
719 fillPage(m->phys_page, fillval); /* Fill the page with a know value if requested at boot */
729 if(fill) fillPage(vm_pages[i - 1].phys_page, fillval); /* Fill the page with a know value if requested at boot */
743 if(fill) fillPage(vm_pages[i - 1].phys_page, fillval); /* Fill the page with a know value if requested at boot */
773 if((xx->phys_page & 0xFFFFFFFF) == (xxo->phys_page & 0xFFFFFFFF)) { /* (BRINGUP) */
845 ppnum_t phys_page;
848 for (phys_page = start;
849 phys_page < end;
850 phys_page++) {
855 vm_page_init(m, phys_page);
1336 ppnum_t phys_page)
1338 assert(phys_page);
1340 mem->phys_page = phys_page;
1396 assert(m->phys_page == vm_page_fictitious_addr ||
1397 m->phys_page == vm_page_guard_addr);
1619 assert(pmap_verify_free(mem->phys_page));
1729 assert(pmap_verify_free(mem->phys_page));
1784 // dbgLog(mem->phys_page, vm_page_free_count, vm_page_wire_count, 4); /* (TEST/DEBUG) */
1804 physent = mapping_phys_lookup(mem->phys_page, &pindex); /* (BRINGUP) */
1806 panic("vm_page_release: already released - %08X %08X\n", mem, mem->phys_page);
1812 // dbgLog(mem->phys_page, vm_page_free_count, vm_page_wire_count, 5); /* (TEST/DEBUG) */
1829 if (mem->phys_page <= vm_lopage_poolend && mem->phys_page >= vm_lopage_poolstart) {
1841 color = mem->phys_page & vm_color_mask;
2050 assert(pmap_verify_free(mem->phys_page));
2107 mem->phys_page = vm_page_fictitious_addr;
2114 vm_page_init(mem, mem->phys_page);
2165 assert(pmap_verify_free(mem->phys_page));
2174 if (mem->phys_page <= vm_lopage_poolend && mem->phys_page >= vm_lopage_poolstart) {
2180 color = mem->phys_page & vm_color_mask;
2192 assert(mem->phys_page == vm_page_fictitious_addr ||
2193 mem->phys_page == vm_page_guard_addr);
2446 assert(m->phys_page != vm_page_guard_addr);
2448 // dbgLog(m->phys_page, vm_page_free_count, vm_page_wire_count, 6); /* (TEST/DEBUG) */
2471 if (!pmap_is_referenced(m->phys_page))
2475 pmap_clear_reference(m->phys_page);
2534 assert(m->phys_page != vm_page_guard_addr);
2600 assert(m->phys_page != vm_page_guard_addr);
2707 assert(m->phys_page != vm_page_guard_addr);
2748 pmap_zero_part_page(m->phys_page, m_pa, len);
2789 // dbgTrace(0xAEAEAEAE, m->phys_page, 0); /* (BRINGUP) */
2790 pmap_zero_page(m->phys_page);
2810 pmap_copy_part_page(src_m->phys_page, src_pa,
2811 dst_m->phys_page, dst_pa, len);
2873 pmap_copy_page(src_m->phys_page, dest_m->phys_page);
2890 prev_addr = pages->phys_page;
2893 if (m->phys_page != prev_addr + 1) {
2895 m, prev_addr, m->phys_page);
2899 prev_addr = m->phys_page;
2939 if ( (m->phys_page & vm_color_mask) != color)
3061 if (max_pnum && m->phys_page > max_pnum) {
3065 if (m->phys_page <= vm_lopage_poolend &&
3066 m->phys_page >= vm_lopage_poolstart) {
3112 if (m->phys_page != prevcontaddr + 1) {
3118 prevcontaddr = m->phys_page;
3205 color = m1->phys_page & vm_color_mask;
3296 refmod = pmap_disconnect(m1->phys_page);
3325 pmap_clear_refmod(m2->phys_page, VM_MEM_MODIFIED | VM_MEM_REFERENCED);
3599 iprintf("phys_page=0x%x", p->phys_page);