CernVM-FS  2.10.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
smalloc.h File Reference
#include <stdint.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <cassert>
#include <limits>
Include dependency graph for smalloc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PLATFORM_MAP_ANONYMOUS   MAP_ANONYMOUS
 

Functions

static uint64_t RoundUp8 (const uint64_t size)
 
static void * __attribute__ ((used)) smalloc(size_t size)
 
 assert ((mem||(size==0))&&"Out Of Memory")
 
 assert ((mem||((count *size)==0))&&"Out Of Memory")
 
 assert ((retval==0)&&"Invalid umnmap")
 

Variables

const uint32_t kMemMarker = 0xAAAAAAAA
 
static void size_t size
 
return mem
 

Macro Definition Documentation

#define PLATFORM_MAP_ANONYMOUS   MAP_ANONYMOUS

This file is part of the CernVM File System.

Ensures that cvmfs aborts on out-of-memory errors.

Definition at line 22 of file smalloc.h.

Function Documentation

static void* __attribute__ ( (used)  )
inlinestatic

Used when the caller remembers the size, so that it can call sxunmap later.

Free memory acquired by sxmmap.

Pointer is aligned at a multiple of the size. The size has to be a multiple of 2MB.

Definition at line 41 of file smalloc.h.

Here is the call graph for this function:

assert ( (mem||(size==0))&&"Out Of Memory"  )

