Lines Matching defs:phys
219 * reserve virt range, find available phys pages,
220 * and map-in each phys starting at vaddr
226 physaddr_t phys;
242 * map virt page to free phys
245 phys = PN_TO_ADDR(ppn);
247 err = prom_map_phys(-1, MMU_PAGESIZE, virt, phys);
249 prom_printf(" map virt 0x%p, phys 0x%llx, "
250 "ppn 0x%x, ret %d\n", (void *)virt, phys, ppn, err);
365 * since kernel phys pages span most of the installed memory range,
368 * of buf phys page numbers is created here and later updated as
395 * create identity map of sfile.buf phys pages
419 physaddr_t phys;
435 phys = PN_TO_ADDR(ppn);
436 err = prom_claim_phys(size, phys);
502 * search for an available phys page,
503 * copy the old phys page to the new one
504 * and remap the virt page to the new phys
577 * relocate phys page