Searched refs:totalSize (Results 1 – 2 of 2) sorted by relevance
575 const size_t totalSize = num * size; in splitBlock() local585 FreeBlock *rightPart = (FreeBlock*)((uintptr_t)newBlock + totalSize); in splitBlock()601 } else if (size_t splitSize = fBlock->sizeTmp - totalSize) { // need to split the block in splitBlock()612 splitBlock = (FreeBlock*)((uintptr_t)fBlock + totalSize); in splitBlock()1488 size_t totalSize = 0; in reportStat() local1492 totalSize += freeBins[i].reportFreeBlocks(f); in reportStat()1495 fprintf(f, "\ttotal size %lu KB", totalSize/1024); in reportStat()
569 size_t totalSize; member in rml::internal::LocalLOCImpl576 LocalLOCImpl() : tail(nullptr), head(nullptr), totalSize(0), numOfBlocks(0) {} in LocalLOCImpl()2210 totalSize = 0; in put()2215 totalSize += size; in put()2218 if (totalSize > MAX_TOTAL_SIZE || numOfBlocks >= HIGH_MARK) { in put()2220 while (totalSize > MAX_TOTAL_SIZE || numOfBlocks > LOW_MARK) { in put()2221 totalSize -= tail->unalignedSize; in put()2261 totalSize -= size; in get()