| /external/llvm-project/compiler-rt/lib/tsan/go/ |
| D | tsan_go.cpp | 145 ThreadState *thr = (ThreadState*)internal_alloc(MBlockThreadContex, in AllocGoroutine() local 154 ThreadState *thr = AllocGoroutine(); in __tsan_init() local 163 ThreadState *thr = main_thr; in __tsan_fini() local 172 void __tsan_read(ThreadState *thr, void *addr, void *pc) { in __tsan_read() 176 void __tsan_read_pc(ThreadState *thr, void *addr, uptr callpc, uptr pc) { in __tsan_read_pc() 184 void __tsan_write(ThreadState *thr, void *addr, void *pc) { in __tsan_write() 188 void __tsan_write_pc(ThreadState *thr, void *addr, uptr callpc, uptr pc) { in __tsan_write_pc() 196 void __tsan_read_range(ThreadState *thr, void *addr, uptr size, uptr pc) { in __tsan_read_range() 200 void __tsan_write_range(ThreadState *thr, void *addr, uptr size, uptr pc) { in __tsan_write_range() 204 void __tsan_func_enter(ThreadState *thr, void *pc) { in __tsan_func_enter() [all …]
|
| /external/llvm-project/compiler-rt/lib/tsan/rtl/ |
| D | tsan_rtl_mutex.cpp | 28 ThreadState *thr; member 42 void DDMutexInit(ThreadState *thr, uptr pc, SyncVar *s) { in DDMutexInit() 48 static void ReportMutexMisuse(ThreadState *thr, uptr pc, ReportType typ, in ReportMutexMisuse() 64 void MutexCreate(ThreadState *thr, uptr pc, uptr addr, u32 flagz) { in MutexCreate() 80 void MutexDestroy(ThreadState *thr, uptr pc, uptr addr, u32 flagz) { in MutexDestroy() 142 void MutexPreLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) { in MutexPreLock() 158 void MutexPostLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz, int rec) { in MutexPostLock() 213 int MutexUnlock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) { in MutexUnlock() 256 void MutexPreReadLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) { in MutexPreReadLock() 268 void MutexPostReadLock(ThreadState *thr, uptr pc, uptr addr, u32 flagz) { in MutexPostReadLock() [all …]
|
| D | tsan_mman.cpp | 86 ThreadState *thr = cur_thread(); in ScopedGlobalProcessor() local 109 ThreadState *thr = cur_thread(); in ~ScopedGlobalProcessor() local 146 static void SignalUnsafeCall(ThreadState *thr, uptr pc) { in SignalUnsafeCall() 161 void *user_alloc_internal(ThreadState *thr, uptr pc, uptr sz, uptr align, in user_alloc_internal() 187 void user_free(ThreadState *thr, uptr pc, void *p, bool signal) { in user_free() 196 void *user_alloc(ThreadState *thr, uptr pc, uptr sz) { in user_alloc() 200 void *user_calloc(ThreadState *thr, uptr pc, uptr size, uptr n) { in user_calloc() 213 void *user_reallocarray(ThreadState *thr, uptr pc, void *p, uptr size, uptr n) { in user_reallocarray() 223 void OnUserAlloc(ThreadState *thr, uptr pc, uptr p, uptr sz, bool write) { in OnUserAlloc() 232 void OnUserFree(ThreadState *thr, uptr pc, uptr p, bool write) { in OnUserFree() [all …]
|
| D | tsan_fd.cpp | 49 static FdSync *allocsync(ThreadState *thr, uptr pc) { in allocsync() 62 static void unref(ThreadState *thr, uptr pc, FdSync *s) { in unref() 73 static FdDesc *fddesc(ThreadState *thr, uptr pc, int fd) { in fddesc() 94 static void init(ThreadState *thr, uptr pc, int fd, FdSync *s, in init() 128 void FdOnFork(ThreadState *thr, uptr pc) { in FdOnFork() 160 void FdAcquire(ThreadState *thr, uptr pc, int fd) { in FdAcquire() 171 void FdRelease(ThreadState *thr, uptr pc, int fd) { in FdRelease() 182 void FdAccess(ThreadState *thr, uptr pc, int fd) { in FdAccess() 190 void FdClose(ThreadState *thr, uptr pc, int fd, bool write) { in FdClose() 218 void FdFileCreate(ThreadState *thr, uptr pc, int fd) { in FdFileCreate() [all …]
|
| D | tsan_rtl_thread.cpp | 48 ThreadState *thr; member 81 ThreadState *thr; member 198 static void ThreadCheckIgnore(ThreadState *thr) { in ThreadCheckIgnore() 207 static void ThreadCheckIgnore(ThreadState *thr) {} in ThreadCheckIgnore() 210 void ThreadFinalize(ThreadState *thr) { in ThreadFinalize() 228 int ThreadCount(ThreadState *thr) { in ThreadCount() 234 int ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached) { in ThreadCreate() 245 void ThreadStart(ThreadState *thr, int tid, tid_t os_id, in ThreadStart() 280 void ThreadFinish(ThreadState *thr) { in ThreadFinish() 313 int ThreadConsumeTid(ThreadState *thr, uptr pc, uptr uid) { in ThreadConsumeTid() [all …]
|
| D | tsan_rtl.cpp | 244 void UnmapShadow(ThreadState *thr, uptr addr, uptr size) { in UnmapShadow() 354 void Initialize(ThreadState *thr) { in Initialize() 446 int Finalize(ThreadState *thr) { in Finalize() 499 void ForkBefore(ThreadState *thr, uptr pc) { in ForkBefore() 511 void ForkParentAfter(ThreadState *thr, uptr pc) { in ForkParentAfter() 517 void ForkChildAfter(ThreadState *thr, uptr pc) { in ForkChildAfter() 542 void GrowShadowStack(ThreadState *thr) { in GrowShadowStack() 555 u32 CurrentStackId(ThreadState *thr, uptr pc) { in CurrentStackId() 575 void TraceSwitch(ThreadState *thr) { in TraceSwitch() 595 uptr TraceTopPC(ThreadState *thr) { in TraceTopPC() [all …]
|
| D | tsan_rtl_proc.cpp | 46 void ProcWire(Processor *proc, ThreadState *thr) { in ProcWire() 53 void ProcUnwire(Processor *proc, ThreadState *thr) { in ProcUnwire()
|
| D | tsan_interface_atomic.cpp | 222 static T AtomicLoad(ThreadState *thr, uptr pc, const volatile T *a, morder mo) { in AtomicLoad() 258 static void AtomicStore(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicStore() 281 static T AtomicRMW(ThreadState *thr, uptr pc, volatile T *a, T v, morder mo) { in AtomicRMW() 338 static T AtomicExchange(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicExchange() 344 static T AtomicFetchAdd(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchAdd() 350 static T AtomicFetchSub(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchSub() 356 static T AtomicFetchAnd(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchAnd() 362 static T AtomicFetchOr(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchOr() 368 static T AtomicFetchXor(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchXor() 374 static T AtomicFetchNand(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchNand() [all …]
|
| /external/compiler-rt/lib/tsan/go/ |
| D | tsan_go.cc | 135 ThreadState *thr = (ThreadState*)internal_alloc(MBlockThreadContex, in AllocGoroutine() local 144 ThreadState *thr = AllocGoroutine(); in __tsan_init() local 153 ThreadState *thr = main_thr; in __tsan_fini() local 162 void __tsan_read(ThreadState *thr, void *addr, void *pc) { in __tsan_read() 166 void __tsan_read_pc(ThreadState *thr, void *addr, uptr callpc, uptr pc) { in __tsan_read_pc() 174 void __tsan_write(ThreadState *thr, void *addr, void *pc) { in __tsan_write() 178 void __tsan_write_pc(ThreadState *thr, void *addr, uptr callpc, uptr pc) { in __tsan_write_pc() 186 void __tsan_read_range(ThreadState *thr, void *addr, uptr size, uptr pc) { in __tsan_read_range() 190 void __tsan_write_range(ThreadState *thr, void *addr, uptr size, uptr pc) { in __tsan_write_range() 194 void __tsan_func_enter(ThreadState *thr, void *pc) { in __tsan_func_enter() [all …]
|
| /external/compiler-rt/lib/tsan/rtl/ |
| D | tsan_rtl_mutex.cc | 29 ThreadState *thr; member 43 void DDMutexInit(ThreadState *thr, uptr pc, SyncVar *s) { in DDMutexInit() 49 static void ReportMutexMisuse(ThreadState *thr, uptr pc, ReportType typ, in ReportMutexMisuse() 65 void MutexCreate(ThreadState *thr, uptr pc, uptr addr, in MutexCreate() 84 void MutexDestroy(ThreadState *thr, uptr pc, uptr addr) { in MutexDestroy() 144 void MutexLock(ThreadState *thr, uptr pc, uptr addr, int rec, bool try_lock) { in MutexLock() 189 int MutexUnlock(ThreadState *thr, uptr pc, uptr addr, bool all) { in MutexUnlock() 232 void MutexReadLock(ThreadState *thr, uptr pc, uptr addr, bool trylock) { in MutexReadLock() 267 void MutexReadUnlock(ThreadState *thr, uptr pc, uptr addr) { in MutexReadUnlock() 299 void MutexReadOrWriteUnlock(ThreadState *thr, uptr pc, uptr addr) { in MutexReadOrWriteUnlock() [all …]
|
| D | tsan_fd.cc | 50 static FdSync *allocsync(ThreadState *thr, uptr pc) { in allocsync() 63 static void unref(ThreadState *thr, uptr pc, FdSync *s) { in unref() 74 static FdDesc *fddesc(ThreadState *thr, uptr pc, int fd) { in fddesc() 94 static void init(ThreadState *thr, uptr pc, int fd, FdSync *s, in init() 128 void FdOnFork(ThreadState *thr, uptr pc) { in FdOnFork() 160 void FdAcquire(ThreadState *thr, uptr pc, int fd) { in FdAcquire() 171 void FdRelease(ThreadState *thr, uptr pc, int fd) { in FdRelease() 182 void FdAccess(ThreadState *thr, uptr pc, int fd) { in FdAccess() 190 void FdClose(ThreadState *thr, uptr pc, int fd, bool write) { in FdClose() 218 void FdFileCreate(ThreadState *thr, uptr pc, int fd) { in FdFileCreate() [all …]
|
| D | tsan_mman.cc | 83 ThreadState *thr = cur_thread(); in ScopedGlobalProcessor() local 106 ThreadState *thr = cur_thread(); in ~ScopedGlobalProcessor() local 135 static void SignalUnsafeCall(ThreadState *thr, uptr pc) { in SignalUnsafeCall() 149 void *user_alloc(ThreadState *thr, uptr pc, uptr sz, uptr align, bool signal) { in user_alloc() 162 void *user_calloc(ThreadState *thr, uptr pc, uptr size, uptr n) { in user_calloc() 171 void user_free(ThreadState *thr, uptr pc, void *p, bool signal) { in user_free() 180 void OnUserAlloc(ThreadState *thr, uptr pc, uptr p, uptr sz, bool write) { in OnUserAlloc() 189 void OnUserFree(ThreadState *thr, uptr pc, uptr p, bool write) { in OnUserFree() 197 void *user_realloc(ThreadState *thr, uptr pc, void *p, uptr sz) { in user_realloc() 227 ThreadState *thr = cur_thread(); in invoke_malloc_hook() local [all …]
|
| D | tsan_rtl_thread.cc | 49 ThreadState *thr; member 81 ThreadState *thr; member 185 static void ThreadCheckIgnore(ThreadState *thr) { in ThreadCheckIgnore() 194 static void ThreadCheckIgnore(ThreadState *thr) {} in ThreadCheckIgnore() 197 void ThreadFinalize(ThreadState *thr) { in ThreadFinalize() 215 int ThreadCount(ThreadState *thr) { in ThreadCount() 221 int ThreadCreate(ThreadState *thr, uptr pc, uptr uid, bool detached) { in ThreadCreate() 232 void ThreadStart(ThreadState *thr, int tid, uptr os_id) { in ThreadStart() 277 void ThreadFinish(ThreadState *thr) { in ThreadFinish() 297 int ThreadTid(ThreadState *thr, uptr pc, uptr uid) { in ThreadTid() [all …]
|
| D | tsan_rtl.cc | 308 void Initialize(ThreadState *thr) { in Initialize() 387 int Finalize(ThreadState *thr) { in Finalize() 438 void ForkBefore(ThreadState *thr, uptr pc) { in ForkBefore() 443 void ForkParentAfter(ThreadState *thr, uptr pc) { in ForkParentAfter() 448 void ForkChildAfter(ThreadState *thr, uptr pc) { in ForkChildAfter() 472 void GrowShadowStack(ThreadState *thr) { in GrowShadowStack() 485 u32 CurrentStackId(ThreadState *thr, uptr pc) { in CurrentStackId() 505 void TraceSwitch(ThreadState *thr) { in TraceSwitch() 521 uptr TraceTopPC(ThreadState *thr) { in TraceTopPC() 563 void HandleRace(ThreadState *thr, u64 *shadow_mem, in HandleRace() [all …]
|
| D | tsan_rtl_proc.cc | 47 void ProcWire(Processor *proc, ThreadState *thr) { in ProcWire() 54 void ProcUnwire(Processor *proc, ThreadState *thr) { in ProcUnwire()
|
| D | tsan_interface_atomic.cc | 223 static T AtomicLoad(ThreadState *thr, uptr pc, const volatile T *a, in AtomicLoad() 253 static void AtomicStore(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicStore() 276 static T AtomicRMW(ThreadState *thr, uptr pc, volatile T *a, T v, morder mo) { in AtomicRMW() 333 static T AtomicExchange(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicExchange() 339 static T AtomicFetchAdd(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchAdd() 345 static T AtomicFetchSub(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchSub() 351 static T AtomicFetchAnd(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchAnd() 357 static T AtomicFetchOr(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchOr() 363 static T AtomicFetchXor(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchXor() 369 static T AtomicFetchNand(ThreadState *thr, uptr pc, volatile T *a, T v, in AtomicFetchNand() [all …]
|
| /external/llvm-project/compiler-rt/lib/tsan/dd/ |
| D | dd_rtl.cpp | 21 static u32 CurrentStackTrace(Thread *thr, uptr skip) { in CurrentStackTrace() 31 static void PrintStackTrace(Thread *thr, u32 stk) { in PrintStackTrace() 38 static void ReportDeadlock(Thread *thr, DDReport *rep) { in ReportDeadlock() 57 Callback::Callback(Thread *thr) in Callback() 99 void ThreadInit(Thread *thr) { in ThreadInit() 106 void ThreadDestroy(Thread *thr) { in ThreadDestroy() 111 void MutexBeforeLock(Thread *thr, uptr m, bool writelock) { in MutexBeforeLock() 124 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock) { in MutexAfterLock() 137 void MutexBeforeUnlock(Thread *thr, uptr m, bool writelock) { in MutexBeforeUnlock() 148 void MutexDestroy(Thread *thr, uptr m) { in MutexDestroy()
|
| /external/compiler-rt/lib/tsan/dd/ |
| D | dd_rtl.cc | 22 static u32 CurrentStackTrace(Thread *thr, uptr skip) { in CurrentStackTrace() 32 static void PrintStackTrace(Thread *thr, u32 stk) { in PrintStackTrace() 39 static void ReportDeadlock(Thread *thr, DDReport *rep) { in ReportDeadlock() 58 Callback::Callback(Thread *thr) in Callback() 100 void ThreadInit(Thread *thr) { in ThreadInit() 107 void ThreadDestroy(Thread *thr) { in ThreadDestroy() 112 void MutexBeforeLock(Thread *thr, uptr m, bool writelock) { in MutexBeforeLock() 125 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock) { in MutexAfterLock() 138 void MutexBeforeUnlock(Thread *thr, uptr m, bool writelock) { in MutexBeforeUnlock() 149 void MutexDestroy(Thread *thr, uptr m) { in MutexDestroy()
|
| /external/llvm-project/compiler-rt/lib/tsan/tests/unit/ |
| D | tsan_mman_test.cpp | 37 ThreadState *thr = cur_thread(); in TEST() local 51 ThreadState *thr = cur_thread(); in TEST() local 98 ThreadState *thr = cur_thread(); in TEST() local 111 ThreadState *thr = cur_thread(); in TEST() local 140 ThreadState *thr = cur_thread(); in TEST() local 162 ThreadState *thr = cur_thread(); in TEST() local 179 ThreadState *thr = cur_thread(); in TEST() local 189 ThreadState *thr = cur_thread(); in TEST() local
|
| D | tsan_sync_test.cpp | 19 ThreadState *thr = cur_thread(); in TEST() local 34 ThreadState *thr = cur_thread(); in TEST() local 51 ThreadState *thr = cur_thread(); in TEST() local 74 ThreadState *thr = cur_thread(); in TEST() local 111 ThreadState *thr = cur_thread(); in TEST() local
|
| /external/llvm-project/openmp/runtime/src/ |
| D | ompt-specific.cpp | 52 kmp_info_t *thr = ompt_get_thread(); in __ompt_get_teaminfo() local 105 kmp_info_t *thr = ompt_get_thread(); in __ompt_get_task_info_object() local 145 kmp_info_t *thr = ompt_get_thread(); in __ompt_get_scheduling_taskinfo() local 255 void __ompt_lw_taskteam_init(ompt_lw_taskteam_t *lwt, kmp_info_t *thr, int gtid, in __ompt_lw_taskteam_init() 269 void __ompt_lw_taskteam_link(ompt_lw_taskteam_t *lwt, kmp_info_t *thr, in __ompt_lw_taskteam_link() 303 void __ompt_lw_taskteam_unlink(kmp_info_t *thr) { in __ompt_lw_taskteam_unlink() 342 kmp_info_t *thr = ompt_get_thread(); in __ompt_get_task_info_internal() local 434 kmp_info_t *thr = ompt_get_thread(); in __ompt_get_task_memory_internal() local 485 kmp_info_t *thr) { in __ompt_get_barrier_kind()
|
| D | ompt-specific.h | 60 #define OMPT_CUR_TASK_INFO(thr) (&(thr->th.th_current_task->ompt_task_info)) argument 61 #define OMPT_CUR_TASK_DATA(thr) \ argument 63 #define OMPT_CUR_TEAM_INFO(thr) (&(thr->th.th_team->t.ompt_team_info)) argument 64 #define OMPT_CUR_TEAM_DATA(thr) \ argument 72 kmp_info_t *thr = __kmp_threads[gtid]; in __ompt_load_return_address() local
|
| /external/compiler-rt/lib/tsan/tests/unit/ |
| D | tsan_sync_test.cc | 20 ThreadState *thr = cur_thread(); in TEST() local 35 ThreadState *thr = cur_thread(); in TEST() local 52 ThreadState *thr = cur_thread(); in TEST() local 75 ThreadState *thr = cur_thread(); in TEST() local 112 ThreadState *thr = cur_thread(); in TEST() local
|
| D | tsan_mman_test.cc | 38 ThreadState *thr = cur_thread(); in TEST() local 52 ThreadState *thr = cur_thread(); in TEST() local 97 ThreadState *thr = cur_thread(); in TEST() local 110 ThreadState *thr = cur_thread(); in TEST() local 144 ThreadState *thr = cur_thread(); in TEST() local
|
| /external/llvm-project/compiler-rt/test/tsan/ |
| D | ignore_lib6.cpp | 27 void *thr(void *arg) { in thr() function 60 void *thr(void *p) { in thr() function
|