Lines Matching refs:m_cmdPos
98 m_cmdPos(0U), in VirtioGpuStream()
211 VirtioGpuCmd *cmd = reinterpret_cast<VirtioGpuCmd *>(&m_buf[m_cmdPos]); in allocBuffer()
216 if (m_cmdPos + cmd->cmdSize + minSize > m_bufSize) { in allocBuffer()
221 m_cmdPos = 0U; in allocBuffer()
227 m_cmdPos += cmd->cmdSize; in allocBuffer()
228 m_flushPos = m_cmdPos; in allocBuffer()
255 m_cmdPos = 0U; in allocBuffer()
259 if (m_flushPos == 0 && m_cmdPos == 0) { in allocBuffer()
266 VirtioGpuCmd *cmd = reinterpret_cast<VirtioGpuCmd *>(&m_buf[m_cmdPos]); in allocBuffer()
270 return m_buf + m_cmdPos; in allocBuffer()
293 VirtioGpuCmd *cmd = reinterpret_cast<VirtioGpuCmd *>(&m_buf[m_cmdPos]); in writeFully()
298 len, m_cmdPos, m_flushPos); in writeFully()
305 __func__, len, m_cmdPos, m_flushPos, cmd->cmdSize); in writeFully()
437 m_cmdPos = 0U; in commitAll()