Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_bsd.cc77 void *VmMap = MmapOrDie(MmapedSize, "ReadProcMaps()"); in ReadProcMaps()
86 char *Mem = (char *)MmapOrDie(MmapedSize, "ReadProcMaps()"); in ReadProcMaps()
H A Dsanitizer_rtems.cc148 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() function
185 return MmapOrDie(size, mem_type, false); in MmapNoReserveOrDie()
H A Dsanitizer_persistent_allocator.h59 uptr mem = (uptr)MmapOrDie(allocsz, "stack depot"); in alloc()
H A Dsanitizer_deadlock_detector2.cc119 void *mem = MmapOrDie(sizeof(DD), "deadlock detector"); in Create()
126 DDPhysicalThread *pt = (DDPhysicalThread*)MmapOrDie(sizeof(DDPhysicalThread), in CreatePhysicalThread()
180 mutex[id_gen / kL2Size] = (Mutex*)MmapOrDie(kL2Size * sizeof(Mutex), in allocateId()
H A Dsanitizer_flags.cc85 char *buf = (char *)MmapOrDie(kMaxPathLength, "FlagHandlerInclude"); in Parse()
H A Dsanitizer_posix.cc45 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() function
252 char *filename = (char*)MmapOrDie(kBufSize, __func__); in DumpProcessMap()
H A Dsanitizer_allocator_bytemap.h96 res = (u8*)MmapOrDie(kSize2, "TwoLevelByteMap"); in GetOrCreate()
H A Dsanitizer_tls_get_addr.cc58 (DTLS::DTV *)MmapOrDie(new_size * sizeof(DTLS::DTV), "DTLS_Resize"); in DTLS_Resize()
H A Dsanitizer_ring_buffer.h27 void *Ptr = MmapOrDie(SizeInBytes(Size), "RingBuffer"); in New()
H A Dsanitizer_common.h94 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report = false);
96 return MmapOrDie(size, mem_type, /*raw_report*/ true); in MmapOrDieQuietly()
526 T *new_data = (T *)MmapOrDie(new_capacity_bytes, "InternalMmapVector"); in Realloc()
H A Dsanitizer_win.cc111 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() function
278 return MmapOrDie(size, mem_type); in MmapNoReserveOrDie()
584 hmodules = (HMODULE *)MmapOrDie(modules_buffer_size, __FUNCTION__); in init()
H A Dsanitizer_file.cc109 *buff = (char*)MmapOrDie(size, __func__); in ReadFileToBuffer()
H A Dsanitizer_fuchsia.cc194 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() function
199 return MmapOrDie(size, mem_type); in MmapNoReserveOrDie()
H A Dsanitizer_allocator.cc207 (char*)MmapOrDie(size_to_allocate, __func__); in Allocate()
H A Dsanitizer_deadlock_detector1.cc64 void *mem = MmapOrDie(sizeof(DD), "deadlock detector"); in Create()
/freebsd-12.1/contrib/compiler-rt/lib/esan/
H A Desan_circular_buffer.h40 Data = (T *)MmapOrDie(Capacity * sizeof(T), "CircularBuffer"); in initialize()
H A Desan_sideline_linux.cpp117 Stack = static_cast<char*>(MmapOrDie(SidelineStackSize, "SidelineStack")); in launchThread()
/freebsd-12.1/contrib/compiler-rt/lib/msan/
H A Dmsan_thread.cc14 MsanThread *thread = (MsanThread*)MmapOrDie(size, __func__); in Create()
/freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/
H A Dtsan_platform_linux.cc386 thr = reinterpret_cast<ThreadState*>(MmapOrDie(sizeof(ThreadState), in cur_thread()
391 MmapOrDie(sizeof(ThreadState), "ThreadState")); in cur_thread()
H A Dtsan_dense_alloc.h112 T *batch = (T*)MmapOrDie(kL2Size * sizeof(T), name_); in Refill()
/freebsd-12.1/contrib/compiler-rt/lib/scudo/
H A Dscudo_tsd_shared.cpp40 MmapOrDie(sizeof(ScudoTSD) * NumberOfTSDs, "ScudoTSDs")); in initOnce()
/freebsd-12.1/contrib/compiler-rt/lib/lsan/
H A Dlsan_thread.cc29 void *mem = MmapOrDie(sizeof(ThreadContext), "ThreadContext"); in CreateThreadContext()
/freebsd-12.1/contrib/compiler-rt/lib/asan/
H A Dasan_fuchsia.cc96 AsanThread *thread = (AsanThread *)MmapOrDie(AsanThreadMmapSize(), __func__); in CreateAsanThread()
H A Dasan_rtems.cc105 AsanThread *thread = (AsanThread *)MmapOrDie(sizeof(AsanThread), __func__); in CreateAsanThread()
/freebsd-12.1/contrib/compiler-rt/lib/safestack/
H A Dsafestack.cc103 void *addr = MmapOrDie(size + guard, "unsafe_stack_alloc"); in unsafe_stack_alloc()

12