Lines Matching refs:ThreadState
74 static ThreadState *main_thr;
77 static ThreadState *AllocGoroutine() { in AllocGoroutine()
78 ThreadState *thr = (ThreadState*)internal_alloc(MBlockThreadContex, in AllocGoroutine()
79 sizeof(ThreadState)); in AllocGoroutine()
84 void __tsan_init(ThreadState **thrp, void (*cb)(SymbolizeContext *cb)) { in __tsan_init()
86 ThreadState *thr = AllocGoroutine(); in __tsan_init()
94 ThreadState *thr = main_thr; in __tsan_fini()
103 void __tsan_read(ThreadState *thr, void *addr, void *pc) { in __tsan_read()
107 void __tsan_read_pc(ThreadState *thr, void *addr, uptr callpc, uptr pc) { in __tsan_read_pc()
115 void __tsan_write(ThreadState *thr, void *addr, void *pc) { in __tsan_write()
119 void __tsan_write_pc(ThreadState *thr, void *addr, uptr callpc, uptr pc) { in __tsan_write_pc()
127 void __tsan_read_range(ThreadState *thr, void *addr, uptr size, uptr pc) { in __tsan_read_range()
131 void __tsan_write_range(ThreadState *thr, void *addr, uptr size, uptr pc) { in __tsan_write_range()
135 void __tsan_func_enter(ThreadState *thr, void *pc) { in __tsan_func_enter()
139 void __tsan_func_exit(ThreadState *thr) { in __tsan_func_exit()
149 void __tsan_go_start(ThreadState *parent, ThreadState **pthr, void *pc) { in __tsan_go_start()
150 ThreadState *thr = AllocGoroutine(); in __tsan_go_start()
156 void __tsan_go_end(ThreadState *thr) { in __tsan_go_end()
161 void __tsan_acquire(ThreadState *thr, void *addr) { in __tsan_acquire()
165 void __tsan_release(ThreadState *thr, void *addr) { in __tsan_release()
169 void __tsan_release_merge(ThreadState *thr, void *addr) { in __tsan_release_merge()
173 void __tsan_finalizer_goroutine(ThreadState *thr) { in __tsan_finalizer_goroutine()
177 void __tsan_mutex_before_lock(ThreadState *thr, uptr addr, uptr write) { in __tsan_mutex_before_lock()
180 void __tsan_mutex_after_lock(ThreadState *thr, uptr addr, uptr write) { in __tsan_mutex_after_lock()
187 void __tsan_mutex_before_unlock(ThreadState *thr, uptr addr, uptr write) { in __tsan_mutex_before_unlock()
194 void __tsan_go_ignore_sync_begin(ThreadState *thr) { in __tsan_go_ignore_sync_begin()
198 void __tsan_go_ignore_sync_end(ThreadState *thr) { in __tsan_go_ignore_sync_end()