Lines Matching refs:toRet
1140 FreeBlock *toRet = doCoalesc(list, &memRegion); in coalescAndPutList() local
1141 if (!toRet) in coalescAndPutList()
1144 if (memRegion && memRegion->blockSz == toRet->sizeTmp in coalescAndPutList()
1148 if (toRet->blockInBin) in coalescAndPutList()
1149 removeBlockFromBin(toRet); in coalescAndPutList()
1156 size_t currSz = toRet->sizeTmp; in coalescAndPutList()
1158 bool toAligned = extMemPool->fixedPool ? toAlignedBin(toRet, currSz) : toRet->slabAligned; in coalescAndPutList()
1161 if (toRet->blockInBin) { in coalescAndPutList()
1163 if (toRet->myBin == bin && toRet->slabAligned == toAligned) in coalescAndPutList()
1166 toRet->blockInBin = false; in coalescAndPutList()
1167 removeBlockFromBin(toRet); in coalescAndPutList()
1173 toRet->prev = toRet->next = toRet->nextToFree = nullptr; in coalescAndPutList()
1174 toRet->myBin = NO_BIN; in coalescAndPutList()
1175 toRet->slabAligned = toAligned; in coalescAndPutList()
1180 toRet->sizeTmp = currSz; in coalescAndPutList()
1181 … IndexedBins *target = toRet->slabAligned ? &freeSlabAlignedBins : &freeLargeBlockBins; in coalescAndPutList()
1183 target->addBlock(bin, toRet, toRet->sizeTmp, addToTail); in coalescAndPutList()
1184 } else if (!target->tryAddBlock(bin, toRet, addToTail)) { in coalescAndPutList()
1185 coalescQ.putBlock(toRet); in coalescAndPutList()
1189 toRet->sizeTmp = 0; in coalescAndPutList()
1196 toRet->setMeFree(currSz); in coalescAndPutList()
1197 toRet->rightNeig(currSz)->setLeftFree(currSz); in coalescAndPutList()