Lines Matching defs:vaddr
215 * in a loop until it finishes the range or is returned a vaddr of 0.
299 * Returns 0 if mapping was successful. Returns vaddr that overlaps/collides.
333 panic("mapping_make: attempt to map unaligned vaddr - pmap = %p, va = %016llX, cfg = %d\n",
431 * Looks up the vaddr and returns the mapping and the next mapped va
1300 panic("mapping_free_init: could not find translation for vaddr %016llX\n", (addr64_t)mbl);
1514 va = mp->mpVAddr & -4096; /* If so, get the cleaned up vaddr */
1599 addr64_t nextva, vaddr = 0, paddr;
1620 vaddr = sink; /* Sink side is virtual */
1624 vaddr = source; /* Source side is virtual */
1634 if(!bothphys && (needtran || !(vaddr & 4095LL))) { /* If first time or we stepped onto a new page, we need to translate */
1641 mp = mapping_find(map->pmap, vaddr, &nextva, 1); /* Find and busy the mapping */
1644 panic("copypv: No vaild mapping on memory %s %16llx", "RD", vaddr);
1647 ret = vm_fault(map, vm_map_trunc_page(vaddr), prot, FALSE, THREAD_UNINT, NULL, 0); /* Didn't find it, try to fault it in... */
1670 panic("copypv: No vaild mapping on memory %s %16llx", "RDWR", vaddr);
1673 ret = vm_fault(map, vm_map_trunc_page(vaddr), VM_PROT_READ | VM_PROT_WRITE, FALSE, THREAD_UNINT, NULL, 0); /* check for a COW area */
1677 paddr = ((addr64_t)mp->mpPAddr << 12) + (vaddr - (mp->mpVAddr & -4096LL)); /* construct the physical address... this calculation works */
1711 vaddr = vaddr + csize; /* Move to next sink address */