Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/facebook/CacheLib
/ functions
Functions
5,467 in github.com/facebook/CacheLib
⨍
Functions
5,467
◇
Types & classes
1,077
↓ 2 callers
Method
getPoolEvictionAgeStats
cachelib/allocator/CacheAllocator.h:5231
↓ 2 callers
Method
getPoolEvictionAgeStats
cachelib/allocator/tests/CacheBaseTest.cpp:40
↓ 2 callers
Method
getPoolId
returns the poolId corresponding to the allocation class.
cachelib/allocator/memory/AllocationClass.h:92
↓ 2 callers
Method
getPoolIds
return the ids for the set of existing pools in this cache.
cachelib/allocator/CacheAllocator.h:1174
↓ 2 callers
Method
getPoolName
returns the pool's name by its poolId.
cachelib/allocator/CacheAllocator.h:1203
↓ 2 callers
Method
getPoolOptimizeStrategy
cachelib/allocator/Cache.cpp:66
↓ 2 callers
Method
getPopDist
unlike other sources, we let the workload generator directly make copies of the base popularity distribution and sample from that.
cachelib/cachebench/workload/WorkloadDistribution.h:117
↓ 2 callers
Method
getRandomAlloc
cachelib/allocator/memory/SlabAllocator.cpp:512
↓ 2 callers
Function
getRandomNumbers
cachelib/allocator/memory/tests/CompressedPtrTest.cpp:26
↓ 2 callers
Method
getReadLock
cachelib/benchmarks/SpeedUpExistenceCheckBenchmark.cpp:103
↓ 2 callers
Method
getRebalanceStrategy
cachelib/cachebench/util/CacheConfig.cpp:134
↓ 2 callers
Method
getRescheduleCount
cachelib/navy/testing/MockJobScheduler.h:81
↓ 2 callers
Method
getSeqNumber
Atomically loads the current sequence number (in memory_order_acquire order). Sequence number increases when a reclaim finished. Since reclaim may sta
cachelib/navy/block_cache/RegionManager.h:165
↓ 2 callers
Method
getSize
return the size of usable space
cachelib/navy/block_cache/BlockCache.h:150
↓ 2 callers
Method
getSlabReleaseStats
cachelib/allocator/CacheAllocator.h:5321
↓ 2 callers
Method
getStackSize
cachelib/allocator/nvmcache/NavyConfig.h:904
↓ 2 callers
Method
getStats
cachelib/navy/scheduler/ThreadPoolJobQueue.cpp:159
↓ 2 callers
Method
getStats
cachelib/navy/scheduler/ThreadPoolJobScheduler.cpp:94
↓ 2 callers
Method
getStats
return the current snapshot of all stats */
cachelib/compact_cache/CCache.h:382
↓ 2 callers
Method
getStorageSize
cachelib/datatype/tests/MapTest.cpp:321
↓ 2 callers
Function
getSysClock
cachelib/common/PeriodicWorker.cpp:27
↓ 2 callers
Method
getTotalSize
cachelib/allocator/CacheItem.h:705
↓ 2 callers
Method
getTotalSize
cachelib/interface/components/FlashCacheComponent.cpp:174
↓ 2 callers
Method
getType
cachelib/allocator/RebalanceStrategy.h:121
↓ 2 callers
Function
getUniqueTempDir
cachelib/common/Utils.cpp:341
↓ 2 callers
Method
getUsableSize
cachelib/allocator/CacheAllocator.h:4697
↓ 2 callers
Method
getUsableSize
cachelib/navy/block_cache/CombinedEntryBlock.h:121
↓ 2 callers
Method
getUsableSize
cachelib/navy/driver/Driver.cpp:317
↓ 2 callers
Function
getValueSize
cachelib/datatype/DataTypes.h:90
↓ 2 callers
Method
getWarmSizePercent
cachelib/allocator/MM2Q.h:280
↓ 2 callers
Function
get_cache_handle_writer
( handle: &'a mut cxx::UniquePtr<ffi::LruItemHandle>, )
cachelib/rust/src/lrucache.rs:587
↓ 2 callers
Function
get_memory
cachelib/rust/src/cachelib.cpp:168
↓ 2 callers
Function
get_or_create_pool
Obtain a new pool from the cache. Pools are sub-caches that have their own slice of the cache's available memory, but that otherwise function as indep
cachelib/rust/src/lrucache.rs:515
↓ 2 callers
Method
get_or_create_pool
(&self, pool_name: &str, pool_bytes: usize)
cachelib/rust/src/lrucache.rs:445
↓ 2 callers
Method
get_pool
(&self, pool_name: &str)
cachelib/rust/src/lrucache.rs:439
↓ 2 callers
Function
getbit
getbit -- The bitstream generator Given state and a bit index, provide a pseudorandom bit dependent on both. Caches hash values.
cachelib/common/FurcHash.cpp:134
↓ 2 callers
Method
iceColdRoll
cachelib/allocator/nvmcache/tests/NvmTestBase.cpp:130
↓ 2 callers
Method
inList
cachelib/navy/block_cache/LruPolicy.h:76
↓ 2 callers
Method
incrementAbortedSlabReleases
Increment the number of aborted slab releases stat
cachelib/allocator/CacheAllocator.h:1211
↓ 2 callers
Function
indexLookupKey
cachelib/navy/block_cache/BlockCache.cpp:42
↓ 2 callers
Function
initConfig
cachelib/interface/components/FlashCacheComponent.cpp:231
↓ 2 callers
Method
init_cache_once
(&mut self, _fb: FacebookInit, config: LruCacheConfig)
cachelib/rust/src/lrucache.rs:301
↓ 2 callers
Function
initialize
static function to help to initialize CacheValue with given item's data pointer.
cachelib/cachebench/cache/CacheValue.h:77
↓ 2 callers
Function
injectPauseClear
cachelib/common/inject_pause.cpp:197
↓ 2 callers
Method
insert
* Adds a node to the list. If allocSize > 0, poisons the allocation memory. */
cachelib/allocator/datastruct/AsanSList.h:94
↓ 2 callers
Method
insert
cachelib/interface/tests/InterfaceTest.cpp:92
↓ 2 callers
Method
insertCombinedIndexEntry
It will add or update (if it's already there) an index entry for the given key and record.
cachelib/navy/block_cache/FixedSizeIndex.h:464
↓ 2 callers
Method
insertCount
Insert a count stat
cachelib/common/Utils.h:137
↓ 2 callers
Method
insertEmptyListAt
cachelib/allocator/datastruct/MultiDList.h:87
↓ 2 callers
Function
insertIOBufInCache
cachelib/allocator/Util.h:52
↓ 2 callers
Function
insert_handle
cachelib/rust/src/cachelib.cpp:194
↓ 2 callers
Method
insert_or_replace_handle
Insert a previously allocated handle into the cache, replacing any pre-existing data.
cachelib/rust/src/lrucache.rs:869
↓ 2 callers
Method
inspectCache
cachelib/allocator/CacheAllocator.h:4536
↓ 2 callers
Function
ioBufEquals
cachelib/navy/serialization/tests/RecordIOTest.cpp:26
↓ 2 callers
Function
isAccessible
cachelib/allocator/Refcount.h:265
↓ 2 callers
Function
isAddrAligned
cachelib/shm/SysVShmSegment.cpp:94
↓ 2 callers
Method
isAllocPath
cachelib/interface/components/FlashCacheComponent.cpp:105
↓ 2 callers
Method
isAsyncIoCompletion
cachelib/navy/common/Device.cpp:204
↓ 2 callers
Function
isBlk
cachelib/common/Utils.cpp:265
↓ 2 callers
Method
isDrained
cachelib/allocator/CacheItem.h:798
↓ 2 callers
Method
isEmpty
cachelib/allocator/MM2Q.h:513
↓ 2 callers
Method
isExpiredNoAsan
cachelib/allocator/CacheItem.h:722
↓ 2 callers
Function
isFlagSet
Reads a flag bit. ASAN instrumentation is disabled because headers are poisoned at rest and these reads happen on live, poisoned headers (the de-instr
cachelib/allocator/memory/Slab.h:219
↓ 2 callers
Method
isFlushedLocked
Checks if the region's buffer is flushed.
cachelib/navy/block_cache/Region.h:189
↓ 2 callers
Method
isInvalidKey
return true if the key was previously detected to be inconsistent. This is useful only when consistency checking is enabled by calling enableConsisten
cachelib/cachebench/cache/Cache.h:322
↓ 2 callers
Function
isKeyValid
Check if the key is valid. The length of the key needs to be in (0, kKeyMaxLen) to be valid
cachelib/allocator/KAllocation.h:211
↓ 2 callers
Method
isMarkedForEviction
cachelib/allocator/CacheItem.h:848
↓ 2 callers
Method
isNvmItem
cachelib/allocator/CacheAllocator.h:261
↓ 2 callers
Function
isOnNavyThread
cachelib/navy/common/NavyThread.cpp:24
↓ 2 callers
Function
isPageAlignedAddr
cachelib/shm/ShmCommon.cpp:54
↓ 2 callers
Method
isPhysReadMode
Checks whether the current open mode is Physical Read Mode.
cachelib/navy/block_cache/Region.h:290
↓ 2 callers
Method
isShutdownInProgress
Check if shutdown is in progress
cachelib/allocator/CacheAllocator.h:1216
↓ 2 callers
Function
isSmallKey
cachelib/allocator/KAllocation.h:185
↓ 2 callers
Function
isSmallKeyValid
Same as above but for small keys.
cachelib/allocator/KAllocation.h:249
↓ 2 callers
Method
isUsingPosixShm
cachelib/allocator/CacheAllocatorConfig.h:481
↓ 2 callers
Method
isValidAllocMemory
Check whether a pointer falls within a valid, allocated slab managed by this allocator. @param memory the memory address to check @return tru
cachelib/allocator/memory/MemoryAllocator.h:497
↓ 2 callers
Method
is_volatile
(&self)
cachelib/rust/src/lrucache.rs:431
↓ 2 callers
Method
item
* Get the containing LruCacheItem. * @return the containing cache item */
cachelib/interface/components/RAMCacheComponent.cpp:64
↓ 2 callers
Method
itemsReaperEnabled
@return whether reaper is enabled
cachelib/allocator/CacheAllocatorConfig.h:471
↓ 2 callers
Method
key
cachelib/common/Hash.h:94
↓ 2 callers
Method
lbaShift
LBA shift number to calculate blocksize
cachelib/navy/common/FdpNvme.h:110
↓ 2 callers
Method
lockExclusive
cachelib/cachebench/runner/IntegrationStressor.h:140
↓ 2 callers
Function
makeCacheConfig
cachelib/cachebench/runner/tests/ObjectCacheStressorTest.cpp:65
↓ 2 callers
Function
makePctReinsertionConfig
cachelib/navy/block_cache/tests/BlockCacheTest.cpp:75
↓ 2 callers
Method
markAccessible
cachelib/allocator/tests/AccessTypeTest.h:78
↓ 2 callers
Function
markForEviction
* The following two functions correspond to whether or not an item is * currently in the process of being evicted. * * An item that is marked
cachelib/allocator/Refcount.h:293
↓ 2 callers
Method
markNascent
Internal book keeping to track handles that correspond to items that are not present in cache. This state is mutated, but does not affect the user vis
cachelib/allocator/Handle.h:473
↓ 2 callers
Method
markNvmLargeItem
cachelib/allocator/CacheItem.h:903
↓ 2 callers
Method
markTruncated
cachelib/allocator/NvmCacheState.cpp:184
↓ 2 callers
Method
memMonitoringEnabled
@return whether memory monitor is enabled
cachelib/allocator/CacheAllocatorConfig.h:465
↓ 2 callers
Function
minus
Returns the difference between a and b if non-negative. Otherwise return 0.
cachelib/navy/admission_policy/DynamicRandomAP.cpp:36
↓ 2 callers
Function
mmapImpl
cachelib/shm/PosixShmSegment.cpp:130
↓ 2 callers
Method
mu
cachelib/adaptor/rocks_secondary_cache/tests/CachelibWrapperTest.cpp:363
↓ 2 callers
Function
munmapImpl
cachelib/shm/PosixShmSegment.cpp:162
↓ 2 callers
Method
mutateObject
cachelib/object_cache/ObjectCache.h:1227
↓ 2 callers
Method
numAllocFailures
cachelib/allocator/CacheStats.cpp:380
↓ 2 callers
Function
numSlabsForHeaders
cachelib/allocator/memory/SlabAllocator.cpp:333
↓ 2 callers
Method
numThrottles
cachelib/common/Throttler.h:89
↓ 2 callers
Function
objcacheUnmarkNascent
cachelib/experimental/deprecated_objcache/ObjectCache.h:39
↓ 2 callers
Function
ocpWriteBytes
With OCP (Open Compute Project) SSD specification, devices should support the unified way to report SMART log by using the ocp plug-in for nvme CLI (n
cachelib/cachebench/util/NandWrites.cpp:390
← previous
next →
1,301–1,400 of 5,467, ranked by callers