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.cc183 uint32_t next_layout = layout; in TryAcquireChunk() local
184 next_layout &= ~(kChunkMask << (chunk_idx * kChunkShift)); in TryAcquireChunk()
185 next_layout |= (desired_chunk_state << (chunk_idx * kChunkShift)); in TryAcquireChunk()
186 if (phdr->layout.compare_exchange_strong(layout, next_layout, in TryAcquireChunk()
208 uint32_t next_layout = (layout << kLayoutShift) & kLayoutMask; in TryPartitionPage() local
210 if (!phdr->layout.compare_exchange_strong(expected_layout, next_layout, in TryPartitionPage()
268 uint32_t next_layout = layout; in ReleaseChunk() local
269 next_layout &= ~(kChunkMask << (chunk_idx * kChunkShift)); in ReleaseChunk()
270 next_layout |= (desired_chunk_state << (chunk_idx * kChunkShift)); in ReleaseChunk()
274 if ((next_layout & kAllChunksMask) == kAllChunksFree) in ReleaseChunk()
[all …]