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.h180 roundUp(NumElements * sizeof(uptr), getPageSizeCached()); in getDynamicBuffer()
247 roundUp(NumCounters, static_cast<uptr>(1U) << PackingRatioLog) >> in reset()
430 PagesCount = roundUp(ReleaseSize, PageSize) / PageSize; in BlockSize()
495 FromInRegion = roundUp(FromInRegion + 1, PageSize); in markRangeAsAllCounted()
561 const uptr RoundedRegionSize = roundUp(RegionSize, PageSize); in markFreeBlocksInRegion()
H A Dwrappers_c_checks.h67 return roundUp(Size, PageSize) < Size; in checkForPvallocOverflow()
H A Dsecondary.h571 const uptr MinNeededSizeForCache = roundUp(Size + getHeadersSize(), PageSize); in allocate()
603 roundUp(roundUp(Size, Alignment) + getHeadersSize(), PageSize); in allocate()
627 CommitBase = roundUp(MapBase + PageSize + 1, Alignment) - PageSize; in allocate()
637 CommitBase + PageSize + roundUp(Size, PageSize) + PageSize; in allocate()
H A Dcombined.h349 roundUp(Size, MinAlignment) +
397 const uptr UserPtr = roundUp(UnalignedUserPtr, Alignment);
456 const uptr NextPage = roundUp(TaggedUserPtr, getPageSizeCached());
469 Min(Size, roundUp(PrevEnd - TaggedUserPtr,
1230 uptr RoundOldPtr = roundUp(OldPtr, archMemoryTagGranuleSize()); in resizeTaggedChunk()
1235 RoundNewPtr = roundUp(NewPtr, archMemoryTagGranuleSize()); in resizeTaggedChunk()
1497 roundUp(ringBufferSizeInBytes(AllocationRingBufferSize), in mapAndInitializeRingBuffer()
H A Dvector.h94 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.h33 inline constexpr uptr roundUp(uptr X, uptr Boundary) { in roundUp() function
H A Dwrappers_c.inc176 SCUDO_ALLOCATOR.allocate(size ? scudo::roundUp(size, PageSize) : PageSize,
178 reportAllocation(Ptr, scudo::roundUp(size, PageSize));
H A Dprimary64.h71 ? roundUp(sizeof(TransferBatchT), 1U << CompactPtrScale) in getSizeByClassId()
993 roundUp(TotalUserBytes - MappedUser, MapSizeIncrement); in populateFreeListAndPopBatch()
1127 roundUp(Region->MemMapInfo.AllocatedUser, PageSize) / PageSize; in getRegionFragmentationInfo()
H A Dprimary32.h448 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.cpp3298 bool roundUp; in convertNormalToHexString() local
3303 roundUp = false; in convertNormalToHexString()
3330 roundUp = roundAwayFromZero(rounding_mode, fraction, bits); in convertNormalToHexString()
3363 if (roundUp) { in convertNormalToHexString()
/freebsd/contrib/sqlite3/
H A Dsqlite3.c162307 int roundUp, /* Round up if true. Round down if false */
162475 if( roundUp ){