Lines Matching refs:buffer_offset

128         uint64_t buffer_offset  = GetBufferOffset(offset_plus_counter);  in AllocRecord()  local
130 if (likely(buffer_offset + num_bytes <= rolling_buffer_size_)) { in AllocRecord()
131 uint8_t* ptr = rolling_buffer_start_[buffer_number] + buffer_offset; in AllocRecord()
142 MarkOneshotBufferFull(buffer_offset); in AllocRecord()
145 MarkRollingBufferFull(wrapped_count, buffer_offset); in AllocRecord()
150 StreamingBufferFullCheck(wrapped_count, buffer_offset); in AllocRecord()
156 MarkRollingBufferFull(wrapped_count, buffer_offset); in AllocRecord()
179 if (!SwitchRollingBuffer(wrapped_count, buffer_offset)) { in AllocRecord()
191 uint64_t buffer_offset) { in StreamingBufferFullCheck() argument
202 if (unlikely(buffer_offset > MaxUsableBufferOffset())) { in StreamingBufferFullCheck()
215 uint64_t buffer_offset) { in SwitchRollingBuffer() argument
256 SwitchRollingBufferLocked(wrapped_count, buffer_offset); in SwitchRollingBuffer()
267 SwitchRollingBufferLocked(wrapped_count, buffer_offset); in SwitchRollingBuffer()
281 uint64_t buffer_offset = in AllocDurableRecord() local
284 if (likely(buffer_offset + num_bytes <= durable_buffer_size_)) { in AllocDurableRecord()
285 uint8_t* ptr = durable_buffer_start_ + buffer_offset; in AllocDurableRecord()
290 MarkDurableBufferFull(buffer_offset); in AllocDurableRecord()
440 uint64_t buffer_offset = GetBufferOffset(offset_plus_counter); in RollingBytesAllocated() local
442 return buffer_offset; in RollingBytesAllocated()
448 return full_mark_other_buffer + buffer_offset; in RollingBytesAllocated()