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.cc160 ChunkState desired_chunk_state, in TryAcquireChunk() argument
162 PERFETTO_DCHECK(desired_chunk_state == kChunkBeingRead || in TryAcquireChunk()
163 desired_chunk_state == kChunkBeingWritten); in TryAcquireChunk()
178 desired_chunk_state == kChunkBeingWritten ? kChunkFree : kChunkComplete; in TryAcquireChunk()
185 next_layout |= (desired_chunk_state << (chunk_idx * kChunkShift)); in TryAcquireChunk()
190 if (desired_chunk_state == kChunkBeingWritten) { in TryAcquireChunk()
230 ChunkState desired_chunk_state) { in ReleaseChunk() argument
231 PERFETTO_DCHECK(desired_chunk_state == kChunkComplete || in ReleaseChunk()
232 desired_chunk_state == kChunkFree); in ReleaseChunk()
240 if (desired_chunk_state == kChunkFree) in ReleaseChunk()
[all …]