/src/sys/external/bsd/acpica/dist/compiler/ |
aslcache.c | 3 * Module Name: aslcache -- Local cache support for iASL 156 * of each individual input file. Thus, individual allocations from the cache 157 * memory do not need to be freed or even released back into the cache. 182 ASL_CACHE_INFO *Cache; 197 Cache = UtLocalCalloc (sizeof (Cache->Next) + CacheSize); 199 /* Link new cache buffer just following head of list */ 201 Cache->Next = AslGbl_StringCacheList->Next; 202 AslGbl_StringCacheList->Next = Cache; 204 /* Leave cache management pointers alone as they pertain to head * [all...] |
/src/sys/external/bsd/acpica/dist/utilities/ |
utcache.c | 3 * Module Name: utcache - local cache allocation routines 164 * PARAMETERS: CacheName - Ascii name for the cache 166 * MaxDepth - Maximum depth of the cache (in objects) 167 * ReturnCache - Where the new cache object is returned 171 * DESCRIPTION: Create a cache object 182 ACPI_MEMORY_LIST *Cache; 193 /* Create the cache object */ 195 Cache = AcpiOsAllocate (sizeof (ACPI_MEMORY_LIST)); 196 if (!Cache) 201 /* Populate the cache object and return it * [all...] |
uttrack.c | 199 * PARAMETERS: CacheName - Ascii name for the cache 201 * ReturnCache - Where the new cache object is returned 215 ACPI_MEMORY_LIST *Cache; 218 Cache = AcpiOsAllocateZeroed (sizeof (ACPI_MEMORY_LIST)); 219 if (!Cache) 224 Cache->ListName = ListName; 225 Cache->ObjectSize = ObjectSize; 227 *ReturnCache = Cache; 801 /* Ignore allocated objects that are in a cache */ 902 ACPI_ERROR ((AE_INFO, "%u (0x%X) Outstanding cache allocations" [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/ |
tsan_dense_alloc_test.cc | 26 typedef Alloc::Cache Cache; 31 Cache cache; local in function:__tsan::TEST 32 alloc.InitCache(&cache); 37 IndexT idx = alloc.Alloc(&cache); 48 alloc.Free(&cache, idx); 51 alloc.FlushCache(&cache);
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
sanitizer_quarantine_test.cc | 31 typedef QuarantineCache<QuarantineCallback> Cache; 38 static void DeallocateCache(Cache *cache) { 39 while (QuarantineBatch *batch = cache->DequeueBatch()) 78 Cache cache; local in function:__sanitizer::TEST 79 Cache to_deallocate; 80 cache.MergeBatches(&to_deallocate); 87 Cache cache; local in function:__sanitizer::TEST 107 Cache cache; local in function:__sanitizer::TEST 129 Cache cache; local in function:__sanitizer::TEST 155 Cache cache; local in function:__sanitizer::TEST [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
tsan_dense_alloc.h | 13 // DenseSlabAllocCache is a thread-local cache for DenseSlabAlloc. 32 IndexT cache[kSize]; member in class:__tsan::DenseSlabAllocCache 39 typedef DenseSlabAllocCache Cache; 40 typedef typename Cache::IndexT IndexT; 62 IndexT Alloc(Cache *c) { 65 return c->cache[--c->pos]; 68 void Free(Cache *c, IndexT idx) { 70 if (c->pos == Cache::kSize) 72 c->cache[c->pos++] = idx; 81 void FlushCache(Cache *c) [all...] |
tsan_clock.h | 127 typedef DenseSlabAllocCache Cache;
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_quarantine.h | 79 typedef QuarantineCache<Callback> Cache; 103 void Put(Cache *c, Callback cb, Node *ptr, uptr size) { 111 // Check cache size anyway to accommodate for runtime cache_size change. 116 void NOINLINE Drain(Cache *c, Callback cb) { 125 void NOINLINE DrainAndRecycle(Cache *c, Callback cb) { 150 Cache cache_; 154 Cache tmp; 184 void NOINLINE DoRecycle(Cache *c, Callback cb) { 200 // Per-thread cache of memory blocks.
|
/src/sys/external/bsd/acpica/dist/include/ |
acobject.h | 614 union acpi_operand_object *Next; /* Link for object cache and internal lists*/ 651 ACPI_OBJECT_CACHE_LIST Cache;
|