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