Searched refs:ClockBlock (Results 1 – 2 of 2) sorted by relevance
302 if (RoundUpTo(nclk, ClockBlock::kClockCount) <= in Resize()303 RoundUpTo(size_, ClockBlock::kClockCount)) { in Resize()309 if (nclk <= ClockBlock::kClockCount) { in Resize()326 } else if (size_ <= ClockBlock::kClockCount) { in Resize()336 for (uptr i = RoundUpTo(size_, ClockBlock::kClockCount); in Resize()337 i < nclk; i += ClockBlock::kClockCount) { in Resize()339 ClockBlock *cb = ctx->clock_alloc.Map(idx); in Resize()341 CHECK_EQ(tab_->table[i/ClockBlock::kClockCount], 0); in Resize()342 tab_->table[i/ClockBlock::kClockCount] = idx; in Resize()389 } else if (size_ <= ClockBlock::kClockCount) { in Reset()[all …]
26 struct ClockBlock { struct36 ClockBlock() { in ClockBlock() argument40 typedef DenseSlabAlloc<ClockBlock, 1<<16, 1<<10> ClockAlloc;73 ClockBlock *tab_;