Searched refs:newCache (Results 1 – 1 of 1) sorted by relevance
41 AtomicCache* newCache; in dvmAllocAtomicCache() local43 newCache = (AtomicCache*) calloc(1, sizeof(AtomicCache)); in dvmAllocAtomicCache()44 if (newCache == NULL) in dvmAllocAtomicCache()47 newCache->numEntries = numEntries; in dvmAllocAtomicCache()49 newCache->entryAlloc = calloc(1, in dvmAllocAtomicCache()51 if (newCache->entryAlloc == NULL) in dvmAllocAtomicCache()60 newCache->entries = (AtomicCacheEntry*) in dvmAllocAtomicCache()61 (((int) newCache->entryAlloc + CPU_CACHE_WIDTH_1) & ~CPU_CACHE_WIDTH_1); in dvmAllocAtomicCache()63 return newCache; in dvmAllocAtomicCache()