Lines Matching defs:thr
58 void AllocatorThreadStart(ThreadState *thr) { in AllocatorThreadStart()
63 void AllocatorThreadFinish(ThreadState *thr) { in AllocatorThreadFinish()
72 static void SignalUnsafeCall(ThreadState *thr, uptr pc) { in SignalUnsafeCall()
85 void *user_alloc(ThreadState *thr, uptr pc, uptr sz, uptr align) { in user_alloc()
97 void user_free(ThreadState *thr, uptr pc, void *p) { in user_free()
104 void OnUserAlloc(ThreadState *thr, uptr pc, uptr p, uptr sz, bool write) { in OnUserAlloc()
113 void OnUserFree(ThreadState *thr, uptr pc, uptr p, bool write) { in OnUserFree()
121 void *user_realloc(ThreadState *thr, uptr pc, void *p, uptr sz) { in user_realloc()
147 ThreadState *thr = cur_thread(); in invoke_malloc_hook() local
155 ThreadState *thr = cur_thread(); in invoke_free_hook() local
163 ThreadState *thr = cur_thread(); in internal_alloc() local
173 ThreadState *thr = cur_thread(); in internal_free() local
240 ThreadState *thr = cur_thread(); in __tsan_on_thread_idle() local