Lines Matching refs:allocated
124 Cell *allocated; // pointer to the first used cell member
460 hd->allocated = DLAddFront(hd->allocated, cell); in OS_AllocFromHeap()
520 if (DLOverlap(hd->allocated, start, end)) in OS_AllocFixed()
696 SDK_ASSERTMSG(DLLookup(hd->allocated, cell), OS_ERR_FREETOHEAP_INVPTR); in OS_FreeToHeap()
706 hd->allocated = DLExtract(hd->allocated, cell); in OS_FreeToHeap()
746 while ((cell = hd->allocated) != NULL) in OS_FreeAllToHeap()
749 SDK_ASSERT(DLLookup(hd->allocated, cell)); in OS_FreeAllToHeap()
759 hd->allocated = DLExtract(hd->allocated, cell); in OS_FreeAllToHeap()
847 hd->free = hd->allocated = NULL; in OS_InitAlloc()
935 SDK_ASSERTMSG(!DLOverlap(heapInfo->heapArray[heap].allocated, start, end), in OS_CreateHeap()
957 hd->allocated = 0; in OS_CreateHeap()
1019 hd->free = hd->allocated = NULL; // add to dolphin src in OS_DestroyHeap()
1085 SDK_ASSERTMSG(!DLOverlap(heapInfo->heapArray[i].allocated, start, end), in OS_AddToHeap()
1177 OSi_CHECK(hd->allocated == NULL || hd->allocated->prev == NULL); in OS_CheckHeap()
1178 for (cell = hd->allocated; cell; cell = cell->next) in OS_CheckHeap()
1258 SDK_ASSERTMSG(DLLookup(cell->hd->allocated, cell), OS_ERR_REFERENT_INVPTR); in OS_ReferentSize()
1315 SDK_ASSERTMSG(hd->allocated == NULL || hd->allocated->prev == NULL, OS_ERR_DUMPHEAP_BROKENHEAP); in OS_DumpHeap()
1316 if ( ! hd->allocated ) in OS_DumpHeap()
1322 for (cell = hd->allocated; cell; cell = cell->next) in OS_DumpHeap()
1380 for (cell = heapInfo->heapArray[heap].allocated; cell; cell = cell->next) in OS_VisitAllocated()
1425 for (cell = heapInfo->heapArray[heap].allocated; cell; cell = cell->next) in OSi_GetTotalAllocSize()
1432 for (cell = heapInfo->heapArray[heap].allocated; cell; cell = cell->next) in OSi_GetTotalAllocSize()
1578 hd->allocated = 0; in OS_ClearHeap()