Lines Matching refs:v

3608                                Version* v) {  in AppendVersion()  argument
3610 v->storage_info()->ComputeCompactionScore( in AppendVersion()
3615 v->storage_info_.SetFinalized(); in AppendVersion()
3618 assert(v->refs_ == 0); in AppendVersion()
3620 assert(v != current); in AppendVersion()
3625 column_family_data->SetCurrent(v); in AppendVersion()
3626 v->Ref(); in AppendVersion()
3629 v->prev_ = column_family_data->dummy_versions()->prev_; in AppendVersion()
3630 v->next_ = column_family_data->dummy_versions(); in AppendVersion()
3631 v->prev_->next_ = v; in AppendVersion()
3632 v->next_->prev_ = v; in AppendVersion()
3738 for (auto v : versions) { in ProcessManifestWrites() local
3739 delete v; in ProcessManifestWrites()
3753 for (auto v : versions) { in ProcessManifestWrites() local
3754 delete v; in ProcessManifestWrites()
4021 for (auto v : versions) { in ProcessManifestWrites() local
4022 delete v; in ProcessManifestWrites()
4581 Version* v = new Version(cfd, this, file_options_, in Recover() local
4584 builder->SaveTo(v->storage_info()); in Recover()
4587 v->PrepareApply(*cfd->GetLatestMutableCFOptions(), in Recover()
4589 AppendVersion(cfd, v); in Recover()
5132 Version* v = new Version(cfd, this, file_options_, in DumpManifest() local
5135 builder->SaveTo(v->storage_info()); in DumpManifest()
5136 v->PrepareApply(*cfd->GetLatestMutableCFOptions(), false); in DumpManifest()
5148 printf("%s \n", v->DebugString(hex).c_str()); in DumpManifest()
5149 delete v; in DumpManifest()
5283 Version* v, const Slice& start, in ApproximateSize() argument
5286 const auto& icmp = v->cfd_->internal_comparator(); in ApproximateSize()
5292 const auto* vstorage = v->storage_info(); in ApproximateSize()
5362 ApproximateSize(v, files_brief.files[i], start, end, caller)); in ApproximateSize()
5396 total_full_size += ApproximateSize(v, *file_ptr, start, end, caller); in ApproximateSize()
5403 total_full_size += ApproximateOffsetOf(v, *file_ptr, end, caller); in ApproximateSize()
5410 uint64_t VersionSet::ApproximateOffsetOf(Version* v, const FdWithKeyRange& f, in ApproximateOffsetOf() argument
5414 assert(v); in ApproximateOffsetOf()
5415 const auto& icmp = v->cfd_->internal_comparator(); in ApproximateOffsetOf()
5427 TableCache* table_cache = v->cfd_->table_cache(); in ApproximateOffsetOf()
5431 v->GetMutableCFOptions().prefix_extractor.get()); in ApproximateOffsetOf()
5437 uint64_t VersionSet::ApproximateSize(Version* v, const FdWithKeyRange& f, in ApproximateSize() argument
5441 assert(v); in ApproximateSize()
5442 const auto& icmp = v->cfd_->internal_comparator(); in ApproximateSize()
5453 return ApproximateOffsetOf(v, f, end, caller); in ApproximateSize()
5459 uint64_t start_offset = ApproximateOffsetOf(v, f, start, caller); in ApproximateSize()
5465 TableCache* table_cache = v->cfd_->table_cache(); in ApproximateSize()
5471 v->GetMutableCFOptions().prefix_extractor.get()); in ApproximateSize()
5482 for (Version* v = dummy_versions->next_; v != dummy_versions; in AddLiveFiles() local
5483 v = v->next_) { in AddLiveFiles()
5484 const auto* vstorage = v->storage_info(); in AddLiveFiles()
5501 for (Version* v = dummy_versions->next_; v != dummy_versions; in AddLiveFiles() local
5502 v = v->next_) { in AddLiveFiles()
5503 v->AddLiveFiles(live_list); in AddLiveFiles()
5504 if (v == current) { in AddLiveFiles()
5720 Version* v = new Version(new_cfd, this, file_options_, in CreateColumnFamily() local
5725 v->storage_info()->CalculateBaseBytes(*new_cfd->ioptions(), in CreateColumnFamily()
5727 AppendVersion(new_cfd, v); in CreateColumnFamily()
5738 for (Version* v = dummy_versions->next_; v != dummy_versions; v = v->next_) { in GetNumLiveVersions() local
5747 for (Version* v = dummy_versions->next_; v != dummy_versions; v = v->next_) { in GetTotalSstFilesSize() local
5748 VersionStorageInfo* storage_info = v->storage_info(); in GetTotalSstFilesSize()
5911 Version* v = new Version(cfd, this, file_options_, in Recover() local
5914 builder->SaveTo(v->storage_info()); in Recover()
5917 v->PrepareApply(*cfd->GetLatestMutableCFOptions(), in Recover()
5919 AppendVersion(cfd, v); in Recover()