Searched refs:roundDown (Results 1 – 4 of 4) sorted by relevance
45 inline constexpr uptr roundDown(uptr X, uptr Boundary) { in roundDown() function
321 roundDown(CommitBase + CommitSize - Size, Alignment); in retrieve()672 const uptr AllocPos = roundDown(CommitBase + CommitSize - Size, Alignment); in allocate()
472 FromInRegion = roundDown(FirstBlockInRange, PageSize); in markRangeAsAllCounted()
1412 uint32_t maxP, roundDown, roundUp, tmpA, tmpN; in CalcWredCurve() local1450 roundDown = maxP + (maxP % (4*pres)); in CalcWredCurve()1451 roundUp = roundDown + 4*pres; in CalcWredCurve()1452 if((roundUp - maxP) > (maxP - roundDown)) in CalcWredCurve()1453 maxP = roundDown; in CalcWredCurve()