Searched refs:kChunkShift (Results 1 – 2 of 2) sorted by relevance
180 auto cur_chunk_state = (layout >> (chunk_idx * kChunkShift)) & kChunkMask; in TryAcquireChunk()185 next_layout &= ~(kChunkMask << (chunk_idx * kChunkShift)); in TryAcquireChunk()186 next_layout |= (desired_chunk_state << (chunk_idx * kChunkShift)); in TryAcquireChunk()225 layout >>= kChunkShift; in GetFreeChunks()254 ((layout >> (chunk_idx * kChunkShift)) & kChunkMask); in ReleaseChunk()270 next_layout &= ~(kChunkMask << (chunk_idx * kChunkShift)); in ReleaseChunk()271 next_layout |= (desired_chunk_state << (chunk_idx * kChunkShift)); in ReleaseChunk()
262 static constexpr uint32_t kChunkShift = 2; variable473 (kAllChunksComplete & ((1 << (num_chunks * kChunkShift)) - 1)); in is_page_complete()547 return static_cast<ChunkState>((page_layout >> (chunk_idx * kChunkShift)) & in GetChunkStateFromLayout()564 page_layout >>= kChunkShift; in GetUsedChunks()