Home
last modified time | relevance | path

Searched refs:roundUp (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Drelease.h188 roundUp(NumElements * sizeof(uptr), getPageSizeCached()); in getDynamicBuffer()
255 roundUp(NumCounters, static_cast<uptr>(1U) << PackingRatioLog) >> in reset()
439 PagesCount = roundUp(ReleaseSize, PageSize) >> PageSizeLog; in BlockSize()
504 FromInRegion = roundUp(FromInRegion + 1, PageSize); in markRangeAsAllCounted()
571 const uptr RoundedRegionSize = roundUp(RegionSize, PageSize); in markFreeBlocksInRegion()
H A Dwrappers_c_checks.h65 return roundUp(Size, PageSize) < Size; in checkForPvallocOverflow()
H A Dsecondary.h461 roundUp(Min<uptr>(MaxReleasedCacheBytes, in retrieve()
775 const uptr MinNeededSizeForCache = roundUp(Size + getHeadersSize(), PageSize); in allocate()
785 roundUp(roundUp(Size, Alignment) + getHeadersSize(), PageSize); in allocate()
810 roundUp(MapBase + getGuardPageSize() + 1, Alignment) - PageSize; in allocate()
823 CommitBase + PageSize + roundUp(Size, PageSize) + getGuardPageSize(); in allocate()
H A Dcombined.h379 roundUp(Size, MinAlignment) +
421 const uptr UserPtr = roundUp(
1190 const uptr NextPage = roundUp(TaggedUserPtr, getPageSizeCached()); in initChunkWithMemoryTagging()
1203 Min(Size, roundUp(PrevEnd - TaggedUserPtr, in initChunkWithMemoryTagging()
1392 uptr RoundOldPtr = roundUp(OldPtr, archMemoryTagGranuleSize()); in resizeTaggedChunk()
1397 RoundNewPtr = roundUp(NewPtr, archMemoryTagGranuleSize()); in resizeTaggedChunk()
1700 /*Addr=*/0U, roundUp(StackDepotSize, getPageSizeCached()), in initRingBufferMaybe()
1708 roundUp(ringBufferSizeInBytes(AllocationRingBufferSize), in initRingBufferMaybe()
H A Dvector.h98 NewCapacity = roundUp(NewCapacity * sizeof(T), getPageSizeCached()); in reallocate()
H A Dchunk.h88 return roundUp(sizeof(PackedHeader), 1U << SCUDO_MIN_ALIGNMENT_LOG); in getHeaderSize()
H A Dcommon.h37 inline constexpr uptr roundUp(uptr X, uptr Boundary) { in roundUp() function
H A Dprimary64.h70 return roundUp(HeaderSize + sizeof(CompactPtrT) * MaxNumBlocksInBatch, in getSizeOfBatchClass()
231 return roundUp(BlockSize, getPageSizeCached()); in getMinReleaseAttemptSize()
706 const uptr MapSize = roundUp(TotalUserBytes - MappedUser, MapSizeIncrement); in populateFreeListAndPopBlocks()
1206 roundUp(Region->MemMapInfo.AllocatedUser, PageSize) / PageSize; in getRegionFragmentationInfo()
1255 roundUp(Region->MemMapInfo.AllocatedUser, GroupSize) / GroupSize; in getMemoryGroupFragmentationInfoInRegion()
H A Dwrappers_c.inc176 SCUDO_ALLOCATOR.allocate(size ? scudo::roundUp(size, PageSize) : PageSize,
178 reportAllocation(Ptr, scudo::roundUp(size, PageSize));
H A Dprimary32.h567 Region = roundUp(MapBase, RegionSize); in allocateRegionSlow()
/freebsd/sys/contrib/ncsw/Peripherals/QM/
H A Dqm_portal_fqr.c1412 uint32_t maxP, roundDown, roundUp, tmpA, tmpN; in CalcWredCurve() local
1451 roundUp = roundDown + 4*pres; in CalcWredCurve()
1452 if((roundUp - maxP) > (maxP - roundDown)) in CalcWredCurve()
1455 maxP = roundUp; in CalcWredCurve()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFloat.cpp3434 bool roundUp; in convertNormalToHexString() local
3439 roundUp = false; in convertNormalToHexString()
3466 roundUp = roundAwayFromZero(rounding_mode, fraction, bits); in convertNormalToHexString()
3499 if (roundUp) { in convertNormalToHexString()
/freebsd/contrib/sqlite3/
H A Dsqlite3.c170312 int roundUp, /* Round up if true. Round down if false */ argument
170480 if( roundUp ){