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.cc177 uint32_t next_layout = layout; in TryAcquireChunk() local
178 next_layout &= ~(kChunkMask << (chunk_idx * kChunkShift)); in TryAcquireChunk()
179 next_layout |= (desired_chunk_state << (chunk_idx * kChunkShift)); in TryAcquireChunk()
180 if (phdr->layout.compare_exchange_strong(layout, next_layout, in TryAcquireChunk()
202 uint32_t next_layout = (layout << kLayoutShift) & kLayoutMask; in TryPartitionPage() local
204 if (!phdr->layout.compare_exchange_strong(expected_layout, next_layout, in TryPartitionPage()
262 uint32_t next_layout = layout; in ReleaseChunk() local
263 next_layout &= ~(kChunkMask << (chunk_idx * kChunkShift)); in ReleaseChunk()
264 next_layout |= (desired_chunk_state << (chunk_idx * kChunkShift)); in ReleaseChunk()
268 if ((next_layout & kAllChunksMask) == kAllChunksFree) in ReleaseChunk()
[all …]