Searched refs:kMaxNumBlocks (Results 1 – 5 of 5) sorted by relevance
56 DCHECK(size > 0 && size <= kMaxNumBlocks); in CreateMapBlock()58 for (int i = size; i <= kMaxNumBlocks; i++) { in CreateMapBlock()116 if (size < 0 || size > kMaxNumBlocks) { in DeleteMapBlock()155 if (size < 0 || size > kMaxNumBlocks) in UsedMapBlock()171 for (int i = 0; i < kMaxNumBlocks; i++) { in FixAllocationCounters()190 for (int i = 0; i < kMaxNumBlocks; i++) { in NeedToGrowBlockFile()207 for (int i = block_count - 1; i < kMaxNumBlocks; i++) { in CanAllocate()217 for (int i = 0; i < kMaxNumBlocks; i++) { in EmptyBlocks()226 return header_->empty[kMaxNumBlocks - 1]; in MinimumAllocations()324 if (block_count < 1 || block_count > kMaxNumBlocks) in CreateBlock()[all …]
29 const int kMaxNumBlocks = 4; variable
41 if (target <= 0 || target > disk_cache::kMaxNumBlocks || in CreateMapBlock()42 size <= 0 || size > disk_cache::kMaxNumBlocks) { in CreateMapBlock()89 if (size < 0 || size > disk_cache::kMaxNumBlocks) { in DeleteMapBlock()129 if (size < 0 || size > disk_cache::kMaxNumBlocks) { in UsedMapBlock()148 for (int i = 0; i < disk_cache::kMaxNumBlocks; i++) { in FixAllocationCounters()170 for (int i = 0; i < disk_cache::kMaxNumBlocks; i++) { in NeedToGrowBlockFile()
26 const int kMaxNumBlocks = 4; variable
31 if (block_count < 1 || block_count > kMaxNumBlocks) in CreateBlock()