Home
last modified time | relevance | path

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

1234567

/freebsd-12.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-12.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-12.1/contrib/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()
H A Dscudo_allocator.cpp171 explicit QuarantineCallback(AllocatorCacheT *Cache) in QuarantineCallback()
172 : Cache_(Cache) {} in QuarantineCallback()
209 typedef QuarantineT::Cache QuarantineCacheT;
331 BackendPtr = Backend.allocatePrimary(&TSD->Cache, ClassId); in allocate()
397 getBackend().deallocatePrimary(&TSD->Cache, BackendPtr, in quarantineOrDeallocateChunk()
416 Quarantine.Put(getQuarantineCache(TSD), QuarantineCallback(&TSD->Cache), in quarantineOrDeallocateChunk()
527 Quarantine.Drain(getQuarantineCache(TSD), QuarantineCallback(&TSD->Cache)); in commitBack()
528 Backend.destroyCache(&TSD->Cache); in commitBack()
633 getBackend().initCache(&Cache); in init()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DMemoryDependenceAnalysis.cpp775 assert(std::is_sorted(Cache.begin(), Cache.begin() + Count) && in AssertSorted()
798 return Cache; in getNonLocalCallDependency()
907 return Cache; in getNonLocalCallDependency()
1052 Cache.pop_back(); in SortNonLocalDepInfoCache()
1054 std::upper_bound(Cache.begin(), Cache.end() - 1, Val); in SortNonLocalDepInfoCache()
1064 std::upper_bound(Cache.begin(), Cache.end(), Val); in SortNonLocalDepInfoCache()
1208 if (Cache->empty()) in getNonLocalPointerDepFromBB()
1239 if (Cache && NumSortedEntries != Cache->size()) { in getNonLocalPointerDepFromBB()
1322 if (Cache && NumSortedEntries != Cache->size()) { in getNonLocalPointerDepFromBB()
1326 Cache = nullptr; in getNonLocalPointerDepFromBB()
[all …]
H A DCFLSteensAliasAnalysis.cpp227 auto InsertPair = Cache.insert(std::make_pair(Fn, Optional<FunctionInfo>())); in scan()
236 Cache[Fn] = std::move(FunInfo); in scan()
241 void CFLSteensAAResult::evict(Function *Fn) { Cache.erase(Fn); } in evict()
247 auto Iter = Cache.find(Fn); in ensureCached()
248 if (Iter == Cache.end()) { in ensureCached()
250 Iter = Cache.find(Fn); in ensureCached()
251 assert(Iter != Cache.end()); in ensureCached()
/freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/
H A Dtsan_dense_alloc.h39 typedef DenseSlabAllocCache Cache; typedef
40 typedef typename Cache::IndexT IndexT;
62 IndexT Alloc(Cache *c) { in Alloc()
68 void Free(Cache *c, IndexT idx) { in Free()
70 if (c->pos == Cache::kSize) in Free()
81 void FlushCache(Cache *c) { in FlushCache()
90 void InitCache(Cache *c) { in InitCache()
102 void Refill(Cache *c) { in Refill()
123 for (uptr i = 0; i < Cache::kSize / 2 && freelist_ != 0; i++) { in Refill()
130 void Drain(Cache *c) { in Drain()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/PDB/Native/
H A DSymbolCache.h37 std::vector<std::unique_ptr<NativeRawSymbol>> Cache; variable
57 SymIndexId Id = Cache.size(); in createSymbolPlaceholder()
58 Cache.push_back(nullptr); in createSymbolPlaceholder()
87 SymIndexId Id = Cache.size(); in createSymbol()
96 Cache.push_back(std::move(Result)); in createSymbol()
119 SymIndexId SymId = Cache.size(); in getOrCreateFieldListMember()
H A DNativeSession.h102 SymbolCache &getSymbolCache() { return Cache; } in getSymbolCache()
103 const SymbolCache &getSymbolCache() const { return Cache; } in getSymbolCache()
111 SymbolCache Cache; variable
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_quarantine.h79 typedef QuarantineCache<Callback> Cache; typedef
103 void Put(Cache *c, Callback cb, Node *ptr, uptr size) { in Put()
116 void NOINLINE Drain(Cache *c, Callback cb) { in Drain()
125 void NOINLINE DrainAndRecycle(Cache *c, Callback cb) { in DrainAndRecycle()
150 Cache cache_;
154 Cache tmp; in Recycle()
184 void NOINLINE DoRecycle(Cache *c, Callback cb) { in DoRecycle()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCRuntimeV2.h208 typedef std::map<uint8_t, ObjCLanguageRuntime::ClassDescriptorSP> Cache; typedef
209 typedef Cache::iterator CacheIterator;
210 Cache m_cache;
246 typedef std::map<uint8_t, ObjCLanguageRuntime::ClassDescriptorSP> Cache; typedef
247 typedef Cache::iterator CacheIterator;
248 Cache m_ext_cache;
/freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/Native/
H A DSymbolCache.cpp67 Cache.push_back(nullptr); in SymbolCache()
124 NativeRawSymbol &UnmodifiedNRS = *Cache[UnmodifiedId]; in createSymbolForModifiedType()
232 assert(SymbolId < Cache.size()); in getSymbolById()
235 if (SymbolId == 0 || SymbolId >= Cache.size()) in getSymbolById()
240 NativeRawSymbol *NRS = Cache[SymbolId].get(); in getSymbolById()
248 return *Cache[SymbolId]; in getNativeSymbolById()
H A DNativeSession.cpp55 Cache(*this, getDbiStreamPtr(*Pdb)) {} in NativeSession()
93 return Cache.getSymbolById(SymbolId); in getSymbolById()
210 ExeSymbol = Cache.createSymbol<NativeExeSymbol>(); in initializeExeSymbol()
216 return Cache.getNativeSymbolById<NativeExeSymbol>(ExeSymbol); in getNativeGlobalScope()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DFileSystemStatCache.cpp48 FileSystemStatCache *Cache, in get() argument
54 if (Cache) in get()
55 R = Cache->getStat(Path, Data, isFile, F, FS); in get()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DDebugLoc.cpp85 DenseMap<const MDNode *, MDNode *> &Cache, in appendInlinedAt() argument
94 if (auto *Found = Cache[IA]) { in appendInlinedAt()
109 Cache[MD] = Last = DILocation::getDistinct( in appendInlinedAt()
/freebsd-12.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-12.1/contrib/llvm/tools/lld/COFF/
H A DLTO.cpp117 lto::NativeObjectCache Cache; in compile() local
119 Cache = check(lto::localCache( in compile()
129 Cache)); in compile()
/freebsd-12.1/contrib/llvm/lib/LTO/
H A DLTO.cpp812 Error LTO::run(AddStreamFn AddStream, NativeObjectCache Cache) { in run() argument
856 Result = runThinLTO(AddStream, Cache); in run()
958 NativeObjectCache Cache; member in __anon8bc40c420a11::InProcessThinBackend
970 AddStreamFn AddStream, NativeObjectCache Cache) in InProcessThinBackend() argument
973 AddStream(std::move(AddStream)), Cache(std::move(Cache)) { in InProcessThinBackend()
1002 if (!Cache || !CombinedIndex.modulePaths().count(ModuleID) || in runThinLTOBackendThread()
1014 if (AddStreamFn CacheAddStream = Cache(Task, Key)) in runThinLTOBackendThread()
1067 AddStreamFn AddStream, NativeObjectCache Cache) { in createInProcessThinBackend() argument
1070 AddStream, Cache); in createInProcessThinBackend()
1157 AddStreamFn AddStream, NativeObjectCache Cache) { in createWriteIndexesThinBackend() argument
[all …]
/freebsd-12.1/contrib/file/magic/Magdir/
H A Dwsdl4 # wsdl: PHP WSDL Cache, http://www.php.net/manual/en/book.soap.php
5 # Cache format extracted from source:
/freebsd-12.1/contrib/llvm/lib/Transforms/ObjCARC/
H A DPtrState.cpp178 bool BottomUpPtrState::InitBottomUp(ARCMDKindCache &Cache, Instruction *I) { in InitBottomUp() argument
194 I->getMetadata(Cache.get(ARCMDKindID::ImpreciseRelease)); in InitBottomUp()
348 bool TopDownPtrState::MatchWithRelease(ARCMDKindCache &Cache, in MatchWithRelease() argument
355 Release->getMetadata(Cache.get(ARCMDKindID::ImpreciseRelease)); in MatchWithRelease()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DObjCARCAnalysisUtils.h93 DenseMap<const Value *, WeakTrackingVH> &Cache) { in GetUnderlyingObjCPtrCached() argument
94 if (auto InCache = Cache.lookup(V)) in GetUnderlyingObjCPtrCached()
98 Cache[V] = const_cast<Value *>(Computed); in GetUnderlyingObjCPtrCached()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp108 Value *getReplacement(DivCacheTy &Cache);
152 Value *FastDivInsertionTask::getReplacement(DivCacheTy &Cache) { in getReplacement() argument
161 auto CacheI = Cache.find(Key); in getReplacement()
163 if (CacheI == Cache.end()) { in getReplacement()
169 CacheI = Cache.insert({Key, *OptResult}).first; in getReplacement()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp617 Value *&Cached = Cache[I]; in findBaseDefiningValueCached()
623 assert(Cache[I] != nullptr); in findBaseDefiningValueCached()
631 auto Found = Cache.find(Def); in findBaseOrBDV()
632 if (Found != Cache.end()) { in findBaseOrBDV()
767 Value *Def = findBaseOrBDV(I, Cache); in findBasePointer()
1131 << (Cache.count(BDV) ? Cache[BDV]->getName().str() : "none") in findBasePointer()
1134 if (Cache.count(BDV)) { in findBasePointer()
1139 assert((!isKnownBaseResult(Cache[BDV]) || Cache[BDV] == Base) && in findBasePointer()
1142 Cache[BDV] = Base; in findBasePointer()
1144 assert(Cache.count(Def)); in findBasePointer()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DImmutableList.h154 CacheTy Cache; variable
184 ListTy* L = Cache.FindNodeOrInsertPos(ID, InsertPos); in concat()
193 Cache.InsertNode(L, InsertPos); in concat()

1234567