Home
last modified time | relevance | path

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

/external/perfetto/src/tracing/core/
Dshared_memory_abi.cc184 uint32_t next_layout = layout; in TryAcquireChunk() local
185 next_layout &= ~(kChunkMask << (chunk_idx * kChunkShift)); in TryAcquireChunk()
186 next_layout |= (desired_chunk_state << (chunk_idx * kChunkShift)); in TryAcquireChunk()
187 if (phdr->layout.compare_exchange_strong(layout, next_layout, in TryAcquireChunk()
209 uint32_t next_layout = (layout << kLayoutShift) & kLayoutMask; in TryPartitionPage() local
211 if (!phdr->layout.compare_exchange_strong(expected_layout, next_layout, in TryPartitionPage()
269 uint32_t next_layout = layout; in ReleaseChunk() local
270 next_layout &= ~(kChunkMask << (chunk_idx * kChunkShift)); in ReleaseChunk()
271 next_layout |= (desired_chunk_state << (chunk_idx * kChunkShift)); in ReleaseChunk()
275 if ((next_layout & kAllChunksMask) == kAllChunksFree) in ReleaseChunk()
[all …]