Home
last modified time | relevance | path

Searched refs:toXfer (Results 1 – 1 of 1) sorted by relevance

/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DVirtioGpuPipeStream.cpp356 size_t toXfer = todo > kTransferBufferSize ? kTransferBufferSize : todo; in transferToHost() local
358 if (toXfer > (kTransferBufferSize - m_writtenPos)) { in transferToHost()
362 memcpy(virtioPtr + m_writtenPos, readPtr, toXfer); in transferToHost()
368 xfer.box.w = toXfer; in transferToHost()
379 done += toXfer; in transferToHost()
380 readPtr += toXfer; in transferToHost()
381 todo -= toXfer; in transferToHost()
382 m_writtenPos += toXfer; in transferToHost()
402 size_t toXfer = todo > kTransferBufferSize ? kTransferBufferSize : todo; in transferFromHost() local
408 xfer.box.w = toXfer; in transferFromHost()
[all …]