Lines Matching refs:next
272 MemoryPool *next, member in rml::internal::MemoryPool
328 Block *next; member in rml::internal::LocalBlockFields
666 tls->next = head; in registerThread()
670 MALLOC_ASSERT(head->next!=head, ASSERT_TEXT); in registerThread()
678 head = tls->next; in unregisterThread()
679 if (tls->next) in unregisterThread()
680 tls->next->prev = tls->prev; in unregisterThread()
682 tls->prev->next = tls->next; in unregisterThread()
683 MALLOC_ASSERT(!tls->next || tls->next->next!=tls->next, ASSERT_TEXT); in unregisterThread()
691 for (TLSRemote *curr=head; curr; curr=curr->next) in cleanup()
704 for (TLSRemote *curr=head; curr; curr=curr->next) in markUnused()
885 bootStrapObjectList = bootStrapObjectList->next; in allocate()
895 bootStrapBlock->next = bootStrapBlockUsed; in allocate()
910 ((FreeObject*)ptr)->next = bootStrapObjectList; in free()
941 block->next = top.load(std::memory_order_relaxed); in push()
952 top.store(block->next, std::memory_order_relaxed); in pop()
972 LargeMemoryBlock *next, *lmb = loHead; in releaseAll() local
975 for (; lmb; lmb = next) { in releaseAll()
976 next = lmb->gNext; in releaseAll()
1102 next = defaultMemPool->next; in init()
1103 defaultMemPool->next = this; in init()
1105 if (next) in init()
1106 next->prev = this; in init()
1141 prev->next = next; in destroy()
1142 if (next) in destroy()
1143 next->prev = prev; in destroy()
1180 for (Block* temp = activeBlk->next; temp; temp=temp->next) { in verifyTLSBin()
1184 MALLOC_ASSERT( temp->previous->next == temp, ASSERT_TEXT ); in verifyTLSBin()
1185 if (temp->next) { in verifyTLSBin()
1186 MALLOC_ASSERT( temp->next->previous == temp, ASSERT_TEXT ); in verifyTLSBin()
1193 MALLOC_ASSERT( temp->next->previous == temp, ASSERT_TEXT ); in verifyTLSBin()
1195 MALLOC_ASSERT( temp->previous->next == temp, ASSERT_TEXT ); in verifyTLSBin()
1216 MALLOC_ASSERT( block->next == nullptr, ASSERT_TEXT ); in pushTLSBin()
1222 block->next = activeBlk; in pushTLSBin()
1227 block->previous->next = block; in pushTLSBin()
1249 activeBlk = block->previous? block->previous : block->next; in outofTLSBin()
1253 MALLOC_ASSERT( block->previous->next == block, ASSERT_TEXT ); in outofTLSBin()
1254 block->previous->next = block->next; in outofTLSBin()
1256 if (block->next) { in outofTLSBin()
1257 MALLOC_ASSERT( block->next->previous == block, ASSERT_TEXT ); in outofTLSBin()
1258 block->next->previous = block->previous; in outofTLSBin()
1260 block->next = nullptr; in outofTLSBin()
1393 objectToFree->next = freeList; in freeOwnObject()
1408 objectToFree->next = localPublicFreeList; in freePublicObject()
1415 localPublicFreeList = objectToFree->next = publicFreeList; in freePublicObject()
1428 Block* next = nextPrivatizable.load(std::memory_order_acquire); in freePublicObject() local
1429 if( !isNotForUse(next) ) { in freePublicObject()
1430 MALLOC_ASSERT( next!=nullptr, ASSERT_TEXT ); in freePublicObject()
1431 Bin* theBin = (Bin*) next; in freePublicObject()
1479 while( isSolidPtr(temp->next) ){ // the list will end with either nullptr or UNUSABLE in privatizePublicFreeList()
1480 temp = temp->next; in privatizePublicFreeList()
1485 temp->next = freeList; in privatizePublicFreeList()
1495 next = nullptr; in privatizeOrphaned()
1566 next = nullptr; in cleanBlockHeader()
1629 Block* next = block->next; in cleanup() local
1642 block = next; in cleanup()
1655 Block *newHead = b->next; in getBlock()
1676 headToFree = headToFree->next; in returnBlock()
1678 headToFree = headToFree->next; in returnBlock()
1679 last->next = nullptr; in returnBlock()
1682 helper = currBl->next; in returnBlock()
1690 block->next = localHead; in returnBlock()
1700 helper = currBl->next; in externalCleanup()
1800 Block *threadBlock = threadlessBlock->next; in release()
1886 newBlock->next = (Block*)firstStartupBlock; in allocate()
1916 firstStartupBlock = (StartupBlock*)firstStartupBlock->next; in free()
1918 previous->next = next; in free()
1919 if (next) in free()
1920 next->previous = previous; in free()
1931 blockToRelease->previous = blockToRelease->next = nullptr; in free()
2114 freeList = result->next; in allocateFromFreeList()
2205 object->next = localHead; in put()
2225 LargeMemoryBlock *headToRelease = tail->next; in put()
2226 tail->next = nullptr; in put()
2250 for (LargeMemoryBlock *curr = localHead; curr; curr=curr->next) { in get()
2253 if (curr->next) in get()
2254 curr->next->prev = curr->prev; in get()
2258 curr->prev->next = curr->next; in get()
2260 localHead = curr->next; in get()
2877 for (MemoryPool *memPool = defaultMemPool->next; memPool; memPool = memPool->next) in doThreadShutdownNotification()