Home | History | Annotate | Download | only in disk_cache

Lines Matching refs:block_count

165 // records. |block_count| is the number of blocks to allocate.
167 int block_count) {
172 if (i >= block_count - 1 && header->empty[i])
241 bool BlockFiles::CreateBlock(FileType block_type, int block_count,
245 block_count < 1 || block_count > 4)
250 MappedFile* file = FileForNewBlock(block_type, block_count);
257 for (int i = block_count; i <= 4; i++) {
266 if (!CreateMapBlock(target_size, block_count, header, &index))
269 Addr address(block_type, block_count, header->this_file, index);
469 MappedFile* BlockFiles::FileForNewBlock(FileType block_type, int block_count) {
475 while (NeedToGrowBlockFile(header, block_count)) {