Searched refs:read_head (Results 1 – 1 of 1) sorted by relevance
216 size_t read_head = in GetAvailableMmapData() local219 if (read_head == write_head) { in GetAvailableMmapData()224 if (read_head < write_head) { in GetAvailableMmapData()225 read_bytes = write_head - read_head; in GetAvailableMmapData()227 read_bytes = mmap_data_buffer_size_ - read_head + write_head; in GetAvailableMmapData()240 if (read_head < write_head) { in GetAvailableMmapData()241 char* from = mmap_data_buffer_ + read_head; in GetAvailableMmapData()242 size_t n = write_head - read_head; in GetAvailableMmapData()245 char* from = mmap_data_buffer_ + read_head; in GetAvailableMmapData()246 size_t n = mmap_data_buffer_size_ - read_head; in GetAvailableMmapData()