Lines Matching refs:ThreadState
79 static ThreadState *main_thr;
81 static ThreadState *AllocGoroutine() {
82 ThreadState *thr = (ThreadState*)internal_alloc(MBlockThreadContex,
83 sizeof(ThreadState));
88 void __tsan_init(ThreadState **thrp) {
89 ThreadState *thr = AllocGoroutine();
98 ThreadState *thr = main_thr;
109 void __tsan_read(ThreadState *thr, void *addr, void *pc) {
113 void __tsan_write(ThreadState *thr, void *addr, void *pc) {
117 void __tsan_read_range(ThreadState *thr, void *addr, uptr size, uptr step,
123 void __tsan_write_range(ThreadState *thr, void *addr, uptr size, uptr step,
129 void __tsan_func_enter(ThreadState *thr, void *pc) {
133 void __tsan_func_exit(ThreadState *thr) {
137 void __tsan_malloc(ThreadState *thr, void *p, uptr sz, void *pc) {
149 void __tsan_go_start(ThreadState *parent, ThreadState **pthr, void *pc) {
150 ThreadState *thr = AllocGoroutine();
160 void __tsan_go_end(ThreadState *thr) {
167 void __tsan_acquire(ThreadState *thr, void *addr) {
173 void __tsan_release(ThreadState *thr, void *addr) {
179 void __tsan_release_merge(ThreadState *thr, void *addr) {
185 void __tsan_finalizer_goroutine(ThreadState *thr) {