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.cc120 static_assert(kChunkFree == 0 && kAllChunksFree == 0, in Initialize()
179 desired_chunk_state == kChunkBeingWritten ? kChunkFree : kChunkComplete; in TryAcquireChunk()
224 res |= ((layout & kChunkMask) == kChunkFree) ? (1 << i) : 0; in GetFreeChunks()
233 desired_chunk_state == kChunkFree); in ReleaseChunk()
241 if (desired_chunk_state == kChunkFree) in ReleaseChunk()
Dshared_memory_abi_unittest.cc92 ASSERT_EQ(SharedMemoryABI::kChunkFree, in TEST_P()
179 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.h180 kChunkFree = 0, enumerator
530 return ReleaseChunk(std::move(chunk), kChunkFree); in ReleaseChunkAsFree()
563 res |= ((page_layout & kChunkMask) != kChunkFree) ? (1 << i) : 0; in GetUsedChunks()