Lines Matching refs:objectSize

339     uint16_t     objectSize;  member in rml::internal::LocalBlockFields
378 MALLOC_ASSERT(isStartupAllocObject() || objectSize<minLargeObjectSize, in getSize()
380 return isStartupAllocObject()? 0 : objectSize; in getSize()
384 bool isStartupAllocObject() const { return objectSize == startupAllocObjSizeMark; } in isStartupAllocObject()
399 if (startupAllocObjSizeMark == objectSize) // startup block in checkFreePrecond()
406 MALLOC_ASSERT(allocatedCount <= (slabSize-sizeof(Block))/objectSize in checkFreePrecond()
892 …apBlock->bumpPtr = (FreeObject *)((uintptr_t)bootStrapBlock->bumpPtr - bootStrapBlock->objectSize); in allocate()
1056 STAT_increment(getThreadId(), getIndex(result->objectSize), allocBlockNew); in getEmptyBlock()
1178 MALLOC_ASSERT( activeBlk->objectSize == objSize, ASSERT_TEXT ); in verifyTLSBin()
1183 MALLOC_ASSERT( temp->objectSize == objSize, ASSERT_TEXT ); in verifyTLSBin()
1192 MALLOC_ASSERT( temp->objectSize == objSize, ASSERT_TEXT ); in verifyTLSBin()
1212 unsigned int size = block->objectSize; in pushTLSBin()
1215 MALLOC_ASSERT( block->objectSize != 0, ASSERT_TEXT ); in pushTLSBin()
1240 unsigned int size = block->objectSize; in outofTLSBin()
1243 MALLOC_ASSERT( block->objectSize != 0, ASSERT_TEXT ); in outofTLSBin()
1334 STAT_increment(getThreadId(), getIndex(objectSize), examineEmptyEnough); in adjustFullness()
1340 isFull = (allocatedCount*objectSize > threshold) ? true : false; in adjustFullness()
1343 STAT_increment(getThreadId(), getIndex(objectSize), examineNotEmpty); in adjustFullness()
1345 STAT_increment(getThreadId(), getIndex(objectSize), examineEmptyEnough); in adjustFullness()
1359 bin = tlsPtr.load(std::memory_order_relaxed)->getAllocationBin(objectSize); in adjustPositionInBin()
1369 STAT_increment(getThreadId(), getIndex(objectSize), freeRestoreBumpPtr); in restoreBumpPtr()
1370 bumpPtr = (FreeObject *)((uintptr_t)this + slabSize - objectSize); in restoreBumpPtr()
1379 MALLOC_ASSERT( allocatedCount < (slabSize-sizeof(Block))/objectSize, ASSERT_TEXT ); in freeOwnObject()
1382 …if (tlsPtr.load(std::memory_order_relaxed)->getAllocationBin(objectSize)->getActiveBlock() != this) in freeOwnObject()
1383 STAT_increment(getThreadId(), getIndex(objectSize), freeToInactiveBlock); in freeOwnObject()
1385 STAT_increment(getThreadId(), getIndex(objectSize), freeToActiveBlock); in freeOwnObject()
1390 …tlsPtr.load(std::memory_order_relaxed)->getAllocationBin(objectSize)->processEmptyBlock(this, /*po… in freeOwnObject()
1437 uint32_t index = getIndex( objectSize ); in freePublicObject()
1446 … STAT_increment(ownerTid.load(std::memory_order_relaxed), getIndex(objectSize), freeByOtherThread); in freePublicObject()
1475 MALLOC_ASSERT( allocatedCount <= (slabSize-sizeof(Block))/objectSize, ASSERT_TEXT ); in privatizePublicFreeList()
1482 MALLOC_ASSERT( allocatedCount < (slabSize-sizeof(Block))/objectSize, ASSERT_TEXT ); in privatizePublicFreeList()
1487 STAT_increment(getThreadId(), getIndex(objectSize), allocPrivatized); in privatizePublicFreeList()
1584 objectSize = objSz; in initEmptyBlock()
1587 bumpPtr = (FreeObject *)((uintptr_t)this + slabSize - objectSize); in initEmptyBlock()
1593 … this, tlsPtr.load(std::memory_order_relaxed) ? getThreadId() : -1, objectSize, bumpPtr )); in initEmptyBlock()
1717 STAT_increment(getThreadId(), getIndex(objectSize), freeBlockBack); in reset()
1723 objectSize = 0; in reset()
1757 if (objectSize <= maxSegregatedObjectSize) in findObjectToFree()
1863 block->objectSize = startupAllocObjSizeMark; in getBlock()
1909 MALLOC_ASSERT(startupAllocObjSizeMark==objectSize in free()
2115 MALLOC_ASSERT( allocatedCount < (slabSize-sizeof(Block))/objectSize, ASSERT_TEXT ); in allocateFromFreeList()
2117 STAT_increment(getThreadId(), getIndex(objectSize), allocFreeListUsed); in allocateFromFreeList()
2126 bumpPtr = (FreeObject *) ((uintptr_t) bumpPtr - objectSize); in allocateFromBumpPtr()
2130 MALLOC_ASSERT( allocatedCount < (slabSize-sizeof(Block))/objectSize, ASSERT_TEXT ); in allocateFromBumpPtr()
2132 STAT_increment(getThreadId(), getIndex(objectSize), allocBumpPtrUsed); in allocateFromBumpPtr()
2331 lmb->objectSize = size; in getFromLLOCache()
2418 lmb->objectSize = newSize; in reallocAligned()
2425 copySize = lmb->objectSize; in reallocAligned()
2458 return 0 == ((uintptr_t)this + slabSize - (uintptr_t)object) % objectSize; in isProperlyPlaced()
2469 offset %= objectSize; in findAllocatedObject()
2471 return (FreeObject*)((uintptr_t)address - (offset? objectSize-offset: 0)); in findAllocatedObject()
2677 return lmb->objectSize; in internalMsize()