Lines Matching refs:GetOffsetFromPtr
529 block->blockSize = GetOffsetFromPtr( GetMemPtrForMBlock_(block), pRegion->end ); in InitMBlock_()
637 …if ( GetOffsetFromPtr(freeRgnT.start, freeRgnT.end) < sizeof(MEMiExpHeapMBlockHead) + MIN_FREE_BLO… in AllocUsedBlockFromFreeBlock_()
647 …if ( GetOffsetFromPtr(freeRgnB.start, freeRgnB.end) < sizeof(MEMiExpHeapMBlockHead) + MIN_FREE_BLO… in AllocUsedBlockFromFreeBlock_()
660 GetOffsetFromPtr(freeRgnT.end, freeRgnB.start) in AllocUsedBlockFromFreeBlock_()
673 … SetAlignmentForMBlock_( pMBHeadNewUsed, (u16)GetOffsetFromPtr(freeRgnT.end, pMBHeadNewUsed) ); in AllocUsedBlockFromFreeBlock_()
716 const u32 offset = GetOffsetFromPtr( mblock, reqMBlock ); // Generated offset in AllocFromHead_()
868 …if ( GetOffsetFromPtr(freeRgn.start, freeRgn.end) < sizeof(MEMiExpHeapMBlockHead) ) // Size not su… in RecycleRegion_()
875 …FillFreeMemory( GetHeapHeadPtrFromExpHeapHead_(pEHHead), pRegion->start, GetOffsetFromPtr(pRegion-… in RecycleRegion_()
1269 …u32 heapSize = GetOffsetFromPtr(pHeapHd->heapStart, pHeapHd->heapEnd); // Heap size (data region … in MEMiDumpExpHeap()
1314 || GetOffsetFromPtr(startAddress, endAddress) < in MEMCreateExpHeapEx()
1470 … if ( GetOffsetFromPtr(rgnNewFree.start, rgnNewFree.end) < sizeof(MEMiExpHeapMBlockHead) ) in MEMResizeForMBlockExpHeap()
1475 …pMBHead->blockSize = GetOffsetFromPtr(memBlock, rgnNewFree.start); // Changes the target block si… in MEMResizeForMBlockExpHeap()
1478 … if ( GetOffsetFromPtr(rgnNewFree.start, rgnNewFree.end) >= sizeof(MEMiExpHeapMBlockHead) ) in MEMResizeForMBlockExpHeap()
1486 GetOffsetFromPtr(oldFreeStart, rgnNewFree.start)); in MEMResizeForMBlockExpHeap()
1628 const u32 blockSize = GetOffsetFromPtr(baseAddress, GetMBlockEndAddr_(pMBlkHd)); in MEMGetAllocatableSizeForExpHeapEx()
1630 const u32 offset = GetOffsetFromPtr(GetMemPtrForMBlock_(pMBlkHd), baseAddress); in MEMGetAllocatableSizeForExpHeapEx()
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()