Searched refs:kChunkShift (Results 1 – 2 of 2) sorted by relevance
179 auto cur_chunk_state = (layout >> (chunk_idx * kChunkShift)) & kChunkMask; in TryAcquireChunk()184 next_layout &= ~(kChunkMask << (chunk_idx * kChunkShift)); in TryAcquireChunk()185 next_layout |= (desired_chunk_state << (chunk_idx * kChunkShift)); in TryAcquireChunk()224 layout >>= kChunkShift; in GetFreeChunks()253 ((layout >> (chunk_idx * kChunkShift)) & kChunkMask); in ReleaseChunk()269 next_layout &= ~(kChunkMask << (chunk_idx * kChunkShift)); in ReleaseChunk()270 next_layout |= (desired_chunk_state << (chunk_idx * kChunkShift)); in ReleaseChunk()
255 static constexpr uint32_t kChunkShift = 2; variable466 (kAllChunksComplete & ((1 << (num_chunks * kChunkShift)) - 1)); in is_page_complete()540 return static_cast<ChunkState>((page_layout >> (chunk_idx * kChunkShift)) & in GetChunkStateFromLayout()557 page_layout >>= kChunkShift; in GetUsedChunks()