Lines Matching refs:right
52 void Backend::UsedAddressRange::registerAlloc(uintptr_t left, uintptr_t right) in registerAlloc() argument
57 if (right > rightBound.load(std::memory_order_relaxed)) in registerAlloc()
58 rightBound.store(right, std::memory_order_relaxed); in registerAlloc()
61 …MALLOC_ASSERT(leftBound.load(std::memory_order_relaxed) <= left && right <= rightBound.load(std::m… in registerAlloc()
64 void Backend::UsedAddressRange::registerFree(uintptr_t left, uintptr_t right) in registerFree() argument
68 if (rightBound.load(std::memory_order_relaxed) == right) { in registerFree()
72 leftBound.store(right, std::memory_order_relaxed); in registerFree()
73 } else if (rightBound.load(std::memory_order_relaxed) == right) in registerFree()
969 FreeBlock *right = oldFBlock->rightNeig(oldUnalignedSize); in remap() local
972 if (!right->isLastRegionBlock()) in remap()
975 MemRegion *oldRegion = static_cast<LastFreeBlock*>(right)->memRegion; in remap()
1074 FreeBlock *right = fBlock->rightNeig(fBlock->sizeTmp); in doCoalesc() local
1075 size_t rightSz = right->trySetMeUsed(GuardedSize::COAL_BLOCK); in doCoalesc()
1079 right->setMeFree(GuardedSize::LAST_REGION_BLOCK); in doCoalesc()
1080 memRegion = static_cast<LastFreeBlock*>(right)->memRegion; in doCoalesc()
1089 size_t rSz = right->rightNeig(rightSz)-> in doCoalesc()
1092 right->setMeFree(rightSz); // rollback in doCoalesc()
1101 removeBlockFromBin(right); in doCoalesc()
1105 FreeBlock *nextRight = right->rightNeig(rightSz); in doCoalesc()
1119 (uintptr_t)right + sizeof(LastFreeBlock), ASSERT_TEXT); in doCoalesc()
1438 FreeBlock *right = (FreeBlock*)((uintptr_t)fb + mySz); in verify() local
1439 suppress_unused_warning(right); in verify()
1440 MALLOC_ASSERT(right->myL.value<=GuardedSize::MAX_SPEC_VAL, ASSERT_TEXT); in verify()
1441 MALLOC_ASSERT(right->leftL.value==mySz, ASSERT_TEXT); in verify()