Lines Matching refs:bin

165     friend int STAT_increment(ThreadId tid, int bin, int ctr);
173 int STAT_increment(ThreadId tid, int bin, int ctr) in STAT_increment() argument
175 return ::STAT_increment(tid.id, bin, ctr); in STAT_increment()
365 void adjustPositionInBin(Bin* bin = nullptr);
589 Bin bin[numBlockBinLimit]; member in rml::internal::TLSData
625 tls->bin[i].verifyInitState(); in createTLS()
636 released |= bin[i].cleanPublicFreeLists(); in cleanupBlockBins()
639 Block *block = bin[i].getActiveBlock(); in cleanupBlockBins()
641 bin[i].outofTLSBin(block); in cleanupBlockBins()
1003 return bin + getIndex(size); in getAllocationBin()
1353 void Block::adjustPositionInBin(Bin* bin/*=nullptr*/) in adjustPositionInBin() argument
1358 if (!bin) in adjustPositionInBin()
1359 bin = tlsPtr.load(std::memory_order_relaxed)->getAllocationBin(objectSize); in adjustPositionInBin()
1360 bin->moveBlockToFront(this); in adjustPositionInBin()
1439 MALLOC_ASSERT( theBin==tls->bin+index, ASSERT_TEXT ); in freePublicObject()
1493 Bin* bin = tls->bin + index; in privatizeOrphaned() local
1502 nextPrivatizable.store((Block*)bin, std::memory_order_relaxed); in privatizeOrphaned()
1591 nextPrivatizable.store( tls? (Block*)(tls->bin + index) : nullptr, std::memory_order_relaxed); in initEmptyBlock()
1782 Block *activeBlk = bin[index].getActiveBlock(); in release()
1793 memPool->extMemPool.orphanedBlocks.put(intptr_t(bin+index), threadlessBlock); in release()
1805 memPool->extMemPool.orphanedBlocks.put(intptr_t(bin+index), threadlessBlock); in release()
1810 bin[index].resetActiveBlock(); in release()
1816 MallocMutex::scoped_lock scoped_cs(bin[index].mailLock); in release()
2552 Bin* bin; in internalPoolMalloc() local
2572 bin = tls->getAllocationBin(size); in internalPoolMalloc()
2573 if ( !bin ) return nullptr; in internalPoolMalloc()
2576 for( mallocBlock = bin->getActiveBlock(); mallocBlock; in internalPoolMalloc()
2577 mallocBlock = bin->setPreviousBlockActive() ) // the previous block should be empty enough in internalPoolMalloc()
2586 mallocBlock = bin->getPrivatizedFreeListBlock(); in internalPoolMalloc()
2601 bin->pushTLSBin(mallocBlock); in internalPoolMalloc()
2602 bin->setActiveBlock(mallocBlock); // TODO: move under the below condition? in internalPoolMalloc()
2613 bin->pushTLSBin(mallocBlock); in internalPoolMalloc()
2614 bin->setActiveBlock(mallocBlock); in internalPoolMalloc()