Searched refs:kChunkShift (Results 1 – 2 of 2) sorted by relevance
181 auto cur_chunk_state = (layout >> (chunk_idx * kChunkShift)) & kChunkMask; in TryAcquireChunk()186 next_layout &= ~(kChunkMask << (chunk_idx * kChunkShift)); in TryAcquireChunk()187 next_layout |= (desired_chunk_state << (chunk_idx * kChunkShift)); in TryAcquireChunk()226 layout >>= kChunkShift; in GetFreeChunks()255 ((layout >> (chunk_idx * kChunkShift)) & kChunkMask); in ReleaseChunk()271 next_layout &= ~(kChunkMask << (chunk_idx * kChunkShift)); in ReleaseChunk()272 next_layout |= (desired_chunk_state << (chunk_idx * kChunkShift)); in ReleaseChunk()
264 static constexpr uint32_t kChunkShift = 2; variable487 (kAllChunksComplete & ((1 << (num_chunks * kChunkShift)) - 1)); in is_page_complete()563 return static_cast<ChunkState>((page_layout >> (chunk_idx * kChunkShift)) & in GetChunkStateFromLayout()580 page_layout >>= kChunkShift; in GetUsedChunks()