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());
247 roundUp(NumCounters, static_cast<uptr>(1U) << PackingRatioLog) >> in get()
430 PagesCount = roundUp(ReleaseSize, PageSize) / PageSize; in ensurePageMapAllocated()
495 FromInRegion = roundUp(FromInRegion + 1, PageSize); in markRangeAsAllCounted()
561 const uptr RoundedRegionSize = roundUp(RegionSize, PageSize); in markFreeBlocksInRegion()
H A Dwrappers_c_checks.h65 return roundUp(Size, PageSize) < Size; in checkForPvallocOverflow()
H A Dsecondary.h597 const uptr MinNeededSizeForCache = roundUp(Size + getHeadersSize(), PageSize); in allocate()
629 roundUp(roundUp(Size, Alignment) + getHeadersSize(), PageSize); in allocate()
653 CommitBase = roundUp(MapBase + PageSize + 1, Alignment) - PageSize; in allocate()
663 CommitBase + PageSize + roundUp(Size, PageSize) + PageSize; in allocate()
H A Dcombined.h371 roundUp(Size, MinAlignment) +
413 const uptr UserPtr = roundUp(
1179 const uptr NextPage = roundUp(TaggedUserPtr, getPageSizeCached()); in initChunkWithMemoryTagging()
1192 Min(Size, roundUp(PrevEnd - TaggedUserPtr, in initChunkWithMemoryTagging()
1373 uptr RoundOldPtr = roundUp(OldPtr, archMemoryTagGranuleSize()); in resizeTaggedChunk()
1378 RoundNewPtr = roundUp(NewPtr, archMemoryTagGranuleSize()); in resizeTaggedChunk()
1681 /*Addr=*/0U, roundUp(StackDepotSize, getPageSizeCached()), in initRingBufferMaybe()
1689 roundUp(ringBufferSizeInBytes(AllocationRingBufferSize), in initRingBufferMaybe()
H A Dvector.h99 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 Dwrappers_c.inc176 SCUDO_ALLOCATOR.allocate(size ? scudo::roundUp(size, PageSize) : PageSize,
178 reportAllocation(Ptr, scudo::roundUp(size, PageSize));
H A Dprimary64.h69 ? roundUp(sizeof(TransferBatchT), 1U << CompactPtrScale) in getSizeByClassId()
1045 roundUp(TotalUserBytes - MappedUser, MapSizeIncrement); in populateFreeListAndPopBlocks()
1180 roundUp(Region->MemMapInfo.AllocatedUser, PageSize) / PageSize; in getRegionFragmentationInfo()
H A Dprimary32.h434 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.cpp3329 bool roundUp; in convertNormalToHexString() local
3334 roundUp = false; in convertNormalToHexString()
3361 roundUp = roundAwayFromZero(rounding_mode, fraction, bits); in convertNormalToHexString()
3394 if (roundUp) { in convertNormalToHexString()
/freebsd/contrib/sqlite3/
H A Dsqlite3.c163707 int roundUp, /* Round up if true. Round down if false */
163875 if( roundUp ){