Home | History | Annotate | Download | only in disk_cache

Lines Matching refs:block_count

180 bool BlockHeader::NeedToGrowBlockFile(int block_count) {
185 if (i >= block_count - 1 && header_->empty[i])
279 bool BlockFiles::CreateBlock(FileType block_type, int block_count,
283 block_count < 1 || block_count > 4)
288 MappedFile* file = FileForNewBlock(block_type, block_count);
296 for (int i = block_count; i <= 4; i++) {
305 if (!header.CreateMapBlock(target_size, block_count, &index))
308 Addr address(block_type, block_count, header->this_file, index);
516 MappedFile* BlockFiles::FileForNewBlock(FileType block_type, int block_count) {
522 while (header.NeedToGrowBlockFile(block_count)) {