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.cc149 ChunkState desired_chunk_state, in TryAcquireChunk() argument
151 PERFETTO_DCHECK(desired_chunk_state == kChunkBeingRead || in TryAcquireChunk()
152 desired_chunk_state == kChunkBeingWritten); in TryAcquireChunk()
167 desired_chunk_state == kChunkBeingWritten ? kChunkFree : kChunkComplete; in TryAcquireChunk()
174 next_layout |= (desired_chunk_state << (chunk_idx * kChunkShift)); in TryAcquireChunk()
179 if (desired_chunk_state == kChunkBeingWritten) { in TryAcquireChunk()
219 ChunkState desired_chunk_state) { in ReleaseChunk() argument
220 PERFETTO_DCHECK(desired_chunk_state == kChunkComplete || in ReleaseChunk()
221 desired_chunk_state == kChunkFree); in ReleaseChunk()
244 if (desired_chunk_state == kChunkComplete) { in ReleaseChunk()
[all …]