Lines Matching defs:thr
83 ThreadState *thr = cur_thread(); in ScopedGlobalProcessor() local
106 ThreadState *thr = cur_thread(); in ~ScopedGlobalProcessor() local
135 static void SignalUnsafeCall(ThreadState *thr, uptr pc) { in SignalUnsafeCall()
149 void *user_alloc(ThreadState *thr, uptr pc, uptr sz, uptr align, bool signal) { in user_alloc()
162 void *user_calloc(ThreadState *thr, uptr pc, uptr size, uptr n) { in user_calloc()
171 void user_free(ThreadState *thr, uptr pc, void *p, bool signal) { in user_free()
180 void OnUserAlloc(ThreadState *thr, uptr pc, uptr p, uptr sz, bool write) { in OnUserAlloc()
189 void OnUserFree(ThreadState *thr, uptr pc, uptr p, bool write) { in OnUserFree()
197 void *user_realloc(ThreadState *thr, uptr pc, void *p, uptr sz) { in user_realloc()
227 ThreadState *thr = cur_thread(); in invoke_malloc_hook() local
235 ThreadState *thr = cur_thread(); in invoke_free_hook() local
243 ThreadState *thr = cur_thread(); in internal_alloc() local
252 ThreadState *thr = cur_thread(); in internal_free() local
298 ThreadState *thr = cur_thread(); in __tsan_on_thread_idle() local