Home
last modified time | relevance | path

Searched refs:GetPageSizeCached (Results 1 – 25 of 115) sorted by relevance

12345

/external/llvm-project/compiler-rt/lib/xray/tests/unit/
Dallocator_test.cpp47 Allocator<sizeof(OddSizedData)> A(GetPageSizeCached()); in TEST()
52 GetPageSizeCached() / RoundUpTo(sizeof(OddSizedData), kCacheLineSize); in TEST()
61 BufferQueue BQ(GetPageSizeCached(), 10, Success); in TEST()
71 GetPageSizeCached() / RoundUpTo(sizeof(OddSizedData), kCacheLineSize); in TEST()
/external/llvm-project/compiler-rt/lib/dfsan/
Ddfsan_interceptors.cpp41 dfsan_set_label(0, res, RoundUpTo(length, GetPageSizeCached())); in INTERCEPTOR()
49 dfsan_set_label(0, res, RoundUpTo(length, GetPageSizeCached())); in INTERCEPTOR()
56 dfsan_set_label(0, addr, RoundUpTo(length, GetPageSizeCached())); in INTERCEPTOR()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_stacktrace_libcdep.cpp26 InternalScopedString frame_desc(GetPageSizeCached() * 2); in Print()
27 InternalScopedString dedup_token(GetPageSizeCached()); in Print()
128 InternalScopedString frame_desc(GetPageSizeCached()); in __sanitizer_symbolize_pc()
159 InternalScopedString data_desc(GetPageSizeCached()); in __sanitizer_symbolize_global()
Dsanitizer_posix.cpp45 size = RoundUpTo(size, GetPageSizeCached()); in MmapOrDie()
67 size = RoundUpTo(size, GetPageSizeCached()); in MmapOrDieOnFatalError()
104 size = RoundUpTo(size, GetPageSizeCached()); in MmapNoReserveOrDie()
116 size = RoundUpTo(size, GetPageSizeCached()); in MmapFixedImpl()
117 fixed_addr = RoundDownTo(fixed_addr, GetPageSizeCached()); in MmapFixedImpl()
198 *buff_size = RoundUpTo(fsize, GetPageSizeCached()); in MapFileToMemory()
Dsanitizer_posix_libcdep.cpp59 uptr page_size = GetPageSizeCached(); in ReleaseMemoryPagesToOS()
235 bool IsStackAccess = addr + GetPageSizeCached() > sp && addr < sp + 0xFFFF; in IsStackOverflow()
274 uptr page_size = GetPageSizeCached(); in IsAccessibleMemoryRange()
305 size = RoundUpTo(size, GetPageSizeCached()); in MmapFixed()
306 fixed_addr = RoundDownTo(fixed_addr, GetPageSizeCached()); in MmapFixed()
Dsanitizer_symbolizer_report.cpp151 if (!common_flags()->dump_instruction_bytes || (pc < GetPageSizeCached())) in MaybeDumpInstructionBytes()
204 if (sig.pc < GetPageSizeCached()) in ReportDeadlySignalImpl()
216 else if (sig.addr < GetPageSizeCached()) in ReportDeadlySignalImpl()
Dsanitizer_file.cpp111 uptr PageSize = GetPageSizeCached(); in ReadFileToBuffer()
154 uptr PageSize = GetPageSizeCached(); in ReadFileToVector()
Dsanitizer_stacktrace_sparc.cpp32 const uptr kPageSize = GetPageSizeCached(); in UnwindFast()
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_shadow_setup.cpp25 uptr GapShadowBeg = RoundDownTo(MEM_TO_SHADOW(addr), GetPageSizeCached()); in ProtectGap()
27 RoundUpTo(MEM_TO_SHADOW(addr + size), GetPageSizeCached()) - 1; in ProtectGap()
Dmemprof_thread.cpp77 uptr PageSize = GetPageSizeCached(); in Create()
103 uptr size = RoundUpTo(sizeof(MemprofThread), GetPageSizeCached()); in Destroy()
/external/compiler-rt/lib/lsan/
Dlsan_interceptors.cc121 size = GetPageSizeCached(); in INTERCEPTOR()
122 return Allocate(stack, size, GetPageSizeCached(), kAlwaysClearMemory); in INTERCEPTOR()
147 uptr PageSize = GetPageSizeCached(); in INTERCEPTOR()
153 return Allocate(stack, size, GetPageSizeCached(), kAlwaysClearMemory); in INTERCEPTOR()
/external/llvm-project/compiler-rt/lib/xray/
Dxray_allocator.h40 uptr RoundedSize = RoundUpTo(sizeof(T), GetPageSizeCached()); in allocate()
80 uptr RoundedSize = RoundUpTo(sizeof(T), GetPageSizeCached()); in deallocate()
91 uptr RoundedSize = RoundUpTo(S * sizeof(T), GetPageSizeCached()); in allocateBuffer()
129 uptr RoundedSize = RoundUpTo(S * sizeof(T), GetPageSizeCached()); in deallocateBuffer()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_malloc_mac.cc44 return InternalAlloc(size, nullptr, GetPageSizeCached()); \
46 void *p = user_alloc(thr, pc, size, GetPageSizeCached())
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stacktrace_libcdep.cc27 InternalScopedString frame_desc(GetPageSizeCached() * 2); in Print()
28 InternalScopedString dedup_token(GetPageSizeCached()); in Print()
Dsanitizer_posix.cc126 size = RoundUpTo(size, GetPageSizeCached()); in MmapOrDie()
169 uptr PageSize = GetPageSizeCached(); in MmapNoReserveOrDie()
183 uptr PageSize = GetPageSizeCached(); in MmapFixedOrDie()
256 *buff_size = RoundUpTo(fsize, GetPageSizeCached()); in MapFileToMemory()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_shadow_setup.cpp29 uptr GapShadowBeg = RoundDownTo(MEM_TO_SHADOW(addr), GetPageSizeCached()); in ProtectGap()
31 RoundUpTo(MEM_TO_SHADOW(addr + size), GetPageSizeCached()) - 1; in ProtectGap()
/external/compiler-rt/lib/msan/
Dmsan_thread.cc12 uptr PageSize = GetPageSizeCached(); in Create()
62 uptr size = RoundUpTo(sizeof(MsanThread), GetPageSizeCached()); in Destroy()
/external/llvm-project/compiler-rt/lib/msan/
Dmsan_thread.cpp12 uptr PageSize = GetPageSizeCached(); in Create()
63 uptr size = RoundUpTo(sizeof(MsanThread), GetPageSizeCached()); in Destroy()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_testlib.cc133 size = GetPageSizeCached(); in valloc()
134 void *p = allocator.Allocate(&cache, size, GetPageSizeCached()); in valloc()
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_testlib.cpp161 size = GetPageSizeCached(); in valloc()
162 void *p = allocator.Allocate(&cache, size, GetPageSizeCached()); in valloc()
/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_errors.cpp27 GetPageSizeCached()); in reportPvallocOverflow()
/external/llvm-project/compiler-rt/lib/hwasan/
Dhwasan_poisoning.cpp28 uptr page_size = GetPageSizeCached(); in TagMemoryAligned()
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_mman.cpp47 const uptr kPageSize = GetPageSizeCached() * kMetaRatio; in OnUnmap()
298 return SetErrnoOnNull(user_alloc_internal(thr, pc, sz, GetPageSizeCached())); in user_valloc()
302 uptr PageSize = GetPageSizeCached(); in user_pvalloc()
Dtsan_platform_mac.cpp138 *res = resident_pages * GetPageSizeCached(); in RegionMemUsage()
139 *dirty = dirty_pages * GetPageSizeCached(); in RegionMemUsage()
/external/compiler-rt/lib/asan/
Dasan_malloc_mac.cc43 void *p = asan_memalign(GetPageSizeCached(), size, &stack, FROM_MALLOC);

12345