Lines Matching refs:ThreadState

85   ThreadState *thr = cur_thread();  in ScopedGlobalProcessor()
108 ThreadState *thr = cur_thread(); in ~ScopedGlobalProcessor()
138 static void SignalUnsafeCall(ThreadState *thr, uptr pc) { in SignalUnsafeCall()
154 void *user_alloc_internal(ThreadState *thr, uptr pc, uptr sz, uptr align, in user_alloc_internal()
177 void user_free(ThreadState *thr, uptr pc, void *p, bool signal) { in user_free()
186 void *user_alloc(ThreadState *thr, uptr pc, uptr sz) { in user_alloc()
190 void *user_calloc(ThreadState *thr, uptr pc, uptr size, uptr n) { in user_calloc()
203 void OnUserAlloc(ThreadState *thr, uptr pc, uptr p, uptr sz, bool write) { in OnUserAlloc()
212 void OnUserFree(ThreadState *thr, uptr pc, uptr p, bool write) { in OnUserFree()
220 void *user_realloc(ThreadState *thr, uptr pc, void *p, uptr sz) { in user_realloc()
238 void *user_memalign(ThreadState *thr, uptr pc, uptr align, uptr sz) { in user_memalign()
249 int user_posix_memalign(ThreadState *thr, uptr pc, void **memptr, uptr align, in user_posix_memalign()
266 void *user_aligned_alloc(ThreadState *thr, uptr pc, uptr align, uptr sz) { in user_aligned_alloc()
277 void *user_valloc(ThreadState *thr, uptr pc, uptr sz) { in user_valloc()
281 void *user_pvalloc(ThreadState *thr, uptr pc, uptr sz) { in user_pvalloc()
307 ThreadState *thr = cur_thread(); in invoke_malloc_hook()
315 ThreadState *thr = cur_thread(); in invoke_free_hook()
323 ThreadState *thr = cur_thread(); in internal_alloc()
332 ThreadState *thr = cur_thread(); in internal_free()
378 ThreadState *thr = cur_thread(); in __tsan_on_thread_idle()