Lines Matching defs:thr

83   ThreadState *thr = cur_thread();  in ScopedGlobalProcessor()  local
106 ThreadState *thr = cur_thread(); in ~ScopedGlobalProcessor() local
143 static void SignalUnsafeCall(ThreadState *thr, uptr pc) { in SignalUnsafeCall()
158 void *user_alloc_internal(ThreadState *thr, uptr pc, uptr sz, uptr align, in user_alloc_internal()
184 void user_free(ThreadState *thr, uptr pc, void *p, bool signal) { in user_free()
193 void *user_alloc(ThreadState *thr, uptr pc, uptr sz) { in user_alloc()
197 void *user_calloc(ThreadState *thr, uptr pc, uptr size, uptr n) { in user_calloc()
210 void *user_reallocarray(ThreadState *thr, uptr pc, void *p, uptr size, uptr n) { in user_reallocarray()
220 void OnUserAlloc(ThreadState *thr, uptr pc, uptr p, uptr sz, bool write) { in OnUserAlloc()
229 void OnUserFree(ThreadState *thr, uptr pc, uptr p, bool write) { in OnUserFree()
237 void *user_realloc(ThreadState *thr, uptr pc, void *p, uptr sz) { in user_realloc()
255 void *user_memalign(ThreadState *thr, uptr pc, uptr align, uptr sz) { in user_memalign()
266 int user_posix_memalign(ThreadState *thr, uptr pc, void **memptr, uptr align, in user_posix_memalign()
283 void *user_aligned_alloc(ThreadState *thr, uptr pc, uptr align, uptr sz) { in user_aligned_alloc()
294 void *user_valloc(ThreadState *thr, uptr pc, uptr sz) { in user_valloc()
298 void *user_pvalloc(ThreadState *thr, uptr pc, uptr sz) { in user_pvalloc()
324 ThreadState *thr = cur_thread(); in invoke_malloc_hook() local
332 ThreadState *thr = cur_thread(); in invoke_free_hook() local
340 ThreadState *thr = cur_thread(); in Alloc() local
349 ThreadState *thr = cur_thread(); in FreeImpl() local
395 ThreadState *thr = cur_thread(); in __tsan_on_thread_idle() local