Home
last modified time | relevance | path

Searched refs:heapEnd (Results 1 – 6 of 6) sorted by relevance

/RvlSDK-3.1.4/build/libraries/mem/src/
Dmem_unitHeap.c143 const u32 heapSize = GetOffsetFromPtr( pHeapHd->heapStart, pHeapHd->heapEnd ); in MEMiDumpUnitHeap()
187 void* heapEnd; in MEMCreateUnitHeapEx() local
196 heapEnd = RoundDownPtr( AddU32ToPtr( startAddress, heapSize ), MIN_ALIGNMENT ); in MEMCreateUnitHeapEx()
198 if ( ComparePtr( pHeapHd, heapEnd ) > 0 ) in MEMCreateUnitHeapEx()
210 if ( ComparePtr( heapStart, heapEnd ) > 0 ) in MEMCreateUnitHeapEx()
215 elementNum = GetOffsetFromPtr( heapStart, heapEnd ) / memBlockSize; in MEMCreateUnitHeapEx()
221 heapEnd = AddU32ToPtr( heapStart, elementNum * memBlockSize ); in MEMCreateUnitHeapEx()
227 heapEnd, in MEMCreateUnitHeapEx()
Dmem_heapCommon.c78 && GetUIntPtr( memBlock ) < GetUIntPtr( pHeapHd->heapEnd ) in FindContainHeap_()
122 && GetUIntPtr( pTargetHeap ) < GetUIntPtr( pHeapHd->heapEnd ) in FindParentHeap_()
207 void* heapEnd, in MEMiInitHeapHead() argument
214 pHeapHd->heapEnd = heapEnd; in MEMiInitHeapHead()
223 GetOffsetFromPtr( heapStart, heapEnd ) in MEMiInitHeapHead()
296 OSReport(" whole [%p - %p)\n", pHeapHd, pHeapHd->heapEnd); in MEMiDumpHeapHead()
347 && GetUIntPtr( heap ) < GetUIntPtr( pHeapHd->heapEnd ) in MEMFindParentHeap()
Dmem_frameHeap.c115 pFrmHeapHd->tailAllocator = pHeapHd->heapEnd; in InitFrameHeap_()
241 GetOffsetFromPtr(pFrmHeapHd->tailAllocator, pHeapHd->heapEnd) ); in FreeTail_()
251 pState->tailAllocator = pHeapHd->heapEnd; in FreeTail_()
255 pFrmHeapHd->tailAllocator = pHeapHd->heapEnd; in FreeTail_()
343 … const u32 heapSize = GetOffsetFromPtr( pHeapHd->heapStart, pHeapHd->heapEnd ); in MEMiDumpFrmHeap()
351 OSReport("\n tail [%p - %p) ", pFrmHeapHd->tailAllocator, pHeapHd->heapEnd); in MEMiDumpFrmHeap()
352 PrintSize_(GetOffsetFromPtr(pFrmHeapHd->tailAllocator, pHeapHd->heapEnd), heapSize); in MEMiDumpFrmHeap()
734 if ( 0 < GetOffsetFromPtr( pFrmHeapHd->tailAllocator, pHeapHd->heapEnd ) ) in MEMAdjustFrmHeap()
740 pFrmHeapHd->tailAllocator = pHeapHd->heapEnd = pFrmHeapHd->headAllocator; in MEMAdjustFrmHeap()
742 retVal = GetOffsetFromPtr( heap, pHeapHd->heapEnd ); in MEMAdjustFrmHeap()
Dmem_expHeap.c590 region.end = pHeapHd->heapEnd; in InitExpHeap_()
924 || GetUIntPtr(memBlock) > GetUIntPtr(pHeapHd->heapEnd) in CheckMBlock_()
928 heapType, memBlock, pHeapHd->heapStart, pHeapHd->heapEnd); in CheckMBlock_()
958 if ( GetUIntPtr(memBlock) + pMBHead->blockSize > GetUIntPtr(pHeapHd->heapEnd) ) in CheckMBlock_()
1269 …u32 heapSize = GetOffsetFromPtr(pHeapHd->heapStart, pHeapHd->heapEnd); // Heap size (data region … in MEMiDumpExpHeap()
1543 ASSERT( pHeapHd->heapStart <= memBlock && memBlock < pHeapHd->heapEnd ); in MEMFreeToExpHeap()
1929 pHeapHd->heapEnd = SubU32ToPtr( pHeapHd->heapEnd, blockSize ); in MEMAdjustExpHeap()
1931 retVal = GetOffsetFromPtr( pHeapHd, pHeapHd->heapEnd ); in MEMAdjustExpHeap()
2022 if ( totalBytes != GetOffsetFromPtr(pHeapHd->heapStart, pHeapHd->heapEnd) ) in MEMCheckExpHeap()
2025 GetOffsetFromPtr(pHeapHd->heapStart, pHeapHd->heapEnd), totalBytes); in MEMCheckExpHeap()
/RvlSDK-3.1.4/include/revolution/mem/
DheapCommon.h106 void* heapEnd; // Heap end (+1) address member
166 return heap->heapEnd; in MEMGetHeapEndAddress()
182 return ((s32)(heap->heapEnd) - (s32)(heap->heapStart)); in MEMGetHeapTotalUsableSize()
199 return ((s32)(heap->heapEnd) - (s32)(heap)); in MEMGetHeapTotalSize()
/RvlSDK-3.1.4/build/libraries/mem/include/
DheapCommoni.h80 void* heapEnd,