Lines Matching defs:csize
388 copyio_phys(addr64_t source, addr64_t sink, vm_size_t csize, int which)
419 KERNEL_DEBUG(0xeff70048 | DBG_FUNC_NONE, paddr, csize, 0, -1, 0);
433 retval = copyio(ctype, vaddr, window_offset, csize, NULL, which & cppvKmap);
451 KERNEL_DEBUG(0xeff70048 | DBG_FUNC_NONE, paddr, csize, 0, 0, 0);
481 retval = copyio(ctype, vaddr, window_offset, csize, NULL, which & cppvKmap);
524 unsigned int lop, csize;
554 csize = size; /* Assume we can copy it all */
556 csize = lop; /* Nope, we can't do it all */
566 flush_dcache64(src64, csize, 1); /* If requested, flush source before move */
568 flush_dcache64(snk64, csize, 1); /* If requested, flush sink before move */
571 bcopy_phys(src64, snk64, csize); /* Do a physical copy, virtually */
574 if (copyio_phys(src64, snk64, csize, which)) {
580 flush_dcache64(src64, csize, 1); /* If requested, flush source after move */
582 flush_dcache64(snk64, csize, 1); /* If requested, flush sink after move */
584 size -= csize; /* Calculate what is left */
585 snk64 += csize; /* Bump sink to next physical address */
586 src64 += csize; /* Bump source to next physical address */