Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_bsd.cpp38 InfoProc = (struct kinfo_proc *)MmapOrDie(Size, "GetMemoryProfile()"); in GetMemoryProfile()
52 InfoProc = (struct kinfo_proc2 *)MmapOrDie(Size, "GetMemoryProfile()");
85 void *VmMap = MmapOrDie(MmapedSize, "ReadProcMaps()"); in ReadProcMaps()
H A Dsanitizer_deadlock_detector2.cpp118 void *mem = MmapOrDie(sizeof(DD), "deadlock detector"); in Create()
125 DDPhysicalThread *pt = (DDPhysicalThread*)MmapOrDie(sizeof(DDPhysicalThread), in CreatePhysicalThread()
177 mutex[id_gen / kL2Size] = (MutexState *)MmapOrDie( in allocateId()
H A Dsanitizer_procmaps_solaris.cpp37 void *VmMap = MmapOrDie(MmapedSize, "ReadProcMaps()"); in ReadProcMaps()
H A Dsanitizer_flags.cpp94 char *buf = (char *)MmapOrDie(kMaxPathLength, "FlagHandlerInclude"); in Parse()
H A Dsanitizer_posix.cpp46 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() function
258 char *filename = (char*)MmapOrDie(kBufSize, __func__); in DumpProcessMap()
H A Dsanitizer_flat_map.h147 res = reinterpret_cast<T *>(MmapOrDie(MmapSize(), "TwoLevelMap")); in Create()
H A Dsanitizer_ring_buffer.h26 void *Ptr = MmapOrDie(SizeInBytes(Size), "RingBuffer"); in New()
H A Dsanitizer_tls_get_addr.cpp54 (DTLS::DTVBlock *)MmapOrDie(sizeof(DTLS::DTVBlock), "DTLS_NextBlock"); in DTLS_NextBlock()
H A Dsanitizer_allocator.cpp155 allocated_current_ = (char *)MmapOrDie(size_to_allocate, __func__); in Allocate()
H A Dsanitizer_fuchsia.cpp218 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() function
223 return MmapOrDie(size, mem_type); in MmapNoReserveOrDie()
H A Dsanitizer_win.cpp139 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() function
320 return MmapOrDie(size, mem_type); in MmapNoReserveOrDie()
660 hmodules = (HMODULE *)MmapOrDie(modules_buffer_size, __FUNCTION__); in init()
H A Dsanitizer_common.h90 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report = false);
93 return MmapOrDie(size, mem_type, /*raw_report*/ true); in MmapOrDieQuietly()
599 (T *)MmapOrDie(new_capacity_bytes, "InternalMmapVector", raw_report); in Realloc()
H A Dsanitizer_file.cpp142 *buff = (char*)MmapOrDie(size, __func__); in ReadFileToBuffer()
H A Dsanitizer_deadlock_detector1.cpp63 void *mem = MmapOrDie(sizeof(DD), "deadlock detector"); in Create()
H A Dsanitizer_stoptheworld_netbsd_libcdep.cpp240 (uptr)MmapOrDie(stack_size_ + guard_size_, "ScopedStackWithGuard"); in ScopedStackSpaceWithGuard()
H A Dsanitizer_allocator_primary32.h141 void *res = MmapOrDie(size, PrimaryAllocatorName); in MapWithCallback()
H A Dsanitizer_posix_libcdep.cpp199 altstack.ss_sp = (char *)MmapOrDie(altstack.ss_size, __func__); in SetAlternateSignalStack()
H A Dsanitizer_addrhashmap.h200 table_ = (Bucket*)MmapOrDie(kSize * sizeof(table_[0]), "AddrHashMap"); in AddrHashMap()
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_platform_mac.cpp77 auto dts = (ThreadState *)MmapOrDie(sizeof(ThreadState), "ThreadState"); in InitializeThreadStateStorage()
98 thr = (ThreadState *)MmapOrDie(sizeof(ThreadState), "ThreadState"); in cur_thread()
H A Dtsan_platform_linux.cpp616 thr = reinterpret_cast<ThreadState*>(MmapOrDie(sizeof(ThreadState), in cur_thread()
621 MmapOrDie(sizeof(ThreadState), "ThreadState")); in cur_thread()
H A Dtsan_dense_alloc.h180 T *batch = (T *)MmapOrDie(kL2Size * sizeof(T), name_); in AllocSuperBlock()
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_thread.cpp14 DFsanThread *thread = (DFsanThread *)MmapOrDie(size, __func__); in Create()
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_thread.cpp14 MsanThread *thread = (MsanThread*)MmapOrDie(size, __func__); in Create()
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_thread.cpp79 MemprofThread *thread = (MemprofThread *)MmapOrDie(size, __func__); in Create()
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_fuchsia.cpp122 AsanThread *thread = (AsanThread *)MmapOrDie(AsanThreadMmapSize(), __func__); in CreateAsanThread()

12