Searched refs:read_head (Results 1 – 1 of 1) sorted by relevance
142 size_t read_head = static_cast<size_t>(mmap_metadata_page_->data_tail & buf_mask); in GetAvailableMmapData() local144 if (read_head == write_head) { in GetAvailableMmapData()155 if (read_head < write_head) { in GetAvailableMmapData()156 char* from = mmap_data_buffer_ + read_head; in GetAvailableMmapData()157 size_t n = write_head - read_head; in GetAvailableMmapData()161 char* from = mmap_data_buffer_ + read_head; in GetAvailableMmapData()162 size_t n = mmap_data_buffer_size_ - read_head; in GetAvailableMmapData()