Lines Matching refs:ThreadState
86 ThreadState *thr = cur_thread(); in ScopedGlobalProcessor()
109 ThreadState *thr = cur_thread(); in ~ScopedGlobalProcessor()
146 static void SignalUnsafeCall(ThreadState *thr, uptr pc) { in SignalUnsafeCall()
161 void *user_alloc_internal(ThreadState *thr, uptr pc, uptr sz, uptr align, in user_alloc_internal()
187 void user_free(ThreadState *thr, uptr pc, void *p, bool signal) { in user_free()
196 void *user_alloc(ThreadState *thr, uptr pc, uptr sz) { in user_alloc()
200 void *user_calloc(ThreadState *thr, uptr pc, uptr size, uptr n) { in user_calloc()
213 void *user_reallocarray(ThreadState *thr, uptr pc, void *p, uptr size, uptr n) { in user_reallocarray()
223 void OnUserAlloc(ThreadState *thr, uptr pc, uptr p, uptr sz, bool write) { in OnUserAlloc()
232 void OnUserFree(ThreadState *thr, uptr pc, uptr p, bool write) { in OnUserFree()
240 void *user_realloc(ThreadState *thr, uptr pc, void *p, uptr sz) { in user_realloc()
258 void *user_memalign(ThreadState *thr, uptr pc, uptr align, uptr sz) { in user_memalign()
269 int user_posix_memalign(ThreadState *thr, uptr pc, void **memptr, uptr align, in user_posix_memalign()
286 void *user_aligned_alloc(ThreadState *thr, uptr pc, uptr align, uptr sz) { in user_aligned_alloc()
297 void *user_valloc(ThreadState *thr, uptr pc, uptr sz) { in user_valloc()
301 void *user_pvalloc(ThreadState *thr, uptr pc, uptr sz) { in user_pvalloc()
327 ThreadState *thr = cur_thread(); in invoke_malloc_hook()
335 ThreadState *thr = cur_thread(); in invoke_free_hook()
343 ThreadState *thr = cur_thread(); in internal_alloc()
352 ThreadState *thr = cur_thread(); in internal_free()
398 ThreadState *thr = cur_thread(); in __tsan_on_thread_idle()