Home
last modified time | relevance | path

Searched refs:desired_chunk_state (Results 1 – 1 of 1) sorted by relevance

/external/perfetto/src/tracing/core/
Dshared_memory_abi.cc161 ChunkState desired_chunk_state, in TryAcquireChunk() argument
163 PERFETTO_DCHECK(desired_chunk_state == kChunkBeingRead || in TryAcquireChunk()
164 desired_chunk_state == kChunkBeingWritten); in TryAcquireChunk()
179 desired_chunk_state == kChunkBeingWritten ? kChunkFree : kChunkComplete; in TryAcquireChunk()
186 next_layout |= (desired_chunk_state << (chunk_idx * kChunkShift)); in TryAcquireChunk()
191 if (desired_chunk_state == kChunkBeingWritten) { in TryAcquireChunk()
231 ChunkState desired_chunk_state) { in ReleaseChunk() argument
232 PERFETTO_DCHECK(desired_chunk_state == kChunkComplete || in ReleaseChunk()
233 desired_chunk_state == kChunkFree); in ReleaseChunk()
241 if (desired_chunk_state == kChunkFree) in ReleaseChunk()
[all …]