Home
last modified time | relevance | path

Searched refs:GetOffsetFromPtr (Results 1 – 5 of 5) sorted by relevance

/RvlSDK-3.2.2/build/libraries/mem/src/
Dmem_frameHeap.c155 GetOffsetFromPtr(pFrmHeapHd->headAllocator, endAddress)); in AllocFromHead_()
193 GetOffsetFromPtr(newBlock, pFrmHeapHd->tailAllocator) ); in AllocFromTail_()
217 GetOffsetFromPtr(pHeapHd->heapStart, pFrmHeapHd->headAllocator) ); in FreeHead_()
241 GetOffsetFromPtr(pFrmHeapHd->tailAllocator, pHeapHd->heapEnd) ); in FreeTail_()
343 … const u32 heapSize = GetOffsetFromPtr( pHeapHd->heapStart, pHeapHd->heapEnd ); in MEMiDumpFrmHeap()
348 PrintSize_(GetOffsetFromPtr(pHeapHd->heapStart, pFrmHeapHd->headAllocator), heapSize); in MEMiDumpFrmHeap()
350 … PrintSize_(GetOffsetFromPtr(pFrmHeapHd->headAllocator, pFrmHeapHd->tailAllocator), heapSize); in MEMiDumpFrmHeap()
352 PrintSize_(GetOffsetFromPtr(pFrmHeapHd->tailAllocator, pHeapHd->heapEnd), heapSize); in MEMiDumpFrmHeap()
414 … || GetOffsetFromPtr(startAddress, endAddress) < sizeof(MEMiHeapHead) + sizeof(MEMiFrmHeapHead) in MEMCreateFrmHeapEx()
575 retVal = GetOffsetFromPtr( block, pFrmHeapHd->tailAllocator ); in MEMGetAllocatableSizeForFrmHeapEx()
[all …]
Dmem_expHeap.c529 block->blockSize = GetOffsetFromPtr( GetMemPtrForMBlock_(block), pRegion->end ); in InitMBlock_()
637 …if ( ( GetOffsetFromPtr(freeRgnT.start, freeRgnT.end) < sizeof(MEMiExpHeapMBlockHead) + MIN_FREE_B… in AllocUsedBlockFromFreeBlock_()
648 …if ( ( GetOffsetFromPtr(freeRgnB.start, freeRgnB.end) < sizeof(MEMiExpHeapMBlockHead) + MIN_FREE_B… in AllocUsedBlockFromFreeBlock_()
662 GetOffsetFromPtr(freeRgnT.end, freeRgnB.start) in AllocUsedBlockFromFreeBlock_()
675 … SetAlignmentForMBlock_( pMBHeadNewUsed, (u16)GetOffsetFromPtr(freeRgnT.end, pMBHeadNewUsed) ); in AllocUsedBlockFromFreeBlock_()
718 const u32 offset = GetOffsetFromPtr( mblock, reqMBlock ); // generated offset in AllocFromHead_()
872 …if ( GetOffsetFromPtr(freeRgn.start, freeRgn.end) < sizeof(MEMiExpHeapMBlockHead) ) // size is not… in RecycleRegion_()
879 …FillFreeMemory( GetHeapHeadPtrFromExpHeapHead_(pEHHead), pRegion->start, GetOffsetFromPtr(pRegion-… in RecycleRegion_()
1280 …u32 heapSize = GetOffsetFromPtr(pHeapHd->heapStart, pHeapHd->heapEnd); // heap size (data region … in MEMiDumpExpHeap()
1325 || GetOffsetFromPtr(startAddress, endAddress) < in MEMCreateExpHeapEx()
[all …]
Dmem_unitHeap.c143 const u32 heapSize = GetOffsetFromPtr( pHeapHd->heapStart, pHeapHd->heapEnd ); in MEMiDumpUnitHeap()
215 elementNum = GetOffsetFromPtr( heapStart, heapEnd ) / memBlockSize; in MEMCreateUnitHeapEx()
Dmem_heapCommon.c223 GetOffsetFromPtr( heapStart, heapEnd ) in MEMiInitHeapHead()
/RvlSDK-3.2.2/build/libraries/mem/include/
DheapCommoni.h105 GetOffsetFromPtr( const void* start, const void* end ) in GetOffsetFromPtr() function