Home
last modified time | relevance | path

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

/RvlSDK-2.1/build/libraries/mem/src/
Dmem_heapCommon.c78 && GetUIntPtr( memBlock ) < GetUIntPtr( pHeapHd->heapEnd ) in FindContainHeap_()
122 && GetUIntPtr( pTargetHeap ) < GetUIntPtr( pHeapHd->heapEnd ) in FindParentHeap_()
181 void* heapEnd, in MEMiInitHeapHead() argument
188 pHeapHd->heapEnd = heapEnd; in MEMiInitHeapHead()
197 GetOffsetFromPtr( heapStart, heapEnd ) in MEMiInitHeapHead()
265 OSReport(" whole [%p - %p)\n", pHeapHd, pHeapHd->heapEnd); in MEMiDumpHeapHead()
316 && GetUIntPtr( heap ) < GetUIntPtr( pHeapHd->heapEnd ) in MEMFindParentHeap()
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_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()
733 if ( 0 < GetOffsetFromPtr( pFrmHeapHd->tailAllocator, pHeapHd->heapEnd ) ) in MEMAdjustFrmHeap()
739 pFrmHeapHd->tailAllocator = pHeapHd->heapEnd = pFrmHeapHd->headAllocator; in MEMAdjustFrmHeap()
741 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()
1542 ASSERT( pHeapHd->heapStart <= memBlock && memBlock < pHeapHd->heapEnd ); in MEMFreeToExpHeap()
1928 pHeapHd->heapEnd = SubU32ToPtr( pHeapHd->heapEnd, blockSize ); in MEMAdjustExpHeap()
1930 retVal = GetOffsetFromPtr( pHeapHd, pHeapHd->heapEnd ); in MEMAdjustExpHeap()
2021 if ( totalBytes != GetOffsetFromPtr(pHeapHd->heapStart, pHeapHd->heapEnd) ) in MEMCheckExpHeap()
2024 GetOffsetFromPtr(pHeapHd->heapStart, pHeapHd->heapEnd), totalBytes); in MEMCheckExpHeap()
/RvlSDK-2.1/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-2.1/build/libraries/mem/include/
DheapCommoni.h80 void* heapEnd,