Lines Matching defs:Cache
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 */
209 return (Cache->Buffer);
218 Cache = UtLocalCalloc (sizeof (Cache->Next) + CacheSize);
220 /* Link new cache buffer to head of list */
222 Cache->Next = AslGbl_StringCacheList;
223 AslGbl_StringCacheList = Cache;
225 /* Setup cache management pointers */
227 AslGbl_StringCacheNext = Cache->Buffer;
258 ASL_CACHE_INFO *Cache;
265 Cache = UtLocalCalloc (sizeof (Cache->Next) +
268 /* Link new cache buffer to head of list */
270 Cache->Next = AslGbl_ParseOpCacheList;
271 AslGbl_ParseOpCacheList = Cache;
273 /* Setup cache management pointers */
275 AslGbl_ParseOpCacheNext = ACPI_CAST_PTR (ACPI_PARSE_OBJECT, Cache->Buffer);
302 ASL_CACHE_INFO *Cache;
309 Cache = UtLocalCalloc (sizeof (Cache->Next) +
312 /* Link new cache buffer to head of list */
314 Cache->Next = AslGbl_SubtableCacheList;
315 AslGbl_SubtableCacheList = Cache;
317 /* Setup cache management pointers */
319 AslGbl_SubtableCacheNext = ACPI_CAST_PTR (DT_SUBTABLE, Cache->Buffer);
346 ASL_CACHE_INFO *Cache;
353 Cache = UtLocalCalloc (sizeof (Cache->Next) +
356 /* Link new cache buffer to head of list */
358 Cache->Next = AslGbl_FieldCacheList;
359 AslGbl_FieldCacheList = Cache;
361 /* Setup cache management pointers */
363 AslGbl_FieldCacheNext = ACPI_CAST_PTR (DT_FIELD, Cache->Buffer);
380 * DESCRIPTION: Delete all local cache buffer blocks
393 * Generic cache, arbitrary size allocations
408 /* Reset cache globals */
416 * Parse Op cache
432 /* Reset cache globals */
440 * Table Compiler - Field cache
456 /* Reset cache globals */
463 * Table Compiler - Subtable cache
479 /* Reset cache globals */