Lines Matching refs:allocated

124     Cell   *allocated;                 // pointer to the first used cell  member
464 hd->allocated = DLAddFront(hd->allocated, cell); in OS_AllocFromHeap()
523 if (DLOverlap(hd->allocated, start, end)) in OS_AllocFixed()
709 SDK_TASSERTMSG(DLLookup(hd->allocated, cell), OS_ERR_FREETOHEAP_INVPTR); in OS_FreeToHeap()
719 hd->allocated = DLExtract(hd->allocated, cell); in OS_FreeToHeap()
759 while ((cell = hd->allocated) != NULL) in OS_FreeAllToHeap()
762 SDK_ASSERT(DLLookup(hd->allocated, cell)); in OS_FreeAllToHeap()
772 hd->allocated = DLExtract(hd->allocated, cell); in OS_FreeAllToHeap()
859 hd->free = hd->allocated = NULL; in OS_InitAlloc()
944 …SDK_TASSERTMSG(!DLOverlap(heapInfo->heapArray[heap].allocated, start, end), OS_ERR_CREATEHEAP_INVR… in OS_CreateHeap()
965 hd->allocated = 0; in OS_CreateHeap()
1031 hd->allocated = 0; in OS_CreateExtraHeap()
1101 hd->free = hd->allocated = NULL; // add to dolphin src in OS_DestroyHeap()
1176 …SDK_TASSERTMSG(!DLOverlap(heapInfo->heapArray[i].allocated, start, end), OS_ERR_ADDTOHEAP_INVRANGE… in OS_AddToHeap()
1293 OSi_CHECK(hd->allocated == NULL || hd->allocated->prev == NULL); in OS_CheckHeap()
1294 for (cell = hd->allocated; cell; cell = cell->next) in OS_CheckHeap()
1397 SDK_TASSERTMSG(DLLookup(cell->hd->allocated, cell), OS_ERR_REFERENT_INVPTR); in OS_ReferentSize()
1456 … SDK_TASSERTMSG(hd->allocated == NULL || hd->allocated->prev == NULL, OS_ERR_DUMPHEAP_BROKENHEAP); in OS_DumpHeap()
1457 if ( ! hd->allocated ) in OS_DumpHeap()
1463 for (cell = hd->allocated; cell; cell = cell->next) in OS_DumpHeap()
1521 for (cell = heapInfo->heapArray[heap].allocated; cell; cell = cell->next) in OS_VisitAllocated()
1566 for (cell = heapInfo->heapArray[heap].allocated; cell; cell = cell->next) in OSi_GetTotalAllocSize()
1573 for (cell = heapInfo->heapArray[heap].allocated; cell; cell = cell->next) in OSi_GetTotalAllocSize()
1729 hd->allocated = 0; in OS_ClearHeap()