Lines Matching defs:thr

85   ThreadState *thr = cur_thread();  in ScopedGlobalProcessor()  local
108 ThreadState *thr = cur_thread(); in ~ScopedGlobalProcessor() local
163 static void SignalUnsafeCall(ThreadState *thr, uptr pc) { in SignalUnsafeCall()
178 void *user_alloc_internal(ThreadState *thr, uptr pc, uptr sz, uptr align, in user_alloc_internal()
210 void user_free(ThreadState *thr, uptr pc, void *p, bool signal) { in user_free()
219 void *user_alloc(ThreadState *thr, uptr pc, uptr sz) { in user_alloc()
223 void *user_calloc(ThreadState *thr, uptr pc, uptr size, uptr n) { in user_calloc()
236 void *user_reallocarray(ThreadState *thr, uptr pc, void *p, uptr size, uptr n) { in user_reallocarray()
246 void OnUserAlloc(ThreadState *thr, uptr pc, uptr p, uptr sz, bool write) { in OnUserAlloc()
264 void OnUserFree(ThreadState *thr, uptr pc, uptr p, bool write) { in OnUserFree()
279 void *user_realloc(ThreadState *thr, uptr pc, void *p, uptr sz) { in user_realloc()
297 void *user_memalign(ThreadState *thr, uptr pc, uptr align, uptr sz) { in user_memalign()
308 int user_posix_memalign(ThreadState *thr, uptr pc, void **memptr, uptr align, in user_posix_memalign()
325 void *user_aligned_alloc(ThreadState *thr, uptr pc, uptr align, uptr sz) { in user_aligned_alloc()
336 void *user_valloc(ThreadState *thr, uptr pc, uptr sz) { in user_valloc()
340 void *user_pvalloc(ThreadState *thr, uptr pc, uptr sz) { in user_pvalloc()
366 ThreadState *thr = cur_thread(); in invoke_malloc_hook() local
373 ThreadState *thr = cur_thread(); in invoke_free_hook() local
380 ThreadState *thr = cur_thread(); in Alloc() local
390 ThreadState *thr = cur_thread(); in FreeImpl() local
437 ThreadState *thr = cur_thread(); in __tsan_on_thread_idle() local