Lines Matching refs:GetOffsetFromPtr

467     block->blockSize = GetOffsetFromPtr(GetMemPtrForMBlock(block), pRegion->end);  in InitMBlock()
577 …if ((GetOffsetFromPtr(freeRgnT.start, freeRgnT.end) < sizeof(NNSiFndExpHeapMBlockHead) + MIN_FREE_… in AllocUsedBlockFromFreeBlock()
588 …if ((GetOffsetFromPtr(freeRgnB.start, freeRgnB.end) < sizeof(NNSiFndExpHeapMBlockHead) + MIN_FREE_… in AllocUsedBlockFromFreeBlock()
599 …FillAllocMemory(GetHeapHeadPtrFromHeapHead(pEHHead), freeRgnT.end, GetOffsetFromPtr(freeRgnT.end, … in AllocUsedBlockFromFreeBlock()
611 SetAlignmentForMBlock(pMBHeadNewUsed, (u16)GetOffsetFromPtr(freeRgnT.end, pMBHeadNewUsed)); in AllocUsedBlockFromFreeBlock()
654 const u32 offset = GetOffsetFromPtr(mblock, reqMBlock); // 発生したずれ in AllocFromHead()
804 …if (GetOffsetFromPtr(freeRgn.start, freeRgn.end) < sizeof(NNSiFndExpHeapMBlockHead)) // ブロックになれない大… in RecycleRegion()
811 …FillFreeMemory(GetHeapHeadPtrFromHeapHead(pEHHead), pRegion->start, GetOffsetFromPtr(pRegion->star… in RecycleRegion()
1190 … u32 heapSize = GetOffsetFromPtr(pHeapHd->heapStart, pHeapHd->heapEnd); // ヒープサイズ(データ領域のサイズ) in NNSi_FndDumpHeap()
1236 … || GetOffsetFromPtr(startAddress, endAddress) < sizeof(NNSiFndExpHeapMBlockHead) + MIN_ALIGNMENT in CreateHeap()
1382 … if (GetOffsetFromPtr(rgnNewFree.start, rgnNewFree.end) < sizeof(NNSiFndExpHeapMBlockHead)) in ResizeForMBlockHeap()
1387 pMBHead->blockSize = GetOffsetFromPtr(memBlock, rgnNewFree.start); // 対象ブロックサイズ変更 in ResizeForMBlockHeap()
1390 … if (GetOffsetFromPtr(rgnNewFree.start, rgnNewFree.end) >= sizeof(NNSiFndExpHeapMBlockHead)) in ResizeForMBlockHeap()
1398 GetOffsetFromPtr(oldFreeStart, rgnNewFree.start)); in ResizeForMBlockHeap()
1521 const u32 blockSize = GetOffsetFromPtr(baseAddress, GetMBlockEndAddr(pMBlkHd)); in GetAllocatableSizeForHeap()
1523 const u32 offset = GetOffsetFromPtr(GetMemPtrForMBlock(pMBlkHd), baseAddress); in GetAllocatableSizeForHeap()
1919 if (totalBytes != GetOffsetFromPtr(pHeapHd->heapStart, pHeapHd->heapEnd)) in CheckHeap()
1922 GetOffsetFromPtr(pHeapHd->heapStart, pHeapHd->heapEnd), totalBytes); in CheckHeap()