Lines Matching refs:free
123 Cell *free; // pointer to the first free cell member
401 for (cell = hd->free; cell != NULL; cell = cell->next) in OS_AllocFromHeap()
425 hd->free = DLExtract(hd->free, cell); in OS_AllocFromHeap()
454 SDK_ASSERTMSG(hd->free == cell, OS_ERR_ALLOCFROMHEAP_BROKENHEAP); in OS_AllocFromHeap()
455 hd->free = newCell; in OS_AllocFromHeap()
548 for (cell = hd->free; cell; cell = cell->next) in OS_AllocFixed()
571 hd->free = DLExtract(hd->free, cell); // Note cell->next is intact. XXX in OS_AllocFixed()
604 hd->free = newCell; // new head in OS_AllocFixed()
709 hd->free = DLInsert(hd->free, cell); in OS_FreeToHeap()
762 hd->free = DLInsert(hd->free, cell); in OS_FreeAllToHeap()
847 hd->free = hd->allocated = NULL; in OS_InitAlloc()
933 SDK_ASSERTMSG(!DLOverlap(heapInfo->heapArray[heap].free, start, end), in OS_CreateHeap()
956 hd->free = cell; in OS_CreateHeap()
1010 size = DLSize(hd->free); in OS_DestroyHeap()
1019 hd->free = hd->allocated = NULL; // add to dolphin src in OS_DestroyHeap()
1083 SDK_ASSERTMSG(!DLOverlap(heapInfo->heapArray[i].free, start, end), in OS_AddToHeap()
1099 hd->free = DLInsert(hd->free, cell); in OS_AddToHeap()
1155 long free = 0; in OS_CheckHeap() local
1195 OSi_CHECK(hd->free == NULL || hd->free->prev == NULL); in OS_CheckHeap()
1196 for (cell = hd->free; cell; cell = cell->next) in OS_CheckHeap()
1206 free += cell->size - HEADERSIZE; in OS_CheckHeap()
1215 retValue = free; in OS_CheckHeap()
1330 if ( ! hd->free ) in OS_DumpHeap()
1336 for (cell = hd->free; cell; cell = cell->next) in OS_DumpHeap()
1472 for (cell = heapInfo->heapArray[heap].free; cell; cell = cell->next) in OS_GetTotalFreeSize()
1510 for (cell = heapInfo->heapArray[heap].free; cell; cell = cell->next) in OS_GetMaxFreeSize()
1577 hd->free = cell; in OS_ClearHeap()