Lines Matching refs:m_cmdPos
81 m_cmdPos(0U), in VirtioGpuStream()
194 VirtioGpuCmd *cmd = reinterpret_cast<VirtioGpuCmd *>(&m_buf[m_cmdPos]); in allocBuffer()
199 if (m_cmdPos + cmd->cmdSize + minSize > m_bufSize) { in allocBuffer()
204 m_cmdPos = 0U; in allocBuffer()
210 m_cmdPos += cmd->cmdSize; in allocBuffer()
211 m_flushPos = m_cmdPos; in allocBuffer()
238 m_cmdPos = 0U; in allocBuffer()
242 if (m_flushPos == 0 && m_cmdPos == 0) { in allocBuffer()
249 VirtioGpuCmd *cmd = reinterpret_cast<VirtioGpuCmd *>(&m_buf[m_cmdPos]); in allocBuffer()
253 return m_buf + m_cmdPos; in allocBuffer()
276 VirtioGpuCmd *cmd = reinterpret_cast<VirtioGpuCmd *>(&m_buf[m_cmdPos]); in writeFully()
281 len, m_cmdPos, m_flushPos); in writeFully()
288 __func__, len, m_cmdPos, m_flushPos, cmd->cmdSize); in writeFully()
420 m_cmdPos = 0U; in commitAll()