Home
last modified time | relevance | path

Searched refs:RegionSize (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dprimary32.h146 static const uptr RegionSize = 1UL << Config::getRegionSizeLog(); variable
272 RegionSize); in unmapTestOnly()
290 unmap(reinterpret_cast<void *>(I * RegionSize), RegionSize); in unmapTestOnly()
445 const uptr From = I * RegionSize; in iterateOverBlocks()
446 const uptr To = From + (RegionSize / BlockSize) * BlockSize; in iterateOverBlocks()
553 uptr MapSize = 2 * RegionSize; in allocateRegionSlow()
560 if (isAligned(Region, RegionSize)) { in allocateRegionSlow()
563 RegionsStash[NumberOfStashedRegions++] = MapBase + RegionSize; in allocateRegionSlow()
565 MapSize = RegionSize; in allocateRegionSlow()
567 Region = roundUp(MapBase, RegionSize); in allocateRegionSlow()
[all …]
H A Drelease.h461 const uptr RegionIndex, const uptr RegionSize) { in markRangeAsAllCounted()
464 DCHECK_LE(To, Base + RegionSize); in markRangeAsAllCounted()
466 DCHECK_LE(To - From, RegionSize); in markRangeAsAllCounted()
516 if (LastBlockInRange + BlockSize != RegionSize) { in markRangeAsAllCounted()
535 ToInRegion = RegionSize; in markRangeAsAllCounted()
551 const uptr RegionIndex, const uptr RegionSize, in markFreeBlocksInRegion()
559 ((RegionSize / BlockSize) - 1U) * BlockSize; in markFreeBlocksInRegion()
571 const uptr RoundedRegionSize = roundUp(RegionSize, PageSize); in markFreeBlocksInRegion()
599 DCHECK_LT(PInRegion, RegionSize); in markFreeBlocksInRegion()
605 DCHECK_GE(RegionSize, BlockSize); in markFreeBlocksInRegion()
H A Dprimary64.h143 static const uptr RegionSize = 1UL << RegionSizeLog;
350 CHECK(ReservedMemory.create(/*Addr=*/0U, RegionSize * NumClasses, in init()
356 PrimaryBase + (I << RegionSizeLog), RegionSize); in init()
683 if (UNLIKELY(!ReservedMemory.create(/*Addr=*/0U, RegionSize, in populateFreeListAndPopBlocks()
708 if (UNLIKELY(RegionBase + MappedUser + MapSize > RegionSize)) { in populateFreeListAndPopBlocks()
1238 constexpr uptr MaxNumGroups = RegionSize / GroupSize; in getMemoryGroupFragmentationInfoInRegion()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCastSizeChecker.cpp50 static bool evenFlexibleArraySize(ASTContext &Ctx, CharUnits RegionSize, in evenFlexibleArraySize() argument
84 CharUnits Left = RegionSize - TypeSize; in evenFlexibleArraySize()
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/
H A Denable_execute_stack.c47 VirtualProtect(mbi.BaseAddress, mbi.RegionSize, PAGE_EXECUTE_READWRITE, in __enable_execute_stack()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_win.cpp129 *stack_top = (uptr)mbi.BaseAddress + mbi.RegionSize; in GetThreadStackTopAndBottom()
430 if (shadow_address + size < (uptr)info.BaseAddress + info.RegionSize) in FindAvailableMemoryRange()
435 address = (uptr)info.BaseAddress + info.RegionSize; in FindAvailableMemoryRange()
450 (uptr)mbi.BaseAddress + mbi.RegionSize >= range_end; in MemoryRangeIsAvailable()
979 if (info.RegionSize == 0) in IsAccessibleMemoryRange()
982 page += info.RegionSize; in IsAccessibleMemoryRange()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMinidump.h126 support::ulittle64_t RegionSize; member
/freebsd/contrib/llvm-project/compiler-rt/lib/interception/
H A Dinterception_win.cpp410 if (info.State == MEM_FREE && info.RegionSize >= granularity) { in AllocateTrampolineRegion()
427 RoundUpTo((uptr)info.BaseAddress + info.RegionSize, granularity); in AllocateTrampolineRegion()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/minidump/
H A DMinidumpParser.cpp521 region.GetRange().SetByteSize(entry.RegionSize); in CreateRegionsCacheFromMemoryInfoList()
/freebsd/sys/dev/mps/mpi/
H A Dmpi2_ioc.h1299 U32 RegionSize; /* 0x08 */ member
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMinidumpYAML.cpp254 mapRequiredHex(IO, "Region Size", Info.RegionSize); in mapping()
/freebsd/sys/contrib/dev/acpica/include/
H A Dactbl2.h2665 UINT64 RegionSize; member
/freebsd/sys/contrib/dev/acpica/common/
H A Ddmtbinfo2.c1634 {ACPI_DMT_UINT64, ACPI_NFIT1_OFFSET (RegionSize), "Region Size", 0},
/freebsd/usr.sbin/acpi/acpidump/
H A Dacpi.c2362 printf("\tRegionSize=0x%016jx\n", (uintmax_t)mmap->RegionSize); in acpi_print_nfit()
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/
H A DPath.inc919 Size = mbi.RegionSize;