Home
last modified time | relevance | path

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

12

/external/compiler-rt/lib/lsan/
Dlsan_interceptors.cc111 size = GetPageSizeCached(); in INTERCEPTOR()
112 return Allocate(stack, size, GetPageSizeCached(), kAlwaysClearMemory); in INTERCEPTOR()
137 uptr PageSize = GetPageSizeCached(); in INTERCEPTOR()
143 return Allocate(stack, size, GetPageSizeCached(), kAlwaysClearMemory); in INTERCEPTOR()
/external/compiler-rt/lib/asan/
Dasan_rtl.cc89 CHECK_EQ((beg % GetPageSizeCached()), 0); in ReserveShadowMemoryRange()
90 CHECK_EQ(((end + 1) % GetPageSizeCached()), 0); in ReserveShadowMemoryRange()
323 kHighMemEnd |= SHADOW_GRANULARITY * GetPageSizeCached() - 1; in InitializeHighMemEnd()
325 CHECK_EQ((kHighMemBeg % GetPageSizeCached()), 0); in InitializeHighMemEnd()
338 uptr step = GetPageSizeCached(); in ProtectGap()
586 uptr PageSize = GetPageSizeCached(); in __asan_handle_no_return()
Dasan_malloc_mac.cc43 void *p = asan_memalign(GetPageSizeCached(), size, &stack, FROM_MALLOC);
Dasan_poisoning.h54 uptr page_size = GetPageSizeCached(); in FastPoisonShadow()
Dasan_thread.cc86 uptr PageSize = GetPageSizeCached(); in Create()
118 uptr size = RoundUpTo(sizeof(AsanThread), GetPageSizeCached()); in Destroy()
Dasan_allocator.cc623 for (uptr l = 1; l < GetPageSizeCached(); l++) { in FindHeapChunkByAddress()
736 return instance.Allocate(size, GetPageSizeCached(), stack, FROM_MALLOC, true); in asan_valloc()
740 uptr PageSize = GetPageSizeCached(); in asan_pvalloc()
/external/compiler-rt/lib/msan/
Dmsan_thread.cc12 uptr PageSize = GetPageSizeCached(); in Create()
62 uptr size = RoundUpTo(sizeof(MsanThread), GetPageSizeCached()); in Destroy()
Dmsan_linux.cc62 uptr gap = 16 * GetPageSizeCached(); in ProtectMemoryRange()
Dmsan_poisoning.cc123 uptr PageSize = GetPageSizeCached(); in SetShadow()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_posix.cc116 size = RoundUpTo(size, GetPageSizeCached()); in MmapOrDie()
139 uptr PageSize = GetPageSizeCached(); in MmapNoReserveOrDie()
153 uptr PageSize = GetPageSizeCached(); in MmapFixedOrDie()
222 *buff_size = RoundUpTo(fsize, GetPageSizeCached()); in MapFileToMemory()
Dsanitizer_stacktrace_libcdep.cc27 InternalScopedString frame_desc(GetPageSizeCached() * 2); in Print()
Dsanitizer_posix_libcdep.cc198 uptr page_size = GetPageSizeCached(); in IsAccessibleMemoryRange()
259 uptr PageSize = GetPageSizeCached(); in MmapFixedNoReserve()
Dsanitizer_allocator.cc118 uptr size_to_allocate = Max(size, GetPageSizeCached()); in Allocate()
Dsanitizer_common.cc28 uptr GetPageSizeCached() { in GetPageSizeCached() function
188 uptr PageSize = GetPageSizeCached(); in ReadFileToBuffer()
Dsanitizer_flag_parser.cc137 Max(kMaxIncludeSize, GetPageSizeCached()), &err)) { in ParseFile()
Dsanitizer_stoptheworld_linux_libcdep.cc308 guard_size_ = GetPageSizeCached(); in ScopedStackSpaceWithGuard()
Dsanitizer_linux_libcdep.cc512 return rss * GetPageSizeCached(); in GetRSS()
Dsanitizer_allocator.h470 GetPageSizeCached()); in AdditionalSize()
703 size = RoundUpTo(size, GetPageSizeCached()); in MapWithCallback()
1015 page_size_ = GetPageSizeCached(); in InitLinkerInitialized()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_testlib.cc131 size = GetPageSizeCached(); in valloc()
132 void *p = allocator.Allocate(&cache, size, GetPageSizeCached()); in valloc()
Dsanitizer_libc_test.cc221 uptr page_size = GetPageSizeCached(); in TEST()
Dsanitizer_common_test.cc74 uptr PageSize = GetPageSizeCached(); in TEST()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_malloc_mac.cc49 void *p = user_alloc(thr, pc, size, GetPageSizeCached())
Dtsan_mman.cc45 const uptr kPageSize = GetPageSizeCached() * kMetaRatio; in OnUnmap()
Dtsan_platform_linux.cc170 uptr page = internal_mmap(0, GetPageSizeCached(), PROT_READ | PROT_WRITE, in MapRodata()
Dtsan_sync.cc124 const uptr kPageSize = GetPageSizeCached() * kMetaRatio; in ResetRange()

12