Lines Matching refs:res
85 void *res = nullptr; in allocRawMem() local
96 res = (*extMemPool->rawAlloc)(extMemPool->poolId, allocSize); in allocRawMem()
107 res = getRawMemory(allocSize, PREALLOCATED_HUGE_PAGE); in allocRawMem()
109 if (!res && hugePages.isTHPAvailable) { in allocRawMem()
110 res = getRawMemory(allocSize, TRANSPARENT_HUGE_PAGE); in allocRawMem()
114 if (!res) { in allocRawMem()
115 res = getRawMemory(allocSize, REGULAR); in allocRawMem()
119 if (res) { in allocRawMem()
123 usedAddrRange.registerAlloc((uintptr_t)res, (uintptr_t)res+size); in allocRawMem()
131 return res; in allocRawMem()
1417 bool res = false; in clean() local
1423 res |= freeSlabAlignedBins.tryReleaseRegions(i, this); in clean()
1425 res |= freeLargeBlockBins.tryReleaseRegions(i, this); in clean()
1428 return res; in clean()