Home
last modified time | relevance | path

Searched refs:CacheT (Results 1 – 14 of 14) sorted by relevance

/llvm-project/compiler-rt/lib/scudo/standalone/tests/
H A Dquarantine_test.cpp27 typedef typename QuarantineT::CacheT CacheT; typedef
31 static void deallocateCache(CacheT *Cache) { in deallocateCache()
71 CacheT Cache; in TEST()
72 CacheT ToDeallocate; in TEST()
82 CacheT Cache; in TEST()
87 CacheT ToDeallocate; in TEST()
102 CacheT From; in TEST()
105 CacheT Cache; in TEST()
113 CacheT ToDeallocate; in TEST()
129 CacheT From; in TEST()
[all …]
H A Dprimary_test.cpp214 typename Primary::CacheT Cache; in SCUDO_TYPED_TEST()
264 typename Primary::CacheT Cache; in TEST()
272 const scudo::u16 MaxCachedBlockCount = Primary::CacheT::getMaxCached(Size); in TEST()
302 typename Primary::CacheT Cache; in SCUDO_TYPED_TEST()
345 static thread_local typename Primary::CacheT Cache; in SCUDO_TYPED_TEST()
400 typename Primary::CacheT Cache; in SCUDO_TYPED_TEST()
416 typename Primary::CacheT Cache; in SCUDO_TYPED_TEST()
H A Dallocator_config_test.cpp64 using CacheT = scudo::MapAllocatorNoCache<Config>; typedef
74 template <typename T> using CacheT = scudo::MapAllocatorCache<T>; typedef
H A Dtsd_test.cpp29 using CacheT = struct MockCache { typedef in MockAllocator
41 void initCache(CacheT *Cache) { *Cache = {}; } in initCache()
H A Dsecondary_test.cpp96 using CacheT = scudo::MapAllocatorNoCache<Config>; typedef
116 template <typename Config> using CacheT = scudo::MapAllocatorCache<Config>; typedef
279 using CacheT = scudo::MapAllocatorCache<CacheConfig, testUnmapCallback>;
281 std::unique_ptr<CacheT> Cache = std::make_unique<CacheT>();
H A Dcombined_test.cpp209 using CacheT = scudo::MapAllocatorNoCache<Config>; typedef
726 using CacheT = scudo::MapAllocatorNoCache<Config>; in TEST()
705 using CacheT = scudo::MapAllocatorNoCache<Config>; global() typedef
/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dquarantine.h173 typedef QuarantineCache<Callback> CacheT; typedef
201 void put(CacheT *C, Callback Cb, Node *Ptr, uptr Size) { in put()
207 void NOINLINE drain(CacheT *C, Callback Cb) EXCLUDES(CacheMutex) { in drain()
219 void NOINLINE drainAndRecycle(CacheT *C, Callback Cb) EXCLUDES(CacheMutex) { in drainAndRecycle()
250 CacheT Cache GUARDED_BY(CacheMutex);
258 CacheT Tmp; in recycle()
288 void NOINLINE doRecycle(CacheT *C, Callback Cb) { in doRecycle()
H A Dallocator_config.h86 template <typename Config> using CacheT = MapAllocatorCache<Config>; member
131 template <typename Config> using CacheT = MapAllocatorCache<Config>; member
164 template <typename Config> using CacheT = MapAllocatorNoCache<Config>; member
188 template <typename Config> using CacheT = MapAllocatorNoCache<Config>; member
H A Dtsd.h75 typename Allocator::CacheT &getCache() REQUIRES(Mutex) { return Cache; } in getCache()
84 typename Allocator::CacheT Cache GUARDED_BY(Mutex);
H A Dprimary32.h55 typedef SizeClassAllocatorLocalCache<ThisT> CacheT; typedef
194 u16 popBlocks(CacheT *C, uptr ClassId, CompactPtrT *ToArray, in isLargeBlock()
212 void pushBlocks(CacheT *C, uptr ClassId, CompactPtrT *Array, u32 Size) { in popBlocks()
533 CacheT::getMaxCached(getSizeByClassId(SizeClassMap::BatchClassId)); in pushBatchClassBlocks()
600 void pushBlocksImpl(CacheT *C, uptr ClassId, SizeClassInfo *Sci,
707 u16 popBlocksImpl(CacheT *C, uptr ClassId, SizeClassInfo *Sci,
733 // `CacheT::getMaxCached()` may also impact the time spent on accessing the in popBlocksImpl()
737 // `CacheT::getMaxCached()`. in popBlocksImpl()
777 NOINLINE bool populateFreeList(CacheT *C, uptr ClassId, SizeClassInfo *Sci) in popBlocksImpl()
800 const u16 MaxCount = CacheT in populateFreeList()
[all...]
H A Dprimary64.h60 typedef SizeClassAllocatorLocalCache<ThisT> CacheT; typedef
218 u16 popBlocks(CacheT *C, uptr ClassId, CompactPtrT *ToArray, in popBlocks()
273 void pushBlocks(CacheT *C, uptr ClassId, CompactPtrT *Array, u32 Size) { in pushBlocks()
701 CacheT::getMaxCached(getSizeByClassId(SizeClassMap::BatchClassId)); in pushBatchClassBlocks()
767 void pushBlocksImpl(CacheT *C, uptr ClassId, RegionInfo *Region,
874 u16 popBlocksWithCV(CacheT *C, uptr ClassId, RegionInfo *Region, in popBlocksWithCV()
949 u16 popBlocksImpl(CacheT *C, uptr ClassId, RegionInfo *Region, in popBlocksImpl()
975 // `CacheT::getMaxCached()` may also impact the time spent on accessing the in popBlocksImpl()
979 // `CacheT::getMaxCached()`. in popBlocksImpl()
1020 NOINLINE u16 populateFreeListAndPopBlocks(CacheT * in populateFreeListAndPopBlocks()
[all...]
H A Dcombined.h57 using CacheT = typename PrimaryT::CacheT; variable
66 explicit QuarantineCallback(ThisT &Instance, CacheT &LocalCache) in QuarantineCallback()
136 CacheT &Cache;
140 typedef typename QuarantineT::CacheT QuarantineCacheT;
266 void initCache(CacheT *Cache) { Cache->init(&Stats, &Primary); }
H A Dallocator_config.def110 SECONDARY_REQUIRED_TEMPLATE_TYPE(CacheT)
H A Dsecondary.h655 typename Config::template CacheT<typename Config::CacheConfig> Cache; in allocate()