Referenced by __attribute__(), catalog::AbstractCatalogManager< CatalogT >::AbstractCatalogManager(), s3fanout::S3FanoutManager::AcquireCurlHandle(), download::DownloadManager::AcquireCurlHandle(), ExternalCacheManager::AcquireQuotaManager(), RamCacheManager::AcquireQuotaManager(), Tracer::Activate(), TubeGroup< FileItem >::Activate(), SimpleChunkTables::Add(), compat::inode_tracker::InodeContainer::Add(), compat::inode_tracker_v3::StringHeap::AddBin(), manifest::Reflog::AddCatalog(), catalog::CatalogBalancer< CatalogMgrT >::AddCatalog(), catalog::CatalogBalancer< CatalogMgrT >::AddCatalogMarker(), manifest::Reflog::AddCertificate(), catalog::Catalog::AddChild(), catalog::WritableCatalogManager::AddChunkedFile(), publish::SyncMediator::AddDirectory(), catalog::WritableCatalogManager::AddFile(), publish::SyncMediator::AddFile(), catalog::WritableCatalog::AddFileChunk(), catalog::WritableCatalogManager::AddHardlinkGroup(), publish::SyncMediator::AddHardlinkGroup(), manifest::Reflog::AddHistory(), publish::SyncDiffReporter::AddImpl(), publish::SyncMediator::AddLocalHardlinkGroups(), manifest::Reflog::AddMetainfo(), swissknife::CommandEditTag::AddNewTag(), swissknife::CommandTag::AddPadding(), swissknife::CommandReconstructReflog::AddStaticManifestObjects(), compat::inode_tracker_v3::StringHeap::AddString(), Buffer< T, A >::Allocate(), MallocHeap::Allocate(), swissknife::CommandMigrate::AnalyzeCatalogStatistics(), swissknife::CommandMigrate::MigrationWorker_20x::AnalyzeFileLinkcounts(), FileBackedBuffer::Append(), download::HeaderLists::AppendHeader(), anonymous_namespace{pack.cc}::AppendItemToHeader(), AppendLastEntry(), LibContext::AppendStatToList(), AppendStringToList(), LibContext::AppendStringToList(), swissknife::CommandMigrate::ChownMigrationWorker::ApplyPersonaMappings(), SqliteMemoryManager::AssignGlobalArenas(), SqliteMemoryManager::AssignLookasideBuffer(), BigVector< uint64_t >::At(), BigVector< uint64_t >::AtPtr(), AuthzSessionManager::AuthzSessionManager(), BaseMagicXattr::BaseMagicXattr(), manifest::Reflog::BeginTransaction(), BigVector< uint64_t >::BigVector(), Block2Nonblock(), BlockItem::BlockItem(), BlockSignal(), swissknife::CommandMigrate::HardlinkRemovalMigrationWorker::BreakUpHardlinks(), QuotaManager::BroadcastBackchannels(), ObjectPack::BucketContent(), ObjectPack::BucketId(), ObjectPack::BucketSize(), Buffer< T, A >::Buffer(), CacheTransport::CacheTransport(), download::DownloadManager::CallbackCurlSocket(), LibGlobals::CallbackLibcryptoLock(), CallbackLibcryptoLock(), ExternalCacheManager::CallRemotely(), shash::Any::CastToMd5(), catalog::Catalog::Catalog(), swissknife::CommandFileStats::CatalogCallback(), swissknife::CatalogTraversalBase< ObjectFetcherT >::CatalogTraversalBase(), catalog::WritableCatalogManager::CatalogUploadCallback(), ScopedWorkingDirectory::ChangeDirectory(), catalog::AbstractCatalogManager< CatalogT >::ChangeRoot(), swissknife::CommandMigrate::MigrationWorker_217::CheckDatabaseSchemaCompatibility(), swissknife::CommandMigrate::HardlinkRemovalMigrationWorker::CheckDatabaseSchemaCompatibility(), swissknife::CommandMigrate::BulkhashRemovalMigrationWorker::CheckDatabaseSchemaCompatibility(), swissknife::CommandMigrate::StatsMigrationWorker::CheckDatabaseSchemaCompatibility(), catalog::Dirtab::CheckRuleValidity(), ReflogDatabase::CheckSchemaCompatibility(), compat::chunk_tables::ChunkTables::ChunkTables(), compat::chunk_tables_v2::ChunkTables::ChunkTables(), compat::chunk_tables_v3::ChunkTables::ChunkTables(), LibGlobals::CleanupInstance(), PosixQuotaManager::CleanupPipes(), compat::inode_tracker_v2::SmallHashBase< uint64_t, shash_v1::Md5, SmallHashDynamic< uint64_t, shash_v1::Md5 > >::Clear(), compat::inode_tracker_v2::PathMap::Clear(), compat::inode_tracker_v2::InodeMap::Clear(), compat::inode_tracker_v2::InodeReferences::Clear(), compat::inode_tracker_v3::PathStore::Clear(), compat::inode_tracker_v3::PathMap::Clear(), compat::inode_tracker_v3::InodeMap::Clear(), compat::inode_tracker_v3::InodeReferences::Clear(), ClientCtx::ClientCtx(), ClientCtxGuard::ClientCtxGuard(), zlib::ZlibCompressor::Clone(), catalog::WritableCatalogManager::CloneTreeImpl(), ExternalCacheManager::Close(), RamCacheManager::Close(), sqlite::Database< DerivedT >::DatabaseRaiiWrapper::Close(), swissknife::CommandTag::CloseAndPublishHistory(), FdTable< ExternalCacheManager::ReadOnlyHandle >::CloseFd(), swissknife::CommandScrub::CommandScrub(), FileBackedBuffer::Commit(), catalog::WritableCatalog::Commit(), publish::SyncMediator::Commit(), swissknife::CommandMigrate::MigrationWorker_20x::CommitDatabaseTransaction(), swissknife::CommandMigrate::MigrationWorker_217::CommitDatabaseTransaction(), swissknife::CommandMigrate::StatsMigrationWorker::CommitDatabaseTransaction(), manifest::Reflog::CommitTransaction(), PosixCacheManager::CommitTxn(), catalog::CatalogDatabase::CompactDatabase(), PathspecElementPattern::PlaintextSubPattern::Compare(), swissknife::CommandCheck::CompareCounters(), Pathspec::CompileRegularExpression(), publish::SyncMediator::CompleteHardlinks(), InstanceInfo::CompleteInfo(), zlib::CompressInit(), ConcurrentWorkers< WorkerT >::ConcurrentWorkers(), AuthzAttachment::ConfigureCurlHandle(), ConnectSocket(), ConnectTcpEndpoint(), compat::inode_tracker::InodeContainer::ConstructPath(), publish::ConstructSpoolers(), manifest::Reflog::ContainsCatalog(), manifest::Reflog::ContainsCertificate(), manifest::Reflog::ContainsHistory(), manifest::Reflog::ContainsMetainfo(), manifest::Reflog::ContainsReference(), ChunkTables::CopyFrom(), compat::inode_tracker::InodeTracker::CopyFrom(), compat::inode_tracker_v2::SmallHashDynamic< uint64_t, uint32_t >::CopyFrom(), compat::inode_tracker_v2::InodeTracker::CopyFrom(), glue::InodeTracker::CopyFrom(), compat::inode_tracker_v3::PathStore::CopyFrom(), glue::NentryTracker::CopyFrom(), compat::inode_tracker_v3::InodeTracker::CopyFrom(), compat::chunk_tables::ChunkTables::CopyFrom(), compat::chunk_tables_v2::ChunkTables::CopyFrom(), compat::chunk_tables_v3::ChunkTables::CopyFrom(), catalog::WritableCatalog::CopyToParent(), manifest::Reflog::CountEntries(), Watchdog::Create(), NfsMapsSqlite::Create(), NfsMapsLeveldb::Create(), ExternalCacheManager::Create(), PosixCacheManager::Create(), LibContext::Create(), PluginRamCache::Create(), FileSystem::Create(), dns::CaresResolver::Create(), ExternalQuotaManager::Create(), dns::NormalResolver::Create(), MountPoint::CreateAuthz(), catalog::VirtualCatalog::CreateBaseDirectory(), publish::SyncItemTar::CreateBasicCatalogDirent(), publish::SyncItemDummyDir::CreateBasicCatalogDirent(), publish::SyncItemNative::CreateBasicCatalogDirent(), history::HistoryDatabase::CreateBranchesTable(), swissknife::CommandApplyDirtab::CreateCatalogMarkers(), manifest::Reflog::CreateDatabase(), history::SqliteHistory::CreateDatabase(), history::HistoryDatabase::CreateEmptyDatabase(), catalog::CatalogDatabase::CreateEmptyDatabase(), MallocArena::CreateInitialized(), catalog::WritableCatalogManager::CreateNestedCatalog(), catalog::VirtualCatalog::CreateNestedCatalogMarker(), swissknife::CommandMigrate::CreateNestedCatalogMarkerDirent(), CreatePidNamespace(), history::HistoryDatabase::CreateRecycleBinTable(), whitelist::Whitelist::CreateString(), history::HistoryDatabase::CreateTagsTable(), MountPoint::CreateTracer(), download::HeaderLists::CutHeader(), cvmcache_get_session(), cvmcache_options_dump(), cvmcache_options_get(), cvmcache_spawn_watchdog(), cvmfs_attach_repo(), cvmfs_attach_repo_v2(), cvmfs_get_revision(), cvmfs::cvmfs_getxattr(), cvmfs::cvmfs_listxattr(), cvmfs::cvmfs_lookup(), cvmfs::cvmfs_open(), cvmfs_options_dump(), cvmfs_options_get(), cvmfs::cvmfs_read(), cvmfs::cvmfs_release(), cvmfs_remount(), cvmfs_statistics_format(), cvmfs_test_cat(), Daemonize(), FileBackedBuffer::Data(), manifest::Reflog::database_file(), lru::LruCache< Key, Value >::MemoryAllocator< ConcreteListEntryContent >::Deallocate(), compat::inode_tracker::InodeContainer::DebugPrint(), zlib::DecompressInit(), def(), sqlite::Sql::DeferredInit(), zlib::ZlibCompressor::Deflate(), lru::LruCache< shash::Any, MemoryBuffer >::DeleteOldest(), Pathspec::DestroyRegularExpressions(), catalog::AbstractCatalogManager< CatalogT >::DetachCatalog(), swissknife::CommandMigrate::MigrationWorker_20x::DetachOldCatalogDatabase(), swissknife::CommandApplyDirtab::DetermineNestedCatalogCandidates(), CatalogDiffTool< RoCatalogMgr >::DiffRec(), compat::shash_v1::Digest< 16, kMd5 >::Digest(), shash::Digest< 16, kMd5 >::Digest(), compat::shash_v2::Digest< 20, kAny >::Digest(), catalog::DirectoryEntry::DirectoryEntry(), TubeGroup< FileItem >::Dispatch(), TubeGroup< FileItem >::DispatchAny(), DoAsynchronousScratchCleanup(), PosixQuotaManager::DoCleanup(), compat::inode_tracker_v2::SmallHashBase< uint64_t, shash_v1::Md5, SmallHashDynamic< uint64_t, shash_v1::Md5 > >::DoClear(), MemoryKvStore::DoCommit(), cipher::CipherAes256Cbc::DoDecrypt(), MemoryKvStore::DoDelete(), cipher::CipherAes256Cbc::DoEncrypt(), manifest::DoFetch(), StaticOffsetDetector::DoFindNextCutMark(), Xor32Detector::DoFindNextCutMark(), MemoryKvStore::DoFree(), compat::inode_tracker_v2::SmallHashBase< uint64_t, shash_v1::Md5, SmallHashDynamic< uint64_t, shash_v1::Md5 > >::DoInsert(), MemoryKvStore::DoMalloc(), ExternalCacheManager::DoOpen(), RamCacheManager::DoOpen(), notify::DoPublish(), TieredCacheManager::DoRestoreState(), ExternalCacheManager::DoRestoreState(), PosixCacheManager::DoRestoreState(), PluginRamCache::DoShrink(), Tracer::DoTrace(), swissknife::CatalogTraversalParallel< ObjectFetcherT >::DoTraverse(), swissknife::CatalogTraversal< ObjectFetcherT >::DoTraverse(), BigVector< uint64_t >::DoubleCapacity(), upload::S3Uploader::DoUpload(), upload::GatewayUploader::DoUpload(), manifest::DoVerify(), HttpObjectFetcher< CatalogT, HistoryT, ReflogT >::Download(), ServerTool::download_manager(), download::DownloadManager::DownloadManager(), publish::DownloadRootObjects(), manifest::Reflog::DropDatabaseFileOwnership(), history::SqliteHistory::DropDatabaseFileOwnership(), OptionsManager::Dump(), RamCacheManager::Dup(), download::HeaderLists::DuplicateList(), history::SqliteHistory::EmptyRecycleBin(), Tube< FileItem >::EnqueueBack(), Tube< FileItem >::EnqueueFront(), catalog::VirtualCatalog::EnsurePresence(), compat::inode_tracker_v2::SmallHashBase< uint64_t, shash_v1::Md5, SmallHashDynamic< uint64_t, shash_v1::Md5 > >::Erase(), compat::inode_tracker_v2::PathMap::Erase(), compat::inode_tracker_v2::InodeMap::Erase(), compat::inode_tracker_v3::PathStore::Erase(), compat::inode_tracker_v3::PathMap::Erase(), compat::inode_tracker_v3::InodeMap::Erase(), cvmfs_suid::EscapeSystemdUnit(), AuthzExternalFetcher::ExecHelper(), MallocHeap::Expand(), whitelist::Whitelist::expires(), ExternalCacheManager::ExternalCacheManager(), FdTable< ExternalCacheManager::ReadOnlyHandle >::FdTable(), AuthzExternalFetcher::Fetch(), LocalObjectFetcher< CatalogT, HistoryT, ReflogT >::Fetch(), download::DownloadManager::Fetch(), HttpObjectFetcher< CatalogT, HistoryT, ReflogT >::Fetch(), swissknife::CommandCheck::FetchCatalog(), AbstractObjectFetcher< LocalObjectFetcher< CatalogT, HistoryT, ReflogT > >::FetchCatalog(), cvmfs::Fetcher::Fetcher(), AbstractObjectFetcher< LocalObjectFetcher< CatalogT, HistoryT, ReflogT > >::FetchHistory(), HttpObjectFetcher< CatalogT, HistoryT, ReflogT >::FetchManifest(), swissknife::Assistant::FetchObject(), swissknife::CommandTag::FetchObject(), swissknife::CommandCheck::FetchPath(), ServerTool::FetchReflog(), AbstractObjectFetcher< LocalObjectFetcher< CatalogT, HistoryT, ReflogT > >::FetchReflog(), FifoChannel< T >::FifoChannel(), swissknife::CommandScrub::FileCallback(), compat::chunk_tables::FileChunk::FileChunk(), compat::chunk_tables_v2::FileChunk::FileChunk(), compat::chunk_tables::FileChunkReflist::FileChunkReflist(), compat::chunk_tables_v2::FileChunkReflist::FileChunkReflist(), FileItem::FileItem(), sqlite::Database< DerivedT >::FileReadAhead(), FileSystem::FileSystem(), SimpleHashFilter::Fill(), SmallhashFilter::Fill(), lru::LruCache< shash::Any, MemoryBuffer >::FilterBegin(), swissknife::CommandApplyDirtab::FilterCandidatesFromGlobResult(), lru::LruCache< shash::Any, MemoryBuffer >::FilterDelete(), lru::LruCache< shash::Any, MemoryBuffer >::FilterEnd(), lru::LruCache< shash::Any, MemoryBuffer >::FilterGet(), lru::LruCache< shash::Any, MemoryBuffer >::FilterNext(), shash::Final(), upload::SessionContextBase::Finalize(), catalog::WritableCatalogManager::FinalizeCatalog(), compat::inode_tracker::InodeTracker::Find(), catalog::WritableCatalogManager::FindCatalog(), catalog::AbstractCatalogManager< CatalogT >::FindCatalog(), FileChunkReflist::FindChunkIdx(), NfsMapsSqlite::FindInode(), compat::inode_tracker_v2::InodeTracker::FindInode(), compat::inode_tracker_v3::InodeTracker::FindInode(), swissknife::RootChainWalker::FindObjectsAndPopulateReflog(), glue::InodeTracker::FindPath(), compat::inode_tracker_v2::InodeTracker::FindPath(), compat::inode_tracker_v3::InodeTracker::FindPath(), swissknife::CommandMigrate::MigrationWorker_20x::FixNestedCatalogTransitionPoints(), catalog::Catalog::FixTransitionPoint(), Tracer::Flush(), TalkManager::FormatLatencies(), anonymous_namespace{libcvmfs_cache.cc}::ForwardCachePlugin::ForwardCachePlugin(), manifest::Reflog::fqrn(), MallocArena::Free(), Buffer< T, A >::free_space_ptr(), CacheManager::FreeState(), FuseMain(), Future< T >::Future(), GarbageCollector< CatalogTraversalT, HashFilterT >::GarbageCollector(), GarbageCollectorAux< CatalogTraversalT, HashFilterT >::GarbageCollectorAux(), upload::GatewayUploader::GatewayUploader(), swissknife::CommandMigrate::MigrationWorker_20x::GenerateCatalogStatistics(), signature::SignatureManager::GenerateCertificate(), Pathspec::GenerateGlobString(), Pathspec::GenerateGlobStringSequence(), cipher::CipherAes256Cbc::GenerateIv(), swissknife::CommandMigrate::ChownMigrationWorker::GenerateMappingStatement(), swissknife::CommandMigrate::MigrationWorker_217::GenerateNewStatisticsCounters(), signature::SignatureManager::GenerateRsaKeyPair(), catalog::VirtualCatalog::GenerateSnapshots(), Watchdog::GenerateStackTrace(), XattrList::Get(), compat::inode_tracker::InodeContainer::Get(), compat::inode_tracker_v2::InodeReferences::Get(), compat::inode_tracker_v3::InodeReferences::Get(), shash::Digest< digest_size_, algorithm_ >::Hex::GetAlgorithmIdentifierChar(), lru::LruCache< Key, Value >::MemoryAllocator< ConcreteListEntryContent >::GetBit(), history::SqliteHistory::GetBranchHead(), history::SqliteHistory::GetByDate(), history::SqliteHistory::GetByName(), swissknife::Assistant::GetCatalog(), swissknife::CommandTag::GetCatalog(), manifest::Reflog::GetCatalogTimestamp(), signature::SignatureManager::GetCertificate(), history::History::Tag::GetChannelName(), compat::inode_tracker_v2::SmallHashBase< uint64_t, shash_v1::Md5, SmallHashDynamic< uint64_t, shash_v1::Md5 > >::GetCollisionStats(), ScopedWorkingDirectory::GetCurrentWorkingDirectory(), ObjectPackProducer::GetDigest(), cvmfs::GetDirentForInode(), compat::inode_tracker_v2::SmallHashBase< uint64_t, shash_v1::Md5, SmallHashDynamic< uint64_t, shash_v1::Md5 > >::GetEntrySize(), LibContext::GetExtAttr(), sqlite::Database< DerivedT >::GetFreePageRatio(), shash::Digest< digest_size_, algorithm_ >::Hex::GetHashChar(), history::SqliteHistory::GetHashes(), swissknife::Assistant::GetHistory(), swissknife::CommandTag::GetHistory(), ClientCtx::GetInstance(), SessionCtx::GetInstance(), LibGlobals::GetInstance(), PluginRamCache::GetInstance(), GetLimitNoFile(), catalog::Catalog::GetMangledInode(), SqliteMemoryManager::GetMemory(), sqlite::Database< DerivedT >::GetMemStatistics(), catalog::WritableCatalogManager::GetModifiedCatalogLeafs(), catalog::WritableCatalogManager::GetModifiedCatalogs(), sqlite::Database< DerivedT >::GetModifiedRowCount(), CacheTransport::Frame::GetMsgRpc(), CacheTransport::Frame::GetMsgTyped(), catalog::AbstractCatalogManager< CatalogT >::GetNestedCatalogHash(), swissknife::CommandMigrate::GetNestedCatalogMarkerDirent(), history::SqliteHistory::GetNumberOfTags(), NfsMapsSqlite::GetPath(), cvmfs::GetPathForInode(), signature::SignatureManager::GetPrivateKey(), signature::SignatureManager::GetPrivateMasterKey(), sqlite::Database< DerivedT >::GetProperty(), download::DownloadManager::GetProxyInfo(), publish::SyncItem::GetRdevMajor(), publish::SyncItem::GetRdevMinor(), manifest::Reflog::GetReferenceTimestamp(), swissknife::CatalogTraversalBase< ObjectFetcherT >::GetRepositoryRootCatalogHash(), catalog::CatalogDatabase::GetRowIdWasteRatio(), publish::SyncItemTar::GetScratchFiletype(), MallocHeap::GetSize(), ExternalCacheManager::GetSize(), MallocArena::GetSize(), catalog::VirtualCatalog::GetSortedTagsFromCatalog(), catalog::VirtualCatalog::GetSortedTagsFromHistory(), receiver::GetSpoolerTempDir(), publish::SyncItemTar::GetStatFromTar(), compat::inode_tracker_v2::InodeTracker::GetStatistics(), compat::inode_tracker_v3::InodeTracker::GetStatistics(), publish::SyncItem::EntryStat::GetSyncItemType(), anonymous_namespace{repository_diff.cc}::GetTag(), StopWatch::GetTime(), cvmfs::Fetcher::GetTls(), compat::inode_tracker_v3::StringHeap::GetUsage(), catalog::WritableCatalog::GetWritableParent(), catalog::SqlLookupXattrs::GetXattrs(), compat::inode_tracker_v2::SmallHashDynamic< uint64_t, uint32_t >::Grow(), compat::chunk_tables::ChunkTables::Handle2Lock(), compat::chunk_tables_v2::ChunkTables::Handle2Lock(), compat::chunk_tables_v3::ChunkTables::Handle2Lock(), CachePlugin::HandleBreadcrumbLoad(), CachePlugin::HandleList(), swissknife::CatalogTraversal< ObjectFetcherT >::HandlePostponedYields(), swissknife::anonymous_namespace{swissknife_pull.cc}::ChunkJob::hash(), manifest::Reflog::HashDatabase(), sqlite::Database< DerivedT >::HasProperty(), publish::SyncUnionOverlayfs::HasXattr(), shash::Hmac(), catalog::WritableCatalog::IncLinkcount(), MemoryKvStore::IncRef(), inf(), BackoffThrottle::Init(), Tube< FileItem >::Init(), shash::Init(), compat::inode_tracker_v2::SmallHashBase< uint64_t, shash_v1::Md5, SmallHashDynamic< uint64_t, shash_v1::Md5 > >::Init(), MultiHash< Key, Value >::Init(), download::DownloadManager::Init(), sqlite::Sql::Init(), compat::inode_tracker_v3::StringHeap::Init(), ServerTool::InitDownloadManager(), compat::chunk_tables::ChunkTables::InitHashmaps(), compat::chunk_tables_v2::ChunkTables::InitHashmaps(), compat::chunk_tables_v3::ChunkTables::InitHashmaps(), publish::SyncUnionTarball::Initialize(), LibGlobals::Initialize(), receiver::PayloadProcessor::Initialize(), SynchronizingCounter< T >::Initialize(), s3fanout::S3FanoutManager::InitializeDnsSettings(), s3fanout::S3FanoutManager::InitializeDnsSettingsCurl(), InitializeGarbageCollection(), s3fanout::S3FanoutManager::InitializeRequest(), download::DownloadManager::InitializeRequest(), Prng::InitLocaltime(), ObjectPack::InitLock(), AuthzExternalFetcher::InitLock(), compat::inode_tracker::InodeTracker::InitLock(), compat::inode_tracker_v2::InodeTracker::InitLock(), glue::InodeTracker::InitLock(), glue::NentryTracker::InitLock(), compat::inode_tracker_v3::InodeTracker::InitLock(), ChunkTables::InitLocks(), compat::chunk_tables::ChunkTables::InitLocks(), compat::chunk_tables_v2::ChunkTables::InitLocks(), compat::chunk_tables_v3::ChunkTables::InitLocks(), compat::inode_tracker_v2::SmallHashBase< uint64_t, shash_v1::Md5, SmallHashDynamic< uint64_t, shash_v1::Md5 > >::InitMemory(), s3fanout::S3FanoutManager::InitPipeWatchFds(), catalog::WritableCatalog::InitPreparedStatements(), ServerTool::InitSigningSignatureManager(), sanitizer::InputSanitizer::InitValidRanges(), ServerTool::InitVerifyingSignatureManager(), signature::SignatureManager::InitX509Store(), compat::inode_tracker::InodeContainer::InodeContainer(), compat::inode_tracker_v2::InodeMap::InodeMap(), compat::inode_tracker_v3::InodeMap::InodeMap(), compat::inode_tracker_v2::InodeReferences::InodeReferences(), compat::inode_tracker_v3::InodeReferences::InodeReferences(), compat::inode_tracker::InodeTracker::InodeTracker(), compat::inode_tracker_v2::InodeTracker::InodeTracker(), compat::inode_tracker_v3::InodeTracker::InodeTracker(), history::SqliteHistory::Insert(), compat::inode_tracker_v2::SmallHashBase< uint64_t, shash_v1::Md5, SmallHashDynamic< uint64_t, shash_v1::Md5 > >::Insert(), compat::inode_tracker_v2::PathMap::Insert(), compat::inode_tracker_v2::InodeMap::Insert(), compat::inode_tracker_v3::PathStore::Insert(), compat::inode_tracker_v3::PathMap::Insert(), compat::inode_tracker_v3::InodeMap::Insert(), lru::LruCache< Key, Value >::ListEntry< fuse_ino_t >::InsertAsPredecessor(), lru::LruCache< Key, Value >::ListEntry< fuse_ino_t >::InsertAsSuccessor(), catalog::WritableCatalog::InsertBindMountpoint(), history::SqliteHistory::InsertBranch(), publish::SyncMediator::InsertHardlink(), ReflogDatabase::InsertInitialValues(), history::HistoryDatabase::InsertInitialValues(), catalog::CatalogDatabase::InsertInitialValues(), publish::SyncMediator::InsertLegacyHardlink(), catalog::WritableCatalog::InsertNestedCatalog(), catalog::VirtualCatalog::InsertSnapshot(), swissknife::CommandCheck::InspectReflog(), FuseInvalidator::InvalidateInodes(), catalog::Catalog::IsAutogenerated(), swissknife::CatalogTraversalBase< ObjectFetcherT >::IsBelowPruningThresholds(), whitelist::Whitelist::IsExpired(), dns::Host::IsExpired(), Pathspec::IsMatching(), catalog::Dirtab::IsMatching(), Pathspec::IsMatchingRelaxed(), CacheTransport::Frame::IsMsgOutOfBand(), catalog::Dirtab::IsOpposing(), Pathspec::IsPrefixMatching(), NfsMapsSqlite::IssueInode(), dns::Host::IsValid(), history::SqliteHistory::IsWritable(), ItemAllocator::ItemAllocator(), PolymorphicConstructionImpl< Compressor, Algorithms, void >::LazilyRegisterPlugins(), sqlite::Sql::LazyInit(), history::SqliteHistory::List(), CachePlugin::Listen(), catalog::Catalog::ListingMd5Path(), catalog::Catalog::ListingMd5PathStat(), catalog::Catalog::ListMd5PathChunks(), manifest::Reflog::ListOlderThan(), history::SqliteHistory::ListRecycleBin(), ReflogDatabase::LiveSchemaUpgradeIfNecessary(), history::HistoryDatabase::LiveSchemaUpgradeIfNecessary(), catalog::CatalogDatabase::LiveSchemaUpgradeIfNecessary(), ExternalCacheManager::LoadBreadcrumb(), catalog::SimpleCatalogManager::LoadCatalog(), catalog::ClientCatalogManager::LoadCatalogCas(), catalog::AbstractCatalogManager< CatalogT >::LoadFreeCatalog(), upload::LocalUploader::LocalUploader(), BaseMagicXattr::Lock(), ChunkTables::Lock(), SimpleChunkTables::Lock(), MultiHash< Key, Value >::Lock(), compat::inode_tracker_v2::InodeTracker::Lock(), glue::InodeTracker::Lock(), glue::NentryTracker::Lock(), compat::inode_tracker_v3::InodeTracker::Lock(), compat::chunk_tables::ChunkTables::Lock(), compat::chunk_tables_v2::ChunkTables::Lock(), compat::chunk_tables_v3::ChunkTables::Lock(), Lockable::Lockable(), QuotaManager::LockBackChannels(), FileSystem::LockWorkspace(), Log2Histogram::Log2Histogram(), LogAuthz(), anonymous_namespace{logging.cc}::LogBuffer::LogBuffer(), LogCustom(), LogCvmfs(), LogMicroSyslog(), AuthzAttachment::LogOpenSSLErrors(), glue::PathStore::Lookup(), compat::inode_tracker_v3::PathStore::Lookup(), AuthzSessionManager::LookupAuthzData(), catalog::Catalog::LookupEntry(), compat::inode_tracker_v3::PathMap::LookupInode(), catalog::AbstractCatalogManager< CatalogT >::LookupPath(), AuthzSessionManager::LookupSessionKey(), catalog::Catalog::LookupXattrsMd5Path(), lru::LruCache< shash::Any, MemoryBuffer >::LruCache(), swissknife::CommandGc::Main(), swissknife::CommandInfo::Main(), swissknife::CommandPull::Main(), swissknife::CommandCreate::Main(), swissknife::CommandUpload::Main(), swissknife::CommandPeek::Main(), swissknife::CommandRollbackTag::Main(), swissknife::CommandRemove::Main(), main(), swissknife::CommandSync::Main(), swissknife::CommandMigrate::Main(), PosixQuotaManager::MainCacheManager(), glue::NentryTracker::MainCleaner(), upload::S3Uploader::MainCollectResults(), Tracer::MainFlush(), FuseInvalidator::MainInvalidator(), FuseRemounter::MainRemountTrigger(), TalkManager::MainResponder(), s3fanout::S3FanoutManager::MainUpload(), swissknife::MainWorker(), BlockItem::MakeData(), BlockItem::MakeDataCopy(), BlockItem::MakeDataMove(), catalog::CatalogBalancer< CatalogMgrT >::MakeEmptyDirectoryEntryBase(), catalog::SqlDirent::MakeHardlinks(), catalog::WritableCatalog::MakeNestedRoot(), shash::Digest< 16, kMd5 >::MakePathExplicit(), MakePipe(), publish::SyncItemNative::MakePlaceholderDirectory(), swissknife::CommandScrub::MakeRelativePath(), PosixQuotaManager::MakeReturnPipe(), MakeSocket(), BlockItem::MakeStop(), MakeTcpEndpoint(), catalog::WritableCatalog::MakeTransitionPoint(), ItemAllocator::Malloc(), MallocArena::Malloc(), MallocArena::MallocArena(), MallocHeap::MallocHeap(), ManagedExec(), MemoryMappedFile::Map(), publish::SyncItem::MarkAsOpaqueDirectory(), MallocHeap::MarkFree(), publish::SyncUnionOverlayfs::MaskFileHardlinks(), lru::LruCache< Key, Value >::MemoryAllocator< ConcreteListEntryContent >::MemoryAllocator(), cipher::MemoryKeyDatabase::MemoryKeyDatabase(), MemoryKvStore::MemoryKvStore(), CacheTransport::Frame::MergeFrom(), catalog::WritableCatalog::MergeIntoParent(), BigQueue< glue::NentryTracker::Entry >::Migrate(), compat::inode_tracker_v2::Migrate(), compat::inode_tracker_v3::Migrate(), SmallHashDynamic< CachePlugin::UniqueRequest, uint64_t >::Migrate(), compat::inode_tracker_v2::SmallHashDynamic< uint64_t, uint32_t >::Migrate(), swissknife::CommandMigrate::MigrationWorker_20x::MigrateFileMetadata(), swissknife::CommandMigrate::MigrationWorker_20x::MigrateNestedCatalogMountPoints(), swissknife::CommandMigrate::MigrationCallback(), FileSystem::MkCacheParm(), s3fanout::S3FanoutManager::MkPayloadHash(), cvmfs::Uuid::MkUuid(), s3fanout::S3FanoutManager::MkV4Authz(), publish::SyncDiffReporter::ModifyImpl(), MountPoint::MountPoint(), catalog::AbstractCatalogManager< CatalogT >::MountSubtree(), catalog::WritableCatalog::MoveCatalogsToNested(), catalog::WritableCatalog::MoveFileChunksToNested(), swissknife::CommandEditTag::MoveTag(), lru::LruCache< Key, Value >::ListEntryHead< fuse_ino_t >::MoveToBack(), catalog::WritableCatalog::MoveToNestedRecursively(), ExternalCacheManager::RpcJob::msg_breadcrumb_reply(), ExternalCacheManager::RpcJob::msg_info_reply(), ExternalCacheManager::RpcJob::msg_list_reply(), ExternalCacheManager::RpcJob::msg_object_info_reply(), ExternalCacheManager::RpcJob::msg_read_reply(), ExternalCacheManager::RpcJob::msg_refcount_reply(), ExternalCacheManager::RpcJob::msg_shrink_reply(), ExternalCacheManager::RpcJob::msg_store_reply(), NfsMapsLeveldb::NfsMapsLeveldb(), NfsMapsSqlite::NfsMapsSqlite(), Nonblock2Block(), catalog::Catalog::NormalizePath(), catalog::Catalog::NormalizePath2(), compat::inode_tracker_v2::SmallHashDynamic< uint64_t, uint32_t >::num_migrates(), ObjectPackProducer::ObjectPackProducer(), Observable< ParamT >::Observable(), swissknife::ObtainDacReadSearchCapability(), MemoryKvStore::OnBlockMove(), PluginRamCache::OnBlockMove(), swissknife::CommandScrub::OnFileHashed(), TarIngestionSource::Open(), CacheManager::Open2Mem(), manifest::Reflog::OpenDatabase(), catalog::Catalog::OpenDatabase(), history::SqliteHistory::OpenDatabase(), sqlite::Database< DerivedT >::OpenDatabase(), FdTable< ExternalCacheManager::ReadOnlyHandle >::OpenFd(), Buffer< T, A >::operator=(), OptionsManager::operator=(), compat::inode_tracker::InodeTracker::operator=(), compat::inode_tracker_v2::SmallHashDynamic< uint64_t, uint32_t >::operator=(), compat::inode_tracker_v2::InodeTracker::operator=(), compat::inode_tracker_v3::PathStore::operator=(), compat::inode_tracker_v3::InodeTracker::operator=(), compat::chunk_tables::ChunkTables::operator=(), compat::chunk_tables_v2::ChunkTables::operator=(), compat::chunk_tables_v3::ChunkTables::operator=(), shash::Digest< digest_size_, algorithm_ >::Hex::operator[](), Panic(), publish::Command::Parameter::Parameter(), swissknife::Parameter::Parameter(), JsonDocument::Parse(), OptionsManager::ParseDefault(), loader::ParseFuseOptions(), ParseHandshakeInit(), dns::HostfileResolver::ParseHostFile(), AuthzExternalFetcher::ParseMsg(), publish::Command::ParseOptions(), BashOptionsManager::ParsePath(), PathspecElementPattern::ParsePlaintext(), ParseRequest(), PathspecElementPattern::ParseSpecialChar(), compat::inode_tracker_v2::PathMap::PathMap(), compat::inode_tracker_v3::PathMap::PathMap(), compat::inode_tracker_v3::PathStore::PathStore(), PosixQuotaManager::Pin(), compat::inode_tracker_v3::StringRef::Place(), catalog::Catalog::PlantPath(), platform_memsize(), platform_realtime_ns(), platform_sigwait(), platform_time_with_clock(), lru::LruCache< Key, Value >::ListEntryHead< fuse_ino_t >::Pop(), BigQueue< glue::NentryTracker::Entry >::PopFront(), lru::LruCache< Key, Value >::ListEntryHead< fuse_ino_t >::PopFront(), posix_do_link(), posix_do_unlink(), PosixCheckDirStructure(), PosixGcMainWorker(), swissknife::CatalogTraversal< ObjectFetcherT >::PostponeYield(), anonymous_namespace{repository_session.cc}::PrepareCurl(), download::PrepareDownloadDestination(), manifest::Reflog::PrepareQueries(), history::SqliteHistory::PrepareQueries(), history::SqliteHistory::previous_revision(), compat::inode_tracker::InodeTracker::Statistics::Print(), compat::inode_tracker_v2::InodeTracker::Statistics::Print(), compat::inode_tracker_v3::InodeTracker::Statistics::Print(), download::PrintPacError(), Pathspec::PrintRegularExpressionError(), JsonDocument::PrintValue(), TaskHash::Process(), TaskWrite::Process(), TaskRegister::Process(), receiver::CommitProcessor::Process(), TaskCompress::Process(), TaskChunk::Process(), receiver::PayloadProcessor::Process(), TaskScrubbingCallback::Process(), PosixQuotaManager::ProcessCommandBunch(), ProcessExists(), CachePlugin::ProcessRequests(), history::SqliteHistory::PruneBranches(), Buffer< T, A >::ptr(), publish::SyncMediator::PublishFilesCallback(), publish::SyncMediator::PublishHardlinksCallback(), swissknife::CommandPull::Pull(), swissknife::CommandPull::PullRecursion(), BigQueue< glue::NentryTracker::Entry >::PushBack(), publish::PushHistory(), swissknife::CatalogTraversal< ObjectFetcherT >::PushReferencedCatalogs(), publish::PushReflog(), compat::inode_tracker::InodeContainer::Put(), glue::InodeReferences::Put(), compat::inode_tracker_v2::InodeReferences::Put(), compat::inode_tracker_v3::InodeReferences::Put(), SqliteMemoryManager::LookasideBufferArena::PutBuffer(), QuotaManager::QuotaManager(), PluginRamCache::ram_abort_txn(), PluginRamCache::ram_commit_txn(), PluginRamCache::ram_listing_end(), PluginRamCache::ram_listing_next(), PluginRamCache::ram_pread(), PluginRamCache::ram_write_txn(), RamCacheManager::RamCacheManager(), FileIngestionSource::Read(), Read(), Pipe::Read(), catalog::Catalog::ReadCatalogCounters(), ReadHalfPipe(), catalog::AbstractCatalogManager< Catalog >::ReadLock(), ReadMsg(), ReadPipe(), ReadStdinBytes(), perf::Recorder::Recorder(), FileSystemTraversal< T >::Recurse(), RecvFdFromSocket(), perf::Statistics::Register(), ExternalQuotaManager::RegisterBackChannel(), FileItem::RegisterChunk(), quota::RegisterUnpinListener(), sqlite::RegisterVfsRdOnly(), quota::RegisterWatchdogListener(), BaseMagicXattr::Release(), download::DownloadManager::ReleaseCredential(), AuthzAttachment::ReleaseCurlHandle(), s3fanout::S3FanoutManager::ReleaseCurlHandle(), download::DownloadManager::ReleaseCurlHandle(), catalog::AbstractCatalogManager< CatalogT >::Remount(), manifest::Reflog::Remove(), catalog::VirtualCatalog::Remove(), history::SqliteHistory::Remove(), catalog::WritableCatalog::RemoveBindMountpoint(), GarbageCollector< CatalogTraversalT, HashFilterT >::RemoveCatalogFromReflog(), catalog::Catalog::RemoveChild(), swissknife::CommandMigrate::MigrationWorker_20x::RemoveDanglingNestedMountpoints(), catalog::WritableCatalog::RemoveEntry(), catalog::WritableCatalog::RemoveFileChunks(), file_watcher::FileWatcherKqueue::RemoveFilter(), lru::LruCache< Key, Value >::ListEntryContent< Key >::RemoveFromList(), lru::LruCache< Key, Value >::ListEntryHead< fuse_ino_t >::RemoveFromList(), catalog::WritableCatalog::RemoveFromParent(), publish::SyncDiffReporter::RemoveImpl(), catalog::WritableCatalog::RemoveNestedCatalog(), catalog::WritableCatalogManager::RemoveNestedCatalog(), catalog::VirtualCatalog::RemoveRecursively(), swissknife::CommandMigrate::BulkhashRemovalMigrationWorker::RemoveRedundantBulkHashes(), catalog::VirtualCatalog::RemoveSnapshot(), compat::inode_tracker_v3::StringHeap::RemoveString(), swissknife::CommandEditTag::RemoveTags(), anonymous_namespace{cmd_enter.cc}::RemoveUnderlay(), swissknife::CatalogTraversalBase< ObjectFetcherT >::ReopenCatalog(), swissknife::CommandMigrate::StatsMigrationWorker::RepairStatisticsCounters(), receiver::CatalogMergeTool< RwCatalogMgr, RoCatalogMgr >::ReportAddition(), receiver::CatalogMergeTool< RwCatalogMgr, RoCatalogMgr >::ReportModification(), MallocArena::ReserveBlock(), BlockItem::Reset(), compat::inode_tracker_v2::SmallHashDynamic< uint64_t, uint32_t >::ResetCapacity(), SqlContainsReference::RetrieveAnswer(), history::SqlCountTags::RetrieveCount(), catalog::SqlDirent::RetrieveHashAlgorithm(), FileBackedBuffer::Rewind(), history::SqliteHistory::Rollback(), swissknife::CommandFileStats::Run(), swissknife::CommandListReflog::Run(), file_watcher::FileWatcherInotify::RunEventLoop(), file_watcher::FileWatcherKqueue::RunEventLoop(), RunGarbageCollection(), history::SqliteHistory::RunListing(), swissknife::CommandMigrate::MigrationWorker_20x::RunMigration(), s3fanout::S3FanoutManager::S3FanoutManager(), upload::S3Uploader::S3Uploader(), SafeRead(), SafeWrite(), SafeWriteV(), FileBackedBuffer::SaveToFile(), NfsMapsLeveldb::ForkAwareEnv::Schedule(), ConcurrentWorkers< WorkerT >::ScheduleDeathSentences(), CacheTransport::SendData(), CacheTransport::SendFrame(), cvmfs::SendFuseFd(), CacheTransport::SendNonBlocking(), SessionCtx::SessionCtx(), CachePlugin::SessionCtxGuard::SessionCtxGuard(), ClientCtx::Set(), SessionCtx::Set(), Future< T >::Set(), catalog::DirectoryEntryBase::set_linkcount(), ChunkItem::set_size(), BlockItem::set_size(), ChunkItem::set_upload_handle(), lru::LruCache< Key, Value >::MemoryAllocator< ConcreteListEntryContent >::SetBit(), BlockItem::SetChunkItem(), download::DownloadManager::SetDnsParameters(), download::DownloadManager::SetDnsServer(), BlockItem::SetFileItem(), catalog::AbstractCatalogManager< CatalogT >::SetInodeAnnotation(), catalog::Catalog::SetInodeAnnotation(), SetLogAuthzDebug(), SetLogAuthzSyslogPrefix(), SetLogCustomFile(), SetLogMicroSyslog(), history::SqliteHistory::SetPreviousRevision(), sqlite::Database< DerivedT >::SetProperty(), dns::NormalResolver::SetSearchDomains(), BigVector< uint64_t >::SetSize(), dns::CaresResolver::SetSystemResolvers(), dns::CaresResolver::SetSystemSearchDomains(), dns::NormalResolver::SetSystemSearchDomains(), compat::inode_tracker_v2::SmallHashDynamic< uint64_t, uint32_t >::SetThresholds(), SetupLibcryptoMt(), FileSystem::SetupNfsMaps(), FileSystem::SetupPosixQuotaMgr(), FileSystem::SetupSqlite(), FileSystem::SetupUuid(), s3fanout::S3FanoutManager::SetUrlOptions(), Buffer< T, A >::SetUsed(), Buffer< T, A >::SetUsedBytes(), SynchronizingCounter< T >::SetValueUnprotected(), TaskRead::SetWatermarks(), compat::inode_tracker_v2::SmallHashDynamic< uint64_t, uint32_t >::Shrink(), MemoryKvStore::ShrinkTo(), letter::Letter::Sign(), Signal::Signal(), ServerTool::signature_manager(), signature::SignatureManager::SignatureManager(), SimpleChunkTables::SimpleChunkTables(), MallocArena::ReservedBlockCtl::size(), Tube< FileItem >::SliceUnlocked(), compat::inode_tracker_v2::SmallHashBase< uint64_t, shash_v1::Md5, SmallHashDynamic< uint64_t, shash_v1::Md5 > >::SmallHashBase(), compat::inode_tracker_v2::SmallHashDynamic< uint64_t, uint32_t >::SmallHashDynamic(), catalog::WritableCatalogManager::SnapshotCatalogsSerialized(), SortTeam(), Watchdog::Spawn(), TalkManager::Spawn(), FuseRemounter::Spawn(), Tracer::Spawn(), FuseInvalidator::Spawn(), file_watcher::FileWatcher::Spawn(), TubeConsumerGroup< FileItem >::Spawn(), loader::loader_talk::Spawn(), ExternalCacheManager::Spawn(), s3fanout::S3FanoutManager::Spawn(), download::DownloadManager::Spawn(), glue::NentryTracker::SpawnCleaner(), ExternalCacheManager::SpawnPlugin(), ConcurrentWorkers< WorkerT >::SpawnWorkers(), sqlite::Sql::Sql(), SqliteMemoryManager::SqliteMemoryManager(), catalog::SqlLookupDanglingMountpoints::SqlLookupDanglingMountpoints(), history::SqlRecycleBinFlush::SqlRecycleBinFlush(), history::SqlRecycleBinList::SqlRecycleBinList(), StopWatch::Start(), swissknife::CommandMigrate::MigrationWorker_20x::StartDatabaseTransaction(), swissknife::CommandMigrate::MigrationWorker_217::StartDatabaseTransaction(), swissknife::CommandMigrate::StatsMigrationWorker::StartDatabaseTransaction(), PosixCacheManager::StartTxn(), perf::Statistics::Statistics(), compat::inode_tracker::InodeTracker::Statistics::Statistics(), compat::inode_tracker_v2::InodeTracker::Statistics::Statistics(), compat::inode_tracker_v3::InodeTracker::Statistics::Statistics(), file_watcher::FileWatcher::Stop(), StopWatch::Stop(), swissknife::Store(), swissknife::StoreBuffer(), catalog::SqlDirent::StoreHashAlgorithm(), compat::inode_tracker_v3::StringHeap::StringHeap(), download::DownloadManager::StripDirect(), SynchronizingCounter< int32_t >::SynchronizingCounter(), shrinkwrap::SyncInit(), publish::SyncItemDummyDir::SyncItemDummyDir(), publish::SyncMediator::SyncMediator(), publish::CommandList::TakeCommand(), TubeConsumerGroup< FileItem >::TakeConsumer(), manifest::Reflog::TakeDatabaseFileOwnership(), history::SqliteHistory::TakeDatabaseFileOwnership(), TubeGroup< FileItem >::TakeTube(), TarIngestionSource::TarIngestionSource(), TubeConsumerGroup< FileItem >::Terminate(), ConcurrentWorkers< WorkerT >::Terminate(), history::SqliteHistory::Tips(), ClientCtx::TlsDestructor(), SessionCtx::TlsDestructor(), shash::Digest< 16, kMd5 >::ToFingerprint(), notify::msg::Activity::ToJSONString(), shash::Digest< 16, kMd5 >::ToString(), SqlReflog::ToSuffix(), catalog::WritableCatalogManager::TouchDirectory(), publish::SyncMediator::TouchDirectory(), catalog::WritableCatalog::TouchEntry(), catalog::WritableCatalog::Transaction(), publish::SyncUnionAufs::Traverse(), publish::SyncUnionOverlayfs::Traverse(), publish::SyncUnionTarball::Traverse(), swissknife::CatalogTraversalBase< ObjectFetcherT >::TraverseNamedSnapshots(), file_watcher::FileWatcherKqueue::TryRegisterFilter(), catalog::ClientCatalogManager::UnloadCatalog(), ChunkTables::Unlock(), SimpleChunkTables::Unlock(), catalog::AbstractCatalogManager< Catalog >::Unlock(), MultiHash< Key, Value >::Unlock(), compat::inode_tracker_v2::InodeTracker::Unlock(), glue::InodeTracker::Unlock(), glue::NentryTracker::Unlock(), compat::inode_tracker_v3::InodeTracker::Unlock(), compat::chunk_tables::ChunkTables::Unlock(), compat::chunk_tables_v2::ChunkTables::Unlock(), compat::chunk_tables_v3::ChunkTables::Unlock(), QuotaManager::UnlockBackChannels(), UnlockFile(), MemoryMappedFile::Unmap(), MemoryKvStore::Unref(), Observable< ParamT >::UnregisterListener(), lru::LruCache< Key, Value >::MemoryAllocator< ConcreteListEntryContent >::UnsetBit(), shash::Update(), lru::LruCache< shash::Any, MemoryBuffer >::Update(), swissknife::CommandMigrate::MigrationWorker_217::UpdateCatalogSchema(), catalog::WritableCatalog::UpdateCounters(), catalog::WritableCatalog::UpdateEntry(), OptionsManager::UpdateEnvironment(), catalog::WritableCatalog::UpdateNestedCatalog(), download::DownloadManager::UpdateStatistics(), swissknife::CommandTag::UpdateUndoTags(), swissknife::CommandMigrate::UploadCallback(), swissknife::CommandTag::UploadCatalogAndUpdateManifest(), swissknife::CommandTag::UploadClosure(), swissknife::CommandMigrate::UploadHistoryClosure(), compat::inode_tracker_v3::StringHeap::used(), sqlite::Database< DerivedT >::Vacuum(), download::DownloadManager::ValidateProxyIpsUnlocked(), signature::SignatureManager::VerifyCaChain(), whitelist::Whitelist::VerifyLoadedCertificate(), signature::SignatureManager::VerifyPkcs7(), whitelist::Whitelist::VerifyWhitelist(), compat::inode_tracker::InodeTracker::VfsAdd(), compat::inode_tracker::InodeTracker::VfsGet(), compat::inode_tracker_v2::InodeTracker::VfsGet(), compat::inode_tracker_v3::InodeTracker::VfsGet(), compat::inode_tracker_v2::InodeTracker::VfsGetBy(), compat::inode_tracker_v3::InodeTracker::VfsGetBy(), compat::inode_tracker::InodeTracker::VfsPut(), glue::InodeTracker::VfsPut(), compat::inode_tracker_v2::InodeTracker::VfsPut(), compat::inode_tracker_v3::InodeTracker::VfsPut(), sqlite::VfsRdOnlyOpen(), sqlite::VfsRdOnlyRandomness(), Future< T >::Wait(), Signal::Wait(), upload::S3Uploader::RequestCtrl::WaitFor(), WaitForChild(), SynchronizingCounter< T >::WaitForFreeSlotUnprotected(), WaitForSignal(), SynchronizingCounter< int32_t >::WaitForZero(), Signal::Wakeup(), swissknife::RootChainWalker::WalkCatalogsInHistory(), swissknife::RootChainWalker::WalkHistories(), swissknife::RootChainWalker::WalkRootCatalogs(), Watchdog::Watchdog(), catalog::WritableCatalogManager::WritableCatalogManager(), ExternalCacheManager::Write(), Write(), Pipe::Write(), RamCacheManager::Write(), BlockItem::Write(), catalog::AbstractCatalogManager< Catalog >::WriteLock(), WritePidFile(), WritePipe(), WriteStdoutBytes(), Xor32Detector::Xor32Detector(), swissknife::CatalogTraversal< ObjectFetcherT >::Yield(), swissknife::CatalogTraversal< ObjectFetcherT >::YieldToListeners(), zlib::ZlibCompressor::ZlibCompressor(), upload::AbstractUploader::~AbstractUploader(), AuthzExternalFetcher::~AuthzExternalFetcher(), AuthzSessionManager::~AuthzSessionManager(), ClientCtx::~ClientCtx(), sqlite::Database< DerivedT >::DatabaseRaiiWrapper::~DatabaseRaiiWrapper(), cvmfs::Fetcher::~Fetcher(), SessionCtx::~SessionCtx(), CachePlugin::SessionCtxGuard::~SessionCtxGuard(), Signal::~Signal(), SqliteMemoryManager::~SqliteMemoryManager(), Tracer::~Tracer(), and zlib::ZlibCompressor::~ZlibCompressor().

assert ( (mem||((count *size)==0))&&"Out Of Memory"  )
assert ( (retval==0)&&"Invalid umnmap"  )
static uint64_t RoundUp8 ( const uint64_t  size)
inlinestatic

Round up size to the next larger multiple of 8. This is used to enforce 8-byte alignment.

Definition at line 37 of file smalloc.h.

Referenced by MallocHeap::Allocate(), MallocHeap::HasSpaceFor(), MallocArena::Malloc(), PluginRamCache::PluginRamCache(), FileSystem::SetupRamCacheMgr(), and SqliteMemoryManager::xRoundup().

Here is the caller graph for this function:

Variable Documentation

const uint32_t kMemMarker = 0xAAAAAAAA

Definition at line 31 of file smalloc.h.

static void size_t size
Initial value:
{
void *mem = realloc(ptr, size)
return mem
Definition: smalloc.h:50
static void size_t size
Definition: smalloc.h:47

Definition at line 47 of file smalloc.h.

Referenced by catalog::AbstractCatalogManager< CatalogT >::AcquireInodes(), glue::StringHeap::AddBin(), Buffer< T, A >::Allocate(), catalog::SqlDirentTouch::BindXattr(), catalog::SqlDirentInsert::BindXattr(), zlib::CompressZStream2Null(), ObjectPackConsumer::ConsumePayload(), cipher::Key::CreateFromString(), cipher::Key::CreateRandomly(), cvmfs::cvmfs_read(), cvmfs::cvmfs_statfs(), FifoChannel< T >::Dequeue(), upload::S3Uploader::DoUpload(), FifoChannel< T >::Enqueue(), cvmfs::Fetcher::Fetch(), catalog::CachedManifestEnsemble::FetchCertificate(), swissknife::CommandCheck::Find(), MallocArena::Free(), ResolvConfEventHandler::GetDnsAddresses(), FifoChannel< T >::GetItemCount(), catalog::WritableCatalogManager::GetModifiedCatalogs(), LibContext::GetNestedCatalogAttr(), catalog::AbstractCatalogManager< CatalogT >::GetNestedCatalogHash(), MallocArena::GetSize(), catalog::SqlLookupXattrs::GetXattrs(), CachePlugin::HandleRead(), PolymorphicConstruction< AbstractUploader, SpoolerDefinition >::Introspect(), JoinStrings(), catalog::AbstractCatalogManager< CatalogT >::LookupNested(), PosixQuotaManager::MainCommandServer(), TalkManager::MainResponder(), compat::chunk_tables::Migrate(), compat::chunk_tables_v2::Migrate(), TieredCacheManager::Open(), CacheManager::OpenPinned(), ObjectPackConsumer::ParseItem(), AuthzExternalFetcher::ParsePermit(), PosixQuotaManager::Pin(), platform_getxattr(), ExternalCacheManager::Pread(), TaskChunk::Process(), TaskRead::Process(), swissknife::CommandFileStats::ProcessCatalog(), PosixQuotaManager::ProcessCommandBunch(), PluginRamCache::ram_write_txn(), MemoryIngestionSource::Read(), LibContext::Readlink(), CacheTransport::RecvFrame(), RestoreState(), CacheTransport::SendFrame(), CacheTransport::Frame::set_att_size(), Buffer< T, A >::SetUsed(), MemoryKvStore::ShrinkTo(), signature::SignatureManager::SignRsa(), SplitString(), ExternalCacheManager::StartTxn(), PosixCacheManager::StartTxn(), RamCacheManager::StartTxn(), download::DownloadManager::SwitchProxy(), download::DownloadManager::VerifyAndFinalize(), signature::SignatureManager::VerifyRsa(), sqlite::VfsRdOnlyOpen(), and RamCacheManager::Write().