Home
last modified time | relevance | path

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

12345678

/freebsd/sys/contrib/dev/acpica/components/utilities/
H A Dutcache.c182 ACPI_MEMORY_LIST *Cache; in AcpiOsCreateCache() local
195 Cache = AcpiOsAllocate (sizeof (ACPI_MEMORY_LIST)); in AcpiOsCreateCache()
196 if (!Cache) in AcpiOsCreateCache()
203 memset (Cache, 0, sizeof (ACPI_MEMORY_LIST)); in AcpiOsCreateCache()
204 Cache->ListName = CacheName; in AcpiOsCreateCache()
205 Cache->ObjectSize = ObjectSize; in AcpiOsCreateCache()
206 Cache->MaxDepth = MaxDepth; in AcpiOsCreateCache()
208 *ReturnCache = Cache; in AcpiOsCreateCache()
227 ACPI_MEMORY_LIST *Cache) in AcpiOsPurgeCache() argument
236 if (!Cache) in AcpiOsPurgeCache()
[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/sys/contrib/dev/acpica/compiler/
H A Daslcache.c182 ASL_CACHE_INFO *Cache; in UtLocalCacheCalloc() local
197 Cache = UtLocalCalloc (sizeof (Cache->Next) + CacheSize); in UtLocalCacheCalloc()
201 Cache->Next = AslGbl_StringCacheList->Next; in UtLocalCacheCalloc()
202 AslGbl_StringCacheList->Next = Cache; in UtLocalCacheCalloc()
209 return (Cache->Buffer); in UtLocalCacheCalloc()
218 Cache = UtLocalCalloc (sizeof (Cache->Next) + CacheSize); in UtLocalCacheCalloc()
222 Cache->Next = AslGbl_StringCacheList; in UtLocalCacheCalloc()
223 AslGbl_StringCacheList = Cache; in UtLocalCacheCalloc()
227 AslGbl_StringCacheNext = Cache->Buffer; in UtLocalCacheCalloc()
258 ASL_CACHE_INFO *Cache; in UtParseOpCacheCalloc() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryDependenceAnalysis.cpp700 static void AssertSorted(MemoryDependenceResults::NonLocalDepInfo &Cache, in AssertSorted() argument
703 Count = Cache.size(); in AssertSorted()
704 assert(std::is_sorted(Cache.begin(), Cache.begin() + Count) && in AssertSorted()
715 NonLocalDepInfo &Cache = CacheP.first; in getNonLocalCallDependency() local
722 if (!Cache.empty()) { in getNonLocalCallDependency()
727 return Cache; in getNonLocalCallDependency()
732 for (auto &Entry : Cache) in getNonLocalCallDependency()
737 llvm::sort(Cache); in getNonLocalCallDependency()
752 unsigned NumSortedEntries = Cache.size(); in getNonLocalCallDependency()
753 LLVM_DEBUG(AssertSorted(Cache)); in getNonLocalCallDependency()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_dense_alloc.h38 typedef DenseSlabAllocCache Cache; typedef
39 typedef typename Cache::IndexT IndexT;
68 IndexT Alloc(Cache *c) { in Alloc()
74 void Free(Cache *c, IndexT idx) { in Free()
76 if (c->pos == Cache::kSize) in Free()
87 void FlushCache(Cache *c) { in FlushCache()
91 void InitCache(Cache *c) { in InitCache()
130 NOINLINE void Refill(Cache *c) { in Refill()
150 NOINLINE void Drain(Cache *c) { in Drain()
153 for (uptr i = 0; i < Cache::kSize / 2 && c->pos; i++) { in Drain()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugLoc.cpp102 DenseMap<const MDNode *, MDNode *> &Cache) { in replaceInlinedAtSubprogram() argument
109 if (auto It = Cache.find(Loc); It != Cache.end()) { in replaceInlinedAtSubprogram()
122 *LocToUpdate->getScope(), NewSP, Ctx, Cache); in replaceInlinedAtSubprogram()
125 Cache[LocToUpdate] = UpdatedLoc; in replaceInlinedAtSubprogram()
134 Cache[LocToUpdate] = UpdatedLoc; in replaceInlinedAtSubprogram()
142 DenseMap<const MDNode *, MDNode *> &Cache) { in appendInlinedAt() argument
150 if (auto *Found = Cache[IA]) { in appendInlinedAt()
164 Cache[MD] = Last = DILocation::getDistinct( in appendInlinedAt()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dquarantine.h189 Cache.init(); in init()
198 return Cache.getSize() == 0U; in isEmpty()
211 Cache.transfer(C); in drain()
212 needRecycle = Cache.getSize() > getMaxSize(); in drain()
222 Cache.transfer(C); in drainAndRecycle()
231 Cache.getStats(Str); in getStats()
250 CacheT Cache GUARDED_BY(CacheMutex);
267 const uptr CacheSize = Cache.getSize(); in recycle()
268 const uptr OverheadSize = Cache.getOverheadSize(); in recycle()
277 Cache.mergeBatches(&Tmp); in recycle()
[all …]
H A Dsecondary.h607 Cache.init(ReleaseToOsInterval);
643 Cache.disable(); in disable()
647 Cache.enable(); in enable()
662 bool canCache(uptr Size) { return Cache.canCache(Size); } in canCache()
664 bool setOption(Option O, sptr Value) { return Cache.setOption(O, Value); } in setOption()
666 void releaseToOS() { Cache.releaseToOS(); } in releaseToOS()
668 void disableMemoryTagging() { Cache.disableMemoryTagging(); } in disableMemoryTagging()
670 void unmapTestOnly() { Cache.unmapTestOnly(); } in unmapTestOnly()
675 typename Config::template CacheT<typename Config::CacheConfig> Cache;
706 Entry = Cache.retrieve(MaxAllowedFragmentedPages, Size, Alignment, in tryAllocateFromCache()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp182 SplitBlockCache *Cache) { in splitBlockImpl() argument
201 if (!Cache) in splitBlockImpl()
202 Cache = &LocalBlockSymbolsCache; in splitBlockImpl()
205 if (*Cache == std::nullopt) { in splitBlockImpl()
206 *Cache = SplitBlockCache::value_type(); in splitBlockImpl()
210 (*Cache)->push_back(Sym); in splitBlockImpl()
211 llvm::sort(**Cache, [](const Symbol *LHS, const Symbol *RHS) { in splitBlockImpl()
225 if ((*Cache)->empty()) in splitBlockImpl()
227 while (!(*Cache)->empty() && in splitBlockImpl()
228 (*Cache)->back()->getAddress() < Blocks[I + 1]->getAddress()) { in splitBlockImpl()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp340 static Value *findBaseDefiningValue(Value *I, DefiningValueMapTy &Cache,
352 static Value *findBaseDefiningValueOfVector(Value *I, DefiningValueMapTy &Cache, in findBaseDefiningValueOfVector() argument
357 auto Cached = Cache.find(I); in findBaseDefiningValueOfVector()
358 if (Cached != Cache.end()) in findBaseDefiningValueOfVector()
363 Cache[I] = I; in findBaseDefiningValueOfVector()
372 Cache[I] = CAZ; in findBaseDefiningValueOfVector()
378 Cache[I] = I; in findBaseDefiningValueOfVector()
387 Cache[I] = I; in findBaseDefiningValueOfVector()
398 Cache[I] = I; in findBaseDefiningValueOfVector()
407 findBaseDefiningValue(GEP->getPointerOperand(), Cache, KnownBases); in findBaseDefiningValueOfVector()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Rewrite/
H A DHTMLRewrite.cpp563 RelexRewriteCacheRef Cache) { in SyntaxHighlight() argument
569 if (Cache) { in SyntaxHighlight()
570 auto CacheIt = Cache->SyntaxHighlights.find(FID); in SyntaxHighlight()
571 if (CacheIt != Cache->SyntaxHighlights.end()) { in SyntaxHighlight()
586 if (Cache) in SyntaxHighlight()
587 Cache->SyntaxHighlights[FID].push_back({B, E, StartTag, EndTag}); in SyntaxHighlight()
740 RelexRewriteCacheRef Cache) { in HighlightMacros() argument
741 if (Cache) { in HighlightMacros()
742 auto CacheIt = Cache->MacroHighlights.find(FID); in HighlightMacros()
743 if (CacheIt != Cache->MacroHighlights.end()) { in HighlightMacros()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXUtilities.cpp43 std::map<const Module *, global_val_annot_t> Cache; member
55 AC.Cache.erase(Mod); in clearAnnotationCache()
128 AC.Cache[m][gv] = std::move(tmp); in cacheAnnotationFromMD()
136 auto ACIt = AC.Cache.find(m); in findOneNVVMAnnotation()
137 if (ACIt == AC.Cache.end()) in findOneNVVMAnnotation()
143 auto &KVP = AC.Cache[m][gv]; in findOneNVVMAnnotation()
156 auto ACIt = AC.Cache.find(m); in findAllNVVMAnnotation()
157 if (ACIt == AC.Cache.end()) in findAllNVVMAnnotation()
163 auto &KVP = AC.Cache[m][gv]; in findAllNVVMAnnotation()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DSymbolCache.h47 mutable std::vector<std::unique_ptr<NativeRawSymbol>> Cache; variable
94 SymIndexId Id = Cache.size(); in createSymbolPlaceholder()
95 Cache.push_back(nullptr); in createSymbolPlaceholder()
129 SymIndexId Id = Cache.size(); in createSymbol()
138 Cache.push_back(std::move(Result)); in createSymbol()
161 SymIndexId SymId = Cache.size(); in getOrCreateFieldListMember()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_quarantine.h74 typedef QuarantineCache<Callback> Cache; typedef
96 void Put(Cache *c, Callback cb, Node *ptr, uptr size) { in Put()
110 void NOINLINE Drain(Cache *c, Callback cb) { in Drain()
119 void NOINLINE DrainAndRecycle(Cache *c, Callback cb) { in DrainAndRecycle()
144 Cache cache_;
149 Cache tmp; in Recycle()
179 void NOINLINE DoRecycle(Cache *c, Callback cb) { in DoRecycle()
/freebsd/crypto/krb5/src/windows/
H A Dversion.rc112 #define K5_DESCRIPTION "Kerberos Credentials Cache DLL\0"
123 #define K5_DESCRIPTION "Kerberos Credentials Cache API Server\0"
162 #define K5_DESCRIPTION "Microsoft LSA to MIT Credential Cache Application - " KRB5_PRODUCTNAME_STR …
169 #define K5_DESCRIPTION "MIT to Microsoft LSA Credential Cache Application - " KRB5_PRODUCTNAME_STR …
197 #define K5_DESCRIPTION "Copy Credential Cache Application - " KRB5_PRODUCTNAME_STR "\0"
218 #define K5_DESCRIPTION "Kerberos Destroy Credential Cache Application - " KRB5_PRODUCTNAME_STR "\0"
225 #define K5_DESCRIPTION "Kerberos Initialize Credential Cache Application - " KRB5_PRODUCTNAME_STR "…
232 #define K5_DESCRIPTION "Kerberos List Credential Cache Application - " KRB5_PRODUCTNAME_STR "\0"
239 #define K5_DESCRIPTION "Kerberos Switch Credential Cache Application - MIT GSS / Kerberos v5 distri…
/freebsd/tests/sys/fs/fusefs/
H A Dcache.cc53 class Cache: public FuseTest, public WithParamInterface<CacheParam> { class
57 Cache(): m_direct_io(false) {}; in Cache() function in Cache
136 TEST_P(Cache, truncate_by_surprise_invalidates_cache) in TEST_P() argument
198 INSTANTIATE_TEST_SUITE_P(Cache, Cache,
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp524 auto CacheIt = Cache.find(S); in WithCachedResult()
525 if (CacheIt != Cache.end()) in WithCachedResult()
543 Cache[S] = Result; in WithCachedResult()
551 TrivialFunctionAnalysisVisitor(CacheTy &Cache) : Cache(Cache) {} in TrivialFunctionAnalysisVisitor() argument
782 if (!TrivialFunctionAnalysis::isTrivialImpl(Temp->getDestructor(), Cache)) in VisitCXXBindTemporaryExpr()
854 CacheTy &Cache; member in clang::TrivialFunctionAnalysisVisitor
859 const Decl *D, TrivialFunctionAnalysis::CacheTy &Cache) { in isTrivialImpl() argument
860 TrivialFunctionAnalysisVisitor V(Cache); in isTrivialImpl()
865 const Stmt *S, TrivialFunctionAnalysis::CacheTy &Cache) { in isTrivialImpl() argument
866 TrivialFunctionAnalysisVisitor V(Cache); in isTrivialImpl()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeSession.cpp67 Cache(*this, getDbiStreamPtr(*Pdb)), AddrToModuleIndex(IMapAllocator) {} in NativeSession()
216 return Cache.getSymbolById(SymbolId); in getSymbolById()
269 return Cache.findSymbolBySectOffset(Sect, Offset, Type); in findSymbolBySectOffset()
281 return Cache.findLineNumbersByVA(Address, Length); in findLineNumbersByAddress()
286 return Cache.findLineNumbersByVA(getLoadAddress() + RVA, Length); in findLineNumbersByRVA()
293 return Cache.findLineNumbersByVA(VA, Length); in findLineNumbersBySectOffset()
333 return Cache.getSourceFileById(FileId); in getSourceFileById()
371 ExeSymbol = Cache.createSymbol<NativeExeSymbol>(); in initializeExeSymbol()
377 return Cache.getNativeSymbolById<NativeExeSymbol>(ExeSymbol); in getNativeGlobalScope()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DFileSystemStatCache.cpp35 FileSystemStatCache *Cache, in get() argument
42 if (Cache) in get()
43 RetCode = Cache->getStat(Path, Status, isFile, F, FS); in get()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp428 static Value *aspaceWrapValue(DenseMap<Value *, Value *> &Cache, Function *F, in aspaceWrapValue() argument
430 auto It = Cache.find(ToWrap); in aspaceWrapValue()
431 if (It != Cache.end()) in aspaceWrapValue()
436 Value *WrappedPtr = aspaceWrapValue(Cache, F, Ptr); in aspaceWrapValue()
443 Cache[ToWrap] = NewGEP; in aspaceWrapValue()
454 Cache[ToWrap] = ACast; in aspaceWrapValue()
460 static void aspaceWrapOperand(DenseMap<Value *, Value *> &Cache, Instruction *I, in aspaceWrapOperand() argument
466 Value *NewOp = aspaceWrapValue(Cache, I->getFunction(), OldOp); in aspaceWrapOperand()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.h264 Cache; variable
270 auto It = Cache.find(Filename); in findEntryByFilename()
271 return It == Cache.end() ? nullptr : It->getValue().first; in findEntryByFilename()
280 auto [It, Inserted] = Cache.insert({Filename, {&Entry, nullptr}}); in insertEntryForFilename()
295 auto It = Cache.find(Filename); in findRealPathByFilename()
296 return It == Cache.end() ? nullptr : It->getValue().second; in findRealPathByFilename()
305 auto [It, Inserted] = Cache.insert({Filename, {nullptr, &RealPath}}); in insertRealPathForFilename()
/freebsd/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/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/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUIGroupLP.cpp94 std::optional<SmallVector<SUnit *, 4>> Cache; member in __anon5d856e630111::InstructionRule
107 Cache = SmallVector<SUnit *, 4>(); in InstructionRule()
925 if (Cache->empty()) { in apply()
930 Cache->push_back(&*I); in apply()
932 if (Cache->empty()) in apply()
936 auto Reaches = any_of(*Cache, [&SU, &DAG](SUnit *TargetSU) { in apply()
959 if (Cache->empty()) { in apply()
965 Cache->push_back(&*I); in apply()
973 if (Cache->empty()) in apply()
977 return DAG->IsReachable((*Cache)[0], const_cast<SUnit *>(SU)); in apply()
[all …]
/freebsd/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:

12345678