Lines Matching refs:start_level
590 int start_level = 0; in CompactRange() local
591 for (; start_level < vstorage->num_levels() && in CompactRange()
592 vstorage->NumLevelFiles(start_level) == 0; in CompactRange()
593 start_level++) { in CompactRange()
595 if (start_level == vstorage->num_levels()) { in CompactRange()
599 if ((start_level == 0) && (!level0_compactions_in_progress_.empty())) { in CompactRange()
606 start_level); in CompactRange()
607 for (int level = start_level; level < vstorage->num_levels(); level++) { in CompactRange()
608 inputs[level - start_level].level = level; in CompactRange()
609 auto& files = inputs[level - start_level].files; in CompactRange()
1041 if (c->start_level() == 0 || in RegisterCompaction()
1052 if (c->start_level() == 0 || in UnregisterCompaction()
1060 const std::string& cf_name, VersionStorageInfo* vstorage, int* start_level, in PickFilesMarkedForCompaction() argument
1071 *start_level = level_file.first; in PickFilesMarkedForCompaction()
1073 (*start_level == 0) ? vstorage->base_level() : *start_level + 1; in PickFilesMarkedForCompaction()
1075 if (*start_level == 0 && !level0_compactions_in_progress()->empty()) { in PickFilesMarkedForCompaction()
1080 start_level_inputs->level = *start_level; in PickFilesMarkedForCompaction()