Lines Matching refs:ThreadState
113 static ThreadState *main_thr;
128 Processor *ThreadState::proc() { in proc()
134 static ThreadState *AllocGoroutine() { in AllocGoroutine()
135 ThreadState *thr = (ThreadState*)internal_alloc(MBlockThreadContex, in AllocGoroutine()
136 sizeof(ThreadState)); in AllocGoroutine()
141 void __tsan_init(ThreadState **thrp, Processor **procp, in __tsan_init()
144 ThreadState *thr = AllocGoroutine(); in __tsan_init()
153 ThreadState *thr = main_thr; in __tsan_fini()
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()
198 void __tsan_func_exit(ThreadState *thr) { in __tsan_func_exit()
202 void __tsan_malloc(ThreadState *thr, uptr pc, uptr p, uptr sz) { in __tsan_malloc()
213 void __tsan_go_start(ThreadState *parent, ThreadState **pthr, void *pc) { in __tsan_go_start()
214 ThreadState *thr = AllocGoroutine(); in __tsan_go_start()
220 void __tsan_go_end(ThreadState *thr) { in __tsan_go_end()
233 void __tsan_acquire(ThreadState *thr, void *addr) { in __tsan_acquire()
237 void __tsan_release(ThreadState *thr, void *addr) { in __tsan_release()
241 void __tsan_release_merge(ThreadState *thr, void *addr) { in __tsan_release_merge()
245 void __tsan_finalizer_goroutine(ThreadState *thr) { in __tsan_finalizer_goroutine()
249 void __tsan_mutex_before_lock(ThreadState *thr, uptr addr, uptr write) { in __tsan_mutex_before_lock()
252 void __tsan_mutex_after_lock(ThreadState *thr, uptr addr, uptr write) { in __tsan_mutex_after_lock()
259 void __tsan_mutex_before_unlock(ThreadState *thr, uptr addr, uptr write) { in __tsan_mutex_before_unlock()
266 void __tsan_go_ignore_sync_begin(ThreadState *thr) { in __tsan_go_ignore_sync_begin()
270 void __tsan_go_ignore_sync_end(ThreadState *thr) { in __tsan_go_ignore_sync_end()