Lines Matching defs:vaddr
234 vm_offset_t vaddr, blkoff;
271 if (buf_map(bp, (caddr_t *)&vaddr))
279 (void *)vaddr, (size_t)buf_count(bp)); /* This is virtual, just get the data */
285 lop = min((4096 - (vaddr & 4095)), (4096 - (fvaddr & 4095))); /* Get smallest amount left on sink and source */
288 pp = pmap_find_phys(kernel_pmap, (addr64_t)((unsigned int)vaddr)); /* Get the sink physical address */
290 panic("mdevstrategy: sink address %016llX not mapped\n", (addr64_t)((unsigned int)vaddr));
292 paddr = (addr64_t)(((addr64_t)pp << 12) | (addr64_t)(vaddr & 4095)); /* Get actual address */
297 vaddr = vaddr + csize; /* Move to next sink address */
304 bcopy((void *)vaddr, (void *)((uintptr_t)fvaddr),
311 lop = min((4096 - (vaddr & 4095)), (4096 - (fvaddr & 4095))); /* Get smallest amount left on sink and source */
314 pp = pmap_find_phys(kernel_pmap, (addr64_t)((unsigned int)vaddr)); /* Get the source physical address */
316 panic("mdevstrategy: source address %016llX not mapped\n", (addr64_t)((unsigned int)vaddr));
318 paddr = (addr64_t)(((addr64_t)pp << 12) | (addr64_t)(vaddr & 4095)); /* Get actual address */
323 vaddr = vaddr + csize; /* Move to next sink address */