Home
last modified time | relevance | path

Searched refs:kPageSize (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_sync.cpp116 const uptr kPageSize = GetPageSizeCached() * kMetaRatio; in ResetRange() local
117 if (sz <= 4 * kPageSize) { in ResetRange()
123 uptr diff = RoundUp(p, kPageSize) - p; in ResetRange()
129 diff = p + sz - RoundDown(p + sz, kPageSize); in ResetRange()
136 CHECK_EQ(p, RoundUp(p, kPageSize)); in ResetRange()
137 CHECK_EQ(sz, RoundUp(sz, kPageSize)); in ResetRange()
141 for (uptr checked = 0; sz > 0; checked += kPageSize) { in ResetRange()
142 bool has_something = FreeRange(proc, p, kPageSize, reset); in ResetRange()
143 p += kPageSize; in ResetRange()
144 sz -= kPageSize; in ResetRange()
[all …]
H A Dtsan_mman.cpp40 const uptr kPageSize = GetPageSizeCached() * kMetaRatio; in OnUnmap() local
43 CHECK_GE(size, 2 * kPageSize); in OnUnmap()
44 uptr diff = RoundUp(p, kPageSize) - p; in OnUnmap()
49 diff = p + size - RoundDown(p + size, kPageSize); in OnUnmap()
H A Dtsan_rtl_access.cpp567 const uptr kPageSize = GetPageSizeCached(); in MemoryRangeSet() local
571 reinterpret_cast<uptr>(begin) + kPageSize / 2, kPageSize))); in MemoryRangeSet()
574 RawShadow* mid2 = RoundDown(end, kPageSize); in MemoryRangeSet()
H A Dtsan_rtl.cpp589 const uptr kPageSize = GetPageSizeCached(); in MapShadow() local
590 uptr shadow_begin = RoundDownTo((uptr)MemToShadow(addr), kPageSize); in MapShadow()
591 uptr shadow_end = RoundUpTo((uptr)MemToShadow(addr + size), kPageSize); in MapShadow()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stacktrace_sparc.cpp32 const uptr kPageSize = GetPageSizeCached(); in UnwindFast() local
67 if (pc1 < kPageSize) in UnwindFast()
H A Dsanitizer_unwind_linux_libcdep.cpp82 const uptr kPageSize = GetPageSizeCached(); in Unwind_Trace() local
86 if (pc < kPageSize) return UNWIND_STOP; in Unwind_Trace()
H A Dsanitizer_stacktrace.cpp101 const uptr kPageSize = GetPageSizeCached(); in UnwindFast() local
133 if (pc1 < kPageSize) in UnwindFast()