Home
last modified time | relevance | path

Searched refs:Cache (Results 1 – 25 of 148) sorted by relevance

123456

/freebsd-13.1/sys/contrib/dev/acpica/components/utilities/
H A Dutcache.c196 if (!Cache) in AcpiOsCreateCache()
208 *ReturnCache = Cache; in AcpiOsCreateCache()
236 if (!Cache) in AcpiOsPurgeCache()
249 while (Cache->ListHead) in AcpiOsPurgeCache()
298 AcpiOsFree (Cache); in AcpiOsDeleteCache()
328 if (!Cache || !Object) in AcpiOsReleaseObject()
335 if (Cache->CurrentDepth >= Cache->MaxDepth) in AcpiOsReleaseObject()
393 if (!Cache) in AcpiOsAcquireObject()
408 if (Cache->ListHead) in AcpiOsAcquireObject()
439 if ((Cache->TotalAllocated - Cache->TotalFreed) > Cache->MaxOccupied) in AcpiOsAcquireObject()
[all …]
H A Duttrack.c215 ACPI_MEMORY_LIST *Cache; in AcpiUtCreateList() local
218 Cache = AcpiOsAllocateZeroed (sizeof (ACPI_MEMORY_LIST)); in AcpiUtCreateList()
219 if (!Cache) in AcpiUtCreateList()
224 Cache->ListName = ListName; in AcpiUtCreateList()
225 Cache->ObjectSize = ObjectSize; in AcpiUtCreateList()
227 *ReturnCache = Cache; in AcpiUtCreateList()
/freebsd-13.1/sys/contrib/dev/acpica/compiler/
H A Daslcache.c182 ASL_CACHE_INFO *Cache; in UtLocalCacheCalloc() local
192 Cache = UtLocalCalloc (sizeof (Cache->Next) + CacheSize); in UtLocalCacheCalloc()
204 return (Cache->Buffer); in UtLocalCacheCalloc()
212 Cache = UtLocalCalloc (sizeof (Cache->Next) + CacheSize); in UtLocalCacheCalloc()
252 ASL_CACHE_INFO *Cache; in UtParseOpCacheCalloc() local
259 Cache = UtLocalCalloc (sizeof (Cache->Next) + in UtParseOpCacheCalloc()
296 ASL_CACHE_INFO *Cache; in UtSubtableCacheCalloc() local
303 Cache = UtLocalCalloc (sizeof (Cache->Next) + in UtSubtableCacheCalloc()
340 ASL_CACHE_INFO *Cache; in UtFieldCacheCalloc() local
347 Cache = UtLocalCalloc (sizeof (Cache->Next) + in UtFieldCacheCalloc()
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_allocator_combined.h34 void *allocatePrimary(AllocatorCache *Cache, uptr ClassId) { in allocatePrimary() argument
35 return Cache->Allocate(&Primary, ClassId); in allocatePrimary()
44 void deallocatePrimary(AllocatorCache *Cache, void *Ptr, uptr ClassId) { in deallocatePrimary() argument
45 Cache->Deallocate(&Primary, ClassId, Ptr); in deallocatePrimary()
52 void initCache(AllocatorCache *Cache) { in initCache() argument
53 Cache->Init(&Stats); in initCache()
56 void destroyCache(AllocatorCache *Cache) { in destroyCache() argument
57 Cache->Destroy(&Primary, &Stats); in destroyCache()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_dense_alloc.h38 typedef DenseSlabAllocCache Cache; typedef
39 typedef typename Cache::IndexT IndexT;
72 IndexT Alloc(Cache *c) { in Alloc()
78 void Free(Cache *c, IndexT idx) { in Free()
80 if (c->pos == Cache::kSize) in Free()
91 void FlushCache(Cache *c) { in FlushCache()
100 void InitCache(Cache *c) { in InitCache()
112 void Refill(Cache *c) { in Refill()
133 for (uptr i = 0; i < Cache::kSize / 2 && freelist_ != 0; i++) { in Refill()
140 void Drain(Cache *c) { in Drain()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryDependenceAnalysis.cpp710 assert(std::is_sorted(Cache.begin(), Cache.begin() + Count) && in AssertSorted()
733 return Cache; in getNonLocalCallDependency()
743 llvm::sort(Cache); in getNonLocalCallDependency()
775 std::upper_bound(Cache.begin(), Cache.begin() + NumSortedEntries, in getNonLocalCallDependency()
839 return Cache; in getNonLocalCallDependency()
1001 Cache.pop_back(); in SortNonLocalDepInfoCache()
1003 std::upper_bound(Cache.begin(), Cache.end() - 1, Val); in SortNonLocalDepInfoCache()
1211 if (Cache && NumSortedEntries != Cache->size()) { in getNonLocalPointerDepFromBB()
1294 if (Cache && NumSortedEntries != Cache->size()) { in getNonLocalPointerDepFromBB()
1298 Cache = nullptr; in getNonLocalPointerDepFromBB()
[all …]
H A DCFLSteensAliasAnalysis.cpp228 auto InsertPair = Cache.insert(std::make_pair(Fn, Optional<FunctionInfo>())); in scan()
237 Cache[Fn] = std::move(FunInfo); in scan()
242 void CFLSteensAAResult::evict(Function *Fn) { Cache.erase(Fn); } in evict()
248 auto Iter = Cache.find(Fn); in ensureCached()
249 if (Iter == Cache.end()) { in ensureCached()
251 Iter = Cache.find(Fn); in ensureCached()
252 assert(Iter != Cache.end()); in ensureCached()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dquarantine.h188 Cache.init(); in init()
203 Cache.transfer(C); in drain()
205 if (Cache.getSize() > getMaxSize() && RecycleMutex.tryLock()) in drain()
212 Cache.transfer(C); in drainAndRecycle()
220 Cache.getStats(Str); in getStats()
239 CacheT Cache;
255 const uptr CacheSize = Cache.getSize(); in recycle()
256 const uptr OverheadSize = Cache.getOverheadSize(); in recycle()
265 Cache.mergeBatches(&Tmp); in recycle()
269 while (Cache.getSize() > MinSize) in recycle()
[all …]
H A Dsecondary.h406 Cache.init(ReleaseToOsInterval);
431 Cache.disable(); in disable()
435 Cache.enable(); in enable()
448 uptr canCache(uptr Size) { return Cache.canCache(Size); } in canCache()
452 void releaseToOS() { Cache.releaseToOS(); } in releaseToOS()
454 void disableMemoryTagging() { Cache.disableMemoryTagging(); } in disableMemoryTagging()
456 void unmapTestOnly() { Cache.unmapTestOnly(); } in unmapTestOnly()
459 typename Config::SecondaryCache Cache;
497 if (Alignment < PageSize && Cache.canCache(RoundedSize)) { in allocate()
500 if (Cache.retrieve(Options, Size, Alignment, &H, &Zeroed)) { in allocate()
[all …]
H A Dtsd.h27 typename Allocator::CacheT Cache; in alignas() local
35 Instance->initCache(&Cache); in alignas()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.h134 llvm::StringMap<SharedFileSystemEntry, llvm::BumpPtrAllocator> Cache; member
162 SingleCache &Cache = selectCache(Minimized); in setCachedEntry() local
163 bool IsInserted = Cache.try_emplace(Filename, Entry).second; in setCachedEntry()
170 SingleCache &Cache = selectCache(Minimized); in getCachedEntry() local
171 auto It = Cache.find(Filename); in getCachedEntry()
172 return It == Cache.end() ? nullptr : It->getValue(); in getCachedEntry()
211 DependencyScanningFilesystemLocalCache Cache; variable
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DSymbolCache.h40 mutable std::vector<std::unique_ptr<NativeRawSymbol>> Cache; variable
87 SymIndexId Id = Cache.size(); in createSymbolPlaceholder()
88 Cache.push_back(nullptr); in createSymbolPlaceholder()
122 SymIndexId Id = Cache.size(); in createSymbol()
131 Cache.push_back(std::move(Result)); in createSymbol()
154 SymIndexId SymId = Cache.size(); in getOrCreateFieldListMember()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_quarantine.h78 typedef QuarantineCache<Callback> Cache; typedef
102 void Put(Cache *c, Callback cb, Node *ptr, uptr size) { in Put()
115 void NOINLINE Drain(Cache *c, Callback cb) { in Drain()
124 void NOINLINE DrainAndRecycle(Cache *c, Callback cb) { in DrainAndRecycle()
149 Cache cache_;
154 Cache tmp; in Recycle()
184 void NOINLINE DoRecycle(Cache *c, Callback cb) { in DoRecycle()
/freebsd-13.1/tests/sys/fs/fusefs/
H A Dcache.cc55 class Cache: public FuseTest, public WithParamInterface<CacheParam> { class
59 Cache(): m_direct_io(false) {}; in Cache() function in Cache
138 TEST_P(Cache, truncate_by_surprise_invalidates_cache) in TEST_P() argument
200 INSTANTIATE_TEST_CASE_P(Cache, Cache,
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp155 SplitBlockCache *Cache) { in splitBlock() argument
200 if (!Cache) in splitBlock()
201 Cache = &LocalBlockSymbolsCache; in splitBlock()
202 if (*Cache == None) { in splitBlock()
203 *Cache = SplitBlockCache::value_type(); in splitBlock()
206 (*Cache)->push_back(Sym); in splitBlock()
208 llvm::sort(**Cache, [](const Symbol *LHS, const Symbol *RHS) { in splitBlock()
212 auto &BlockSymbols = **Cache; in splitBlock()
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DFileSystemStatCache.cpp36 FileSystemStatCache *Cache, in get() argument
42 if (Cache) in get()
43 RetCode = Cache->getStat(Path, Status, isFile, F, FS); in get()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeSession.cpp60 Cache(*this, getDbiStreamPtr(*Pdb)), AddrToModuleIndex(IMapAllocator) {} in NativeSession()
209 return Cache.getSymbolById(SymbolId); in getSymbolById()
262 return Cache.findSymbolBySectOffset(Sect, Offset, Type); in findSymbolBySectOffset()
274 return Cache.findLineNumbersByVA(Address, Length); in findLineNumbersByAddress()
279 return Cache.findLineNumbersByVA(getLoadAddress() + RVA, Length); in findLineNumbersByRVA()
286 return Cache.findLineNumbersByVA(VA, Length); in findLineNumbersBySectOffset()
326 return Cache.getSourceFileById(FileId); in getSourceFileById()
364 ExeSymbol = Cache.createSymbol<NativeExeSymbol>(); in initializeExeSymbol()
370 return Cache.getNativeSymbolById<NativeExeSymbol>(ExeSymbol); in getNativeGlobalScope()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DDebugLoc.cpp73 DenseMap<const MDNode *, MDNode *> &Cache) { in appendInlinedAt() argument
81 if (auto *Found = Cache[IA]) { in appendInlinedAt()
94 Cache[MD] = Last = DILocation::getDistinct( in appendInlinedAt()
/freebsd-13.1/sys/contrib/device-tree/Bindings/arm/msm/
H A Dqcom,llcc.yaml7 title: Last Level Cache Controller
14 LLCC (Last Level Cache Controller) provides last level of cache memory in SoC,
17 common pool of memory. Cache memory is divided into partitions called slices
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCRuntimeV2.h213 typedef std::map<uint8_t, ObjCLanguageRuntime::ClassDescriptorSP> Cache; typedef
214 typedef Cache::iterator CacheIterator;
215 Cache m_cache;
254 typedef std::map<uint8_t, ObjCLanguageRuntime::ClassDescriptorSP> Cache; typedef
255 typedef Cache::iterator CacheIterator;
256 Cache m_ext_cache;
/freebsd-13.1/sys/contrib/device-tree/Bindings/riscv/
H A Dsifive-l2-cache.txt1 SiFive L2 Cache Controller
3 The SiFive Level 2 Cache Controller is used to provide access to fast copies
4 of memory for masters in a Core Complex. The Level 2 Cache Controller also
/freebsd-13.1/sys/contrib/dev/acpica/include/
H A Dacpiosxf.h395 ACPI_CACHE_T *Cache);
401 ACPI_CACHE_T *Cache);
407 ACPI_CACHE_T *Cache);
413 ACPI_CACHE_T *Cache,
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp117 auto It = Shard.Cache.try_emplace(Key); in get()
123 SingleCache &Cache = Minimized ? CacheMinimized : CacheOriginal; in get() local
124 return Cache.get(Key); in get()
171 if (const auto *Entry = Cache.getCachedEntry(Filename, ShouldMinimize)) in getOrCreateFileSystemEntry()
208 Cache.setCachedEntry(Filename, ShouldMinimize, Result); in getOrCreateFileSystemEntry()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSimplifyCFGOptions.h60 SimplifyCFGOptions &setAssumptionCache(AssumptionCache *Cache) { in setAssumptionCache()
61 AC = Cache; in setAssumptionCache()
/freebsd-13.1/contrib/file/magic/Magdir/
H A Dwsdl4 # wsdl: PHP WSDL Cache, https://www.php.net/manual/en/book.soap.php
5 # Cache format extracted from source:

123456