Home
last modified time | relevance | path

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

/external/perfetto/src/tracing/core/
Dshared_memory_abi.cc121 static_assert(kChunkFree == 0 && kAllChunksFree == 0, in Initialize()
180 desired_chunk_state == kChunkBeingWritten ? kChunkFree : kChunkComplete; in TryAcquireChunk()
225 res |= ((layout & kChunkMask) == kChunkFree) ? (1 << i) : 0; in GetFreeChunks()
234 desired_chunk_state == kChunkFree); in ReleaseChunk()
242 if (desired_chunk_state == kChunkFree) in ReleaseChunk()
Dshared_memory_abi_unittest.cc92 ASSERT_EQ(SharedMemoryABI::kChunkFree, in TEST_P()
187 ASSERT_EQ(SharedMemoryABI::kChunkFree, in TEST_P()
Dtrace_writer_impl_unittest.cc86 ASSERT_TRUE(chunk_state == SharedMemoryABI::kChunkFree || in TEST_P()
/external/perfetto/include/perfetto/ext/tracing/core/
Dshared_memory_abi.h182 kChunkFree = 0, enumerator
546 return ReleaseChunk(std::move(chunk), kChunkFree); in ReleaseChunkAsFree()
579 res |= ((page_layout & kChunkMask) != kChunkFree) ? (1 << i) : 0; in GetUsedChunks()