Lines Matching refs:NumHeaps
156 static int NumHeaps; // number of heaps variable
351 ASSERTMSG(0 <= heap && heap < NumHeaps, OS_ERR_ALLOCFROMHEAP_INVHEAP); in OSAllocFromHeap()
454 for (i = 0; i < NumHeaps; i++) in OSAllocFixed()
477 for (i = 0; i < NumHeaps; i++) in OSAllocFixed()
632 ASSERTMSG(0 <= heap && heap < NumHeaps, OS_ERR_SETCURRENTHEAP_INVHEAP); in OSSetCurrentHeap()
669 NumHeaps = maxHeaps; in OSInitAlloc()
671 for (i = 0; i < NumHeaps; i++) in OSInitAlloc()
730 for (heap = 0; heap < NumHeaps; heap++) in OSCreateHeap()
742 for (heap = 0; heap < NumHeaps; heap++) in OSCreateHeap()
795 ASSERTMSG(0 <= heap && heap < NumHeaps, OS_ERR_DESTROYHEAP_INVHEAP); in OSDestroyHeap()
843 ASSERTMSG(0 <= heap && heap < NumHeaps, OS_ERR_ADDTOHEAP_INVHEAP); in OSAddToHeap()
859 for (i = 0; i < NumHeaps; i++) in OSAddToHeap()
911 CHECK(0 <= heap && heap < NumHeaps); in OSCheckHeap()
982 ASSERTMSG(HeapArray <= cell->hd && cell->hd < &HeapArray[NumHeaps], in OSReferentSize()
1008 ASSERTMSG(0 <= heap && heap < NumHeaps, OS_ERR_DUMPHEAP_INVHEAP); in OSDumpHeap()
1071 for (heap = 0; heap < NumHeaps; heap++) in OSVisitAllocated()