Lines Matching refs:size_t
128 static const size_t freeBinsStep = LargeObjectCache::LargeBSProps::CacheStep;
158 size_t countFreeBlocks();
159 size_t reportFreeBlocks(FILE *f);
169 FreeBlock *getFromBin(int binIdx, BackendSync *sync, size_t size,
172 FreeBlock *findBlock(int nativeBin, BackendSync *sync, size_t size,
176 void addBlock(int binIdx, FreeBlock *fBlock, size_t blockSz, bool addToTail);
197 inline bool operator()(size_t oldMaxReq, size_t requestSize) const;
244 std::atomic<size_t> totalMemSize;
245 std::atomic<size_t> memSoftLimit;
260 std::atomic<size_t> maxRequestedSize;
275 void coalescAndPut(FreeBlock *fBlock, size_t blockSz, bool slabAligned);
286 FreeBlock *genericGetBlock(int num, size_t size, bool slabAligned);
287 void genericPutBlock(FreeBlock *fBlock, size_t blockSz, bool slabAligned);
290 …FreeBlock *splitBlock(FreeBlock *fBlock, int num, size_t size, bool isAligned, bool needAlignedBlo…
299 FreeBlock *askMemFromOS(size_t totalReqSize, intptr_t startModifiedCnt,
304 FreeBlock *addNewRegion(size_t size, MemRegionType type, bool addToBin);
308 FreeBlock *findBlockInRegion(MemRegion *region, size_t exactBlockSize);
312 void *allocRawMem(size_t &size);
313 bool freeRawMem(void *object, size_t size);
323 static int sizeToBin(size_t size) { in sizeToBin()
334 static bool toAlignedBin(FreeBlock *block, size_t size) { in toAlignedBin()
352 LargeMemoryBlock *getLargeBlock(size_t size);
357 void *getBackRefSpace(size_t size, bool *rawMemUsed);
358 void putBackRefSpace(void *b, size_t size, bool rawMemUsed);
361 void *remap(void *ptr, size_t oldSize, size_t newSize, size_t alignment);
369 void setRecommendedMaxSize(size_t softLimit) { in setRecommendedMaxSize()
375 size_t getMaxBinnedSize() const;
379 size_t getTotalMemSize() const { return totalMemSize.load(std::memory_order_relaxed); } in getTotalMemSize()
384 static size_t binToSize(int bin) { in binToSize()