Lines Matching refs:ThreadState
123 static ThreadState *main_thr;
138 Processor *ThreadState::proc() { in proc()
144 static ThreadState *AllocGoroutine() { in AllocGoroutine()
145 ThreadState *thr = (ThreadState*)internal_alloc(MBlockThreadContex, in AllocGoroutine()
146 sizeof(ThreadState)); in AllocGoroutine()
151 void __tsan_init(ThreadState **thrp, Processor **procp, in __tsan_init()
154 ThreadState *thr = AllocGoroutine(); in __tsan_init()
163 ThreadState *thr = main_thr; in __tsan_fini()
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()
208 void __tsan_func_exit(ThreadState *thr) { in __tsan_func_exit()
212 void __tsan_malloc(ThreadState *thr, uptr pc, uptr p, uptr sz) { in __tsan_malloc()
223 void __tsan_go_start(ThreadState *parent, ThreadState **pthr, void *pc) { in __tsan_go_start()
224 ThreadState *thr = AllocGoroutine(); in __tsan_go_start()
230 void __tsan_go_end(ThreadState *thr) { in __tsan_go_end()
243 void __tsan_acquire(ThreadState *thr, void *addr) { in __tsan_acquire()
247 void __tsan_release_acquire(ThreadState *thr, void *addr) { in __tsan_release_acquire()
251 void __tsan_release(ThreadState *thr, void *addr) { in __tsan_release()
255 void __tsan_release_merge(ThreadState *thr, void *addr) { in __tsan_release_merge()
259 void __tsan_finalizer_goroutine(ThreadState *thr) { in __tsan_finalizer_goroutine()
263 void __tsan_mutex_before_lock(ThreadState *thr, uptr addr, uptr write) { in __tsan_mutex_before_lock()
270 void __tsan_mutex_after_lock(ThreadState *thr, uptr addr, uptr write) { in __tsan_mutex_after_lock()
277 void __tsan_mutex_before_unlock(ThreadState *thr, uptr addr, uptr write) { in __tsan_mutex_before_unlock()
284 void __tsan_go_ignore_sync_begin(ThreadState *thr) { in __tsan_go_ignore_sync_begin()
288 void __tsan_go_ignore_sync_end(ThreadState *thr) { in __tsan_go_ignore_sync_end()