Lines Matching refs:sink
1580 * says which of the parameters is physical and if we need to flush sink/source.
1595 hw_copypv_32(addr64_t source, addr64_t sink, unsigned int size, int which)
1619 if(!(which & cppvPsnk)) { /* Is sink page virtual? */
1620 vaddr = sink; /* Sink side is virtual */
1679 if(which & cppvPsrc) sink = paddr; /* If source is physical, then the sink is virtual */
1683 lop = (unsigned int)(4096LL - (sink & 4095LL)); /* Assume sink smallest */
1690 if(which & cppvFsnk) flush_dcache64(sink, csize, 1); /* If requested, flush sink before move */
1692 bcopy_physvir_32(source, sink, csize); /* Do a physical copy, virtually */
1695 if(which & cppvFsnk) flush_dcache64(sink, csize, 1); /* If requested, flush sink after move */
1703 physent = mapping_phys_lookup(sink >> 12, &pindex); /* Get physical entry for sink */
1704 if(physent) mapping_set_mod((ppnum_t)(sink >> 12)); /* Make sure we know that it is modified */
1711 vaddr = vaddr + csize; /* Move to next sink address */
1713 sink = sink + csize; /* Bump sink to next physical address */