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_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()
1485 … if ( GetOffsetFromPtr(rgnNewFree.start, rgnNewFree.end) < sizeof(MEMiExpHeapMBlockHead) ) in MEMResizeForMBlockExpHeap()
1490 …pMBHead->blockSize = GetOffsetFromPtr(memBlock, rgnNewFree.start); // change the target block size in MEMResizeForMBlockExpHeap()
1493 … if ( GetOffsetFromPtr(rgnNewFree.start, rgnNewFree.end) >= sizeof(MEMiExpHeapMBlockHead) ) in MEMResizeForMBlockExpHeap()
1501 GetOffsetFromPtr(oldFreeStart, rgnNewFree.start)); in MEMResizeForMBlockExpHeap()
1641 const u32 blockSize = GetOffsetFromPtr(baseAddress, GetMBlockEndAddr_(pMBlkHd)); in MEMGetAllocatableSizeForExpHeapEx()
1643 const u32 offset = GetOffsetFromPtr(GetMemPtrForMBlock_(pMBlkHd), baseAddress); in MEMGetAllocatableSizeForExpHeapEx()
1977 retVal = GetOffsetFromPtr( pHeapHd, pHeapHd->heapEnd ); in MEMAdjustExpHeap()
2068 if ( totalBytes != GetOffsetFromPtr(pHeapHd->heapStart, pHeapHd->heapEnd) ) in MEMCheckExpHeap()
2071 GetOffsetFromPtr(pHeapHd->heapStart, pHeapHd->heapEnd), totalBytes); in MEMCheckExpHeap()