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.cc162 ChunkState desired_chunk_state, in TryAcquireChunk() argument
164 PERFETTO_DCHECK(desired_chunk_state == kChunkBeingRead || in TryAcquireChunk()
165 desired_chunk_state == kChunkBeingWritten); in TryAcquireChunk()
180 desired_chunk_state == kChunkBeingWritten ? kChunkFree : kChunkComplete; in TryAcquireChunk()
187 next_layout |= (desired_chunk_state << (chunk_idx * kChunkShift)); in TryAcquireChunk()
192 if (desired_chunk_state == kChunkBeingWritten) { in TryAcquireChunk()
232 ChunkState desired_chunk_state) { in ReleaseChunk() argument
233 PERFETTO_DCHECK(desired_chunk_state == kChunkComplete || in ReleaseChunk()
234 desired_chunk_state == kChunkFree); in ReleaseChunk()
242 if (desired_chunk_state == kChunkFree) in ReleaseChunk()
[all …]