Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.h70 void *MmapOrDie(uptr size, const char *mem_type);
100 ptr_ = (T*)MmapOrDie(cnt * sizeof(T), "InternalScopedBuffer"); in InternalScopedBuffer()
441 data_ = (T *)MmapOrDie(capacity_ * sizeof(T), "InternalMmapVectorNoCtor"); in Initialize()
490 T *new_data = (T *)MmapOrDie(new_capacity * sizeof(T), in Resize()
Dsanitizer_persistent_allocator.h58 uptr mem = (uptr)MmapOrDie(allocsz, "stack depot"); in alloc()
Dsanitizer_procmaps_freebsd.cc41 void *VmMap = MmapOrDie(MmapedSize, "ReadProcMaps()"); in ReadProcMaps()
Dsanitizer_deadlock_detector2.cc119 void *mem = MmapOrDie(sizeof(DD), "deadlock detector"); in Create()
130 DDPhysicalThread *pt = (DDPhysicalThread*)MmapOrDie(sizeof(DDPhysicalThread), in CreatePhysicalThread()
184 mutex[id_gen / kL2Size] = (Mutex*)MmapOrDie(kL2Size * sizeof(Mutex), in allocateId()
Dsanitizer_win.cc84 void *MmapOrDie(uptr size, const char *mem_type) { in MmapOrDie() function
125 return MmapOrDie(size, mem_type); in MmapNoReserveOrDie()
336 hmodules = (HMODULE *)MmapOrDie(modules_buffer_size, __FUNCTION__); in GetListOfModules()
Dsanitizer_common.cc149 *buff = (char*)MmapOrDie(size, __func__); in ReadFileToBuffer()
192 uptr map_res = (uptr)MmapOrDie(map_size, mem_type); in MmapAlignedOrDie()
Dsanitizer_posix.cc114 void *MmapOrDie(uptr size, const char *mem_type) { in MmapOrDie() function
307 char *filename = (char*)MmapOrDie(kBufSize, __func__); in DumpProcessMap()
Dsanitizer_allocator.cc119 (char*)MmapOrDie(size_to_allocate, __func__); in Allocate()
Dsanitizer_tls_get_addr.cc58 (DTLS::DTV *)MmapOrDie(new_size * sizeof(DTLS::DTV), "DTLS_Resize"); in DTLS_Resize()
Dsanitizer_posix_libcdep.cc142 void* base = MmapOrDie(kAltStackSize, __func__); in SetAlternateSignalStack()
Dsanitizer_deadlock_detector1.cc64 void *mem = MmapOrDie(sizeof(DD), "deadlock detector"); in Create()
Dsanitizer_printf.cc250 buffer = (char*)MmapOrDie(kLen, "Report"); in SharedPrintfCode()
Dsanitizer_thread_registry.cc102 threads_ = (ThreadContextBase **)MmapOrDie(max_threads_ * sizeof(threads_[0]), in ThreadRegistry()
Dsanitizer_stoptheworld_linux_libcdep.cc311 guard_start_ = (uptr)MmapOrDie(stack_size_ + guard_size_, in ScopedStackSpaceWithGuard()
Dsanitizer_addrhashmap.h151 table_ = (Bucket*)MmapOrDie(kSize * sizeof(table_[0]), "AddrHashMap"); in AddrHashMap()
Dsanitizer_allocator.h651 res = (u8*)MmapOrDie(kSize2, "TwoLevelByteMap"); in GetOrCreate()
703 void *res = MmapOrDie(size, "SizeClassAllocator32"); in MapWithCallback()
1028 MmapOrDie(map_size, "LargeMmapAllocator")); in Allocate()
Dsanitizer_linux.cc410 *arr = (char **)MmapOrDie(arr_size * sizeof(char *), "NullSepFileArray"); in ReadNullSepFileToArray()
/external/compiler-rt/lib/msan/
Dmsan_thread.cc14 MsanThread *thread = (MsanThread*)MmapOrDie(size, __func__); in Create()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_dense_alloc.h107 T *batch = (T*)MmapOrDie(kL2Size * sizeof(T), "DenseSlabAllocator"); in Refill()
Dtsan_interceptors.cc206 ctx = (ThreadSignalContext*)MmapOrDie(sizeof(*ctx), "ThreadSignalContext"); in SigCtx()
/external/compiler-rt/lib/lsan/
Dlsan_thread.cc30 void *mem = MmapOrDie(sizeof(ThreadContext), "ThreadContext"); in CreateThreadContext()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stacktrace_test.cc47 mapping = MmapOrDie(2 * ps, "FastUnwindTest"); in SetUp()
/external/compiler-rt/lib/asan/
Dasan_fake_stack.cc50 : MmapOrDie(size, "FakeStack")); in Create()
Dasan_thread.cc88 AsanThread *thread = (AsanThread*)MmapOrDie(size, __func__); in Create()
Dasan_report.cc1047 (char*)MmapOrDie(error_message_buffer_size, __func__); in __asan_set_error_report_callback()