Searched refs:heapSource (Results 1 – 3 of 3) sorted by relevance
143 static void enqueueBlock(HeapSource *heapSource, size_t block);246 static void describeBlocks(const HeapSource *heapSource) in describeBlocks() argument248 for (size_t i = 0; i < heapSource->totalBlocks; ++i) { in describeBlocks()250 printf("%d ", heapSource->blockSpace[i]); in describeBlocks()282 static int isValidAddress(const HeapSource *heapSource, const u1 *addr) in isValidAddress() argument287 return heapSource->baseBlock <= block && in isValidAddress()288 heapSource->limitBlock > block; in isValidAddress()296 static void *allocateBlocks(HeapSource *heapSource, size_t blocks) in allocateBlocks() argument298 size_t allocBlocks = heapSource->allocBlocks; in allocateBlocks()299 size_t totalBlocks = heapSource->totalBlocks; in allocateBlocks()[all …]
27 HeapSource *heapSource; member
56 assert(gDvm.gcHeap->heapSource != NULL); \57 assert(gHs == gDvm.gcHeap->heapSource); \275 HeapSource* hs = gDvm.gcHeap->heapSource; in countAllocation()290 HeapSource* hs = gDvm.gcHeap->heapSource; in countFree()640 gcHeap->heapSource = hs; in dvmHeapSourceStartup()699 if (*gcHeap != NULL && (*gcHeap)->heapSource != NULL) { in dvmHeapSourceShutdown()700 HeapSource *hs = (*gcHeap)->heapSource; in dvmHeapSourceShutdown()