| /freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_interface_inl.h | 22 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog1); in __tsan_read1() 26 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog2); in __tsan_read2() 30 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog4); in __tsan_read4() 34 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8); in __tsan_read8() 54 MemoryRead(cur_thread(), (uptr)pc, (uptr)addr, kSizeLog1); in __tsan_read1_pc() 88 ThreadState *thr = cur_thread(); in __tsan_vptr_update() 97 ThreadState *thr = cur_thread(); in __tsan_vptr_read() 104 FuncEntry(cur_thread(), (uptr)pc); in __tsan_func_entry() 108 FuncExit(cur_thread()); in __tsan_func_exit() 112 ThreadIgnoreBegin(cur_thread(), CALLERPC); in __tsan_ignore_thread_begin() [all …]
|
| H A D | tsan_interface.cc | 28 Initialize(cur_thread()); in __tsan_init() 36 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8); in __tsan_read16() 37 MemoryRead(cur_thread(), CALLERPC, (uptr)addr + 8, kSizeLog8); in __tsan_read16() 41 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8); in __tsan_write16() 42 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr + 8, kSizeLog8); in __tsan_write16() 46 MemoryRead(cur_thread(), (uptr)pc, (uptr)addr, kSizeLog8); in __tsan_read16_pc() 47 MemoryRead(cur_thread(), (uptr)pc, (uptr)addr + 8, kSizeLog8); in __tsan_read16_pc() 51 MemoryWrite(cur_thread(), (uptr)pc, (uptr)addr, kSizeLog8); in __tsan_write16_pc() 52 MemoryWrite(cur_thread(), (uptr)pc, (uptr)addr + 8, kSizeLog8); in __tsan_write16_pc() 130 Acquire(cur_thread(), CALLERPC, (uptr)addr); in __tsan_acquire() [all …]
|
| H A D | tsan_malloc_mac.cc | 25 #define COMMON_MALLOC_SANITIZER_INITIALIZED (cur_thread()->is_inited) 30 user_memalign(cur_thread(), StackTrace::GetCurrentPc(), alignment, size) 32 if (cur_thread()->in_symbolizer) return InternalAlloc(size); \ 36 if (cur_thread()->in_symbolizer) return InternalRealloc(ptr, size); \ 40 if (cur_thread()->in_symbolizer) return InternalCalloc(count, size); \ 44 if (cur_thread()->in_symbolizer) { \ 53 if (cur_thread()->in_symbolizer) \ 58 if (cur_thread()->in_symbolizer) return InternalFree(ptr); \
|
| H A D | tsan_interceptors_mac.cc | 180 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 181 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR() 190 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 191 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR() 202 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 203 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR() 212 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 213 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR() 222 CHECK(!cur_thread()->is_dead); in TSAN_INTERCEPTOR() 223 if (!cur_thread()->is_inited) { in TSAN_INTERCEPTOR() [all …]
|
| H A D | tsan_mutex.cc | 229 cur_thread()->internal_deadlock_detector.Lock(type_); in Lock() 241 StatInc(cur_thread(), stat_type_, backoff.Contention()); in Lock() 254 cur_thread()->internal_deadlock_detector.Unlock(type_); in Unlock() 260 cur_thread()->internal_deadlock_detector.Lock(type_); in ReadLock() 269 StatInc(cur_thread(), stat_type_, backoff.Contention()); in ReadLock() 282 cur_thread()->internal_deadlock_detector.Unlock(type_); in ReadUnlock()
|
| H A D | tsan_mman.cc | 87 ThreadState *thr = cur_thread(); in ScopedGlobalProcessor() 110 ThreadState *thr = cur_thread(); in ~ScopedGlobalProcessor() 309 ThreadState *thr = cur_thread(); in invoke_malloc_hook() 317 ThreadState *thr = cur_thread(); in invoke_free_hook() 325 ThreadState *thr = cur_thread(); in internal_alloc() 334 ThreadState *thr = cur_thread(); in internal_free() 380 ThreadState *thr = cur_thread(); in __tsan_on_thread_idle()
|
| H A D | tsan_interceptors.cc | 157 (!cur_thread()->is_inited) 391 Acquire(cur_thread(), 0, (uptr)arg); in cxa_at_exit_wrapper() 449 ThreadState *thr = cur_thread(); in on_exit_wrapper() 644 LongJmp(cur_thread(), env); in DEFINE_REAL() 652 LongJmp(cur_thread(), env); in TSAN_INTERCEPTOR() 661 LongJmp(cur_thread(), env); in TSAN_INTERCEPTOR() 903 ThreadState *thr = cur_thread(); in DestroyThreadState() 946 ThreadState *thr = cur_thread(); in __tsan_thread_start_func() 1978 ThreadState *thr = cur_thread(); in rtl_generic_sighandler() 2551 ThreadState *thr = cur_thread(); in TSAN_INTERCEPTOR() [all …]
|
| H A D | tsan_new_delete.cc | 33 if (cur_thread()->in_symbolizer) \ 48 if (cur_thread()->in_symbolizer) \ 118 if (cur_thread()->in_symbolizer) \
|
| H A D | tsan_symbolize.cc | 26 ThreadState *thr = cur_thread(); in EnterSymbolizer() 33 ThreadState *thr = cur_thread(); in ExitSymbolizer()
|
| H A D | tsan_platform_mac.cc | 84 ThreadState *cur_thread() { in cur_thread() function 210 ThreadState *thr = cur_thread(); in my_pthread_introspection_hook() 220 ThreadState *thr = cur_thread(); in my_pthread_introspection_hook()
|
| H A D | tsan_interceptors.h | 27 ThreadState *thr = cur_thread(); \
|
| H A D | tsan_rtl.h | 464 ThreadState *cur_thread(); 469 INLINE ThreadState *cur_thread() { in cur_thread() function 567 cur_thread()->ignore_interceptors++; in ScopedIgnoreInterceptors() 573 cur_thread()->ignore_interceptors--; in ~ScopedIgnoreInterceptors()
|
| H A D | tsan_external.cc | 63 ThreadState *thr = cur_thread(); in ExternalAccess()
|
| H A D | tsan_rtl.cc | 153 cur_thread()->ignore_interceptors++; in BackgroundThread() 590 TraceSwitch(cur_thread()); in __tsan_trace_switch() 594 ReportRace(cur_thread()); in __tsan_report_race() 1043 ThreadState *thr = cur_thread(); in __tsan_testonly_shadow_stack_current_size()
|
| H A D | tsan_debugging.cc | 69 return const_cast<ReportDesc*>(cur_thread()->current_report); in __tsan_get_current_report()
|
| H A D | tsan_interface_java.cc | 62 ThreadState *thr = cur_thread(); \
|
| H A D | tsan_platform_linux.cc | 377 ThreadState *cur_thread() { in cur_thread() function
|
| H A D | tsan_rtl_report.cc | 42 cur_thread()->ignore_sync++; in TsanCheckFailed() 43 cur_thread()->ignore_reads_and_writes++; in TsanCheckFailed()
|
| H A D | tsan_interface_ann.cc | 51 ThreadState *thr = cur_thread(); \
|
| H A D | tsan_clock.cc | 79 # define CPP_STAT_INC(typ) StatInc(cur_thread(), typ)
|
| H A D | tsan_interface_atomic.cc | 477 ThreadState *const thr = cur_thread(); \
|
| /freebsd-12.1/tools/KSE/rr/ |
| H A D | rr.c | 73 struct kse_thr_mailbox *cur_thread; member 181 data->cur_thread = tm; in init_uts() 194 data->mb.km_curthread = data->cur_thread; in start_uts()
|
| /freebsd-12.1/tools/KSE/ksetest/ |
| H A D | kse_threads_test.c | 69 struct kse_thr_mailbox *cur_thread; member 236 data->cur_thread = tm; in init_uts() 249 data->mb.km_curthread = data->cur_thread; in start_uts()
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | gnu-nat.c | 2707 cur_thread (void) in cur_thread() function 3208 struct proc *thread = cur_thread (); in set_thread_pause_cmd() 3220 struct proc *thread = cur_thread (); in show_thread_pause_cmd() 3232 struct proc *thread = cur_thread (); in set_thread_run_cmd() 3239 struct proc *thread = cur_thread (); in show_thread_run_cmd() 3249 cur_thread ()->detach_sc = parse_int_arg (args, in set_thread_detach_sc_cmd() 3256 struct proc *thread = cur_thread (); in show_thread_detach_sc_cmd() 3267 struct proc *thread = cur_thread (); in set_thread_exc_port_cmd() 3277 struct proc *thread = cur_thread (); 3289 struct proc *thread = cur_thread (); in thread_takeover_sc_cmd()
|