Searched refs:kPageSize (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_sync.cpp | 116 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 D | tsan_mman.cpp | 40 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 D | tsan_rtl_access.cpp | 567 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 D | tsan_rtl.cpp | 589 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 D | sanitizer_stacktrace_sparc.cpp | 32 const uptr kPageSize = GetPageSizeCached(); in UnwindFast() local 67 if (pc1 < kPageSize) in UnwindFast()
|
H A D | sanitizer_unwind_linux_libcdep.cpp | 82 const uptr kPageSize = GetPageSizeCached(); in Unwind_Trace() local 86 if (pc < kPageSize) return UNWIND_STOP; in Unwind_Trace()
|
H A D | sanitizer_stacktrace.cpp | 101 const uptr kPageSize = GetPageSizeCached(); in UnwindFast() local 133 if (pc1 < kPageSize) in UnwindFast()
|