Lines Matching refs:memRegion
279 MemRegion *memRegion; member
975 MemRegion *oldRegion = static_cast<LastFreeBlock*>(right)->memRegion; in remap()
1035 void Backend::releaseRegion(MemRegion *memRegion) in releaseRegion() argument
1037 regionList.remove(memRegion); in releaseRegion()
1038 freeRawMem(memRegion, memRegion->allocSz); in releaseRegion()
1046 MemRegion *memRegion = nullptr; in doCoalesc() local
1080 memRegion = static_cast<LastFreeBlock*>(right)->memRegion; in doCoalesc()
1110 memRegion = static_cast<LastFreeBlock*>(nextRight)->memRegion; in doCoalesc()
1117 if (memRegion) { in doCoalesc()
1118 MALLOC_ASSERT((uintptr_t)memRegion + memRegion->allocSz >= in doCoalesc()
1120 MALLOC_ASSERT((uintptr_t)memRegion < (uintptr_t)resBlock, ASSERT_TEXT); in doCoalesc()
1121 *mRegion = memRegion; in doCoalesc()
1136 MemRegion *memRegion; in coalescAndPutList() local
1140 FreeBlock *toRet = doCoalesc(list, &memRegion); in coalescAndPutList()
1144 if (memRegion && memRegion->blockSz == toRet->sizeTmp in coalescAndPutList()
1150 releaseRegion(memRegion); in coalescAndPutList()
1274 lastBl->memRegion = region; in startUseBlock()