Home
last modified time | relevance | path

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

123

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_posix.cc125 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() function
155 uptr map_res = (uptr)MmapOrDie(map_size, mem_type); in MmapAlignedOrDie()
303 char *filename = (char*)MmapOrDie(kBufSize, __func__); in DumpProcessMap()
Dsanitizer_common.h83 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report = false);
85 return MmapOrDie(size, mem_type, /*raw_report*/ true); in MmapOrDieQuietly()
123 ptr_ = (T*)MmapOrDie(cnt * sizeof(T), "InternalScopedBuffer"); in InternalScopedBuffer()
503 data_ = (T *)MmapOrDie(capacity_ * sizeof(T), "InternalMmapVectorNoCtor"); in Initialize()
565 T *new_data = (T *)MmapOrDie(new_capacity * sizeof(T), in Resize()
Dsanitizer_persistent_allocator.h59 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_flags.cc98 char *buf = (char *)MmapOrDie(kMaxPathLength, "FlagHandlerInclude"); in Parse()
Dsanitizer_win.cc88 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() function
207 return MmapOrDie(size, mem_type); in MmapNoReserveOrDie()
470 hmodules = (HMODULE *)MmapOrDie(modules_buffer_size, __FUNCTION__); in init()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_persistent_allocator.h58 uptr mem = (uptr)MmapOrDie(allocsz, "stack depot"); in alloc()
Dsanitizer_rtems.cpp149 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() function
186 return MmapOrDie(size, mem_type, false); in MmapNoReserveOrDie()
Dsanitizer_procmaps_bsd.cpp66 void *VmMap = MmapOrDie(MmapedSize, "ReadProcMaps()"); in ReadProcMaps()
Dsanitizer_deadlock_detector2.cpp118 void *mem = MmapOrDie(sizeof(DD), "deadlock detector"); in Create()
125 DDPhysicalThread *pt = (DDPhysicalThread*)MmapOrDie(sizeof(DDPhysicalThread), in CreatePhysicalThread()
179 mutex[id_gen / kL2Size] = (Mutex*)MmapOrDie(kL2Size * sizeof(Mutex), in allocateId()
Dsanitizer_flags.cpp87 char *buf = (char *)MmapOrDie(kMaxPathLength, "FlagHandlerInclude"); in Parse()
Dsanitizer_allocator_bytemap.h95 res = (u8*)MmapOrDie(kSize2, "TwoLevelByteMap"); in GetOrCreate()
Dsanitizer_ring_buffer.h26 void *Ptr = MmapOrDie(SizeInBytes(Size), "RingBuffer"); in New()
/external/compiler-rt/lib/esan/
Desan_circular_buffer.h40 Data = (T *)MmapOrDie(Capacity * sizeof(T), "CircularBuffer"); in initialize()
Desan_sideline_linux.cpp115 Stack = static_cast<char*>(MmapOrDie(SidelineStackSize, "SidelineStack")); in launchThread()
/external/compiler-rt/lib/msan/
Dmsan_thread.cc14 MsanThread *thread = (MsanThread*)MmapOrDie(size, __func__); in Create()
/external/llvm-project/compiler-rt/lib/lsan/
Dlsan_thread.cpp29 void *mem = MmapOrDie(sizeof(ThreadContext), "ThreadContext"); in CreateThreadContext()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_platform_linux.cc364 thr = reinterpret_cast<ThreadState*>(MmapOrDie(sizeof(ThreadState), in cur_thread()
369 MmapOrDie(sizeof(ThreadState), "ThreadState")); in cur_thread()
Dtsan_dense_alloc.h107 T *batch = (T*)MmapOrDie(kL2Size * sizeof(T), "DenseSlabAllocator"); in Refill()
/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_tsd_shared.cpp39 MmapOrDie(sizeof(ScudoTSD) * NumberOfTSDs, "ScudoTSDs")); in initOnce()
/external/llvm-project/compiler-rt/lib/msan/
Dmsan_thread.cpp14 MsanThread *thread = (MsanThread*)MmapOrDie(size, __func__); in Create()
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_platform_linux.cpp477 thr = reinterpret_cast<ThreadState*>(MmapOrDie(sizeof(ThreadState), in cur_thread()
482 MmapOrDie(sizeof(ThreadState), "ThreadState")); in cur_thread()
Dtsan_dense_alloc.h111 T *batch = (T*)MmapOrDie(kL2Size * sizeof(T), name_); in Refill()
/external/compiler-rt/lib/safestack/
Dsafestack.cc97 void *addr = MmapOrDie(size + guard, "unsafe_stack_alloc"); in unsafe_stack_alloc()

123