Searched refs:wr_ptr (Results 1 – 3 of 3) sorted by relevance
200 uint8_t* wr_ptr = at(pos.write_pos); in BeginWrite() local203 result.data = wr_ptr + kHeaderSize; in BeginWrite()209 reinterpret_cast<std::atomic<uint32_t>*>(wr_ptr)->store( in BeginWrite()217 uint8_t* wr_ptr = buf.data - kHeaderSize; in EndWrite() local218 PERFETTO_DCHECK(reinterpret_cast<uintptr_t>(wr_ptr) % kAlignment == 0); in EndWrite()219 reinterpret_cast<std::atomic<uint32_t>*>(wr_ptr)->store( in EndWrite()
219 upriv->buf[upriv->wr_ptr++] = __serial_getc(dev); in _serial_tstc()220 upriv->wr_ptr %= CONFIG_SERIAL_RX_BUFFER_SIZE; in _serial_tstc()223 return upriv->rd_ptr != upriv->wr_ptr ? 1 : 0; in _serial_tstc()
178 int wr_ptr; member