Home
last modified time | relevance | path

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

/external/perfetto/src/tracing/core/
Dshared_memory_abi.cc119 static_assert(kChunkFree == 0 && kAllChunksFree == 0, in Initialize()
178 desired_chunk_state == kChunkBeingWritten ? kChunkFree : kChunkComplete; in TryAcquireChunk()
223 res |= ((layout & kChunkMask) == kChunkFree) ? (1 << i) : 0; in GetFreeChunks()
232 desired_chunk_state == kChunkFree); in ReleaseChunk()
240 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()
Dstartup_trace_writer_unittest.cc83 ASSERT_TRUE(chunk_state == SharedMemoryABI::kChunkFree || in VerifyPackets()
/external/perfetto/include/perfetto/tracing/core/
Dshared_memory_abi.h173 kChunkFree = 0, enumerator
523 return ReleaseChunk(std::move(chunk), kChunkFree); in ReleaseChunkAsFree()
556 res |= ((page_layout & kChunkMask) != kChunkFree) ? (1 << i) : 0; in GetUsedChunks()