Lines Matching refs:ThreadState
239 static ThreadSignalContext *SigCtx(ThreadState *thr) {
249 ScopedInterceptor::ScopedInterceptor(ThreadState *thr, const char *fname,
321 explicit BlockingCall(ThreadState *thr)
344 ThreadState *thr;
398 static int setup_at_exit_wrapper(ThreadState *thr, uptr pc, void(*f)(),
419 static int setup_at_exit_wrapper(ThreadState *thr, uptr pc, void(*f)(),
450 ThreadState *thr = cur_thread();
479 static void JmpBufGarbageCollect(ThreadState *thr, uptr sp) {
491 static void SetJmp(ThreadState *thr, uptr sp) {
509 static void LongJmp(ThreadState *thr, uptr *env) {
767 static void *mmap_interceptor(ThreadState *thr, uptr pc, Mmap real_mmap,
890 ThreadState *thr = cur_thread();
899 void PlatformCleanUpThreadState(ThreadState *thr) {
937 ThreadState *thr = cur_thread();
1124 ThreadState *thr;
1151 static int cond_wait(ThreadState *thr, uptr pc, ScopedInterceptor *si,
1882 static void CallUserSignalHandler(ThreadState *thr, bool sync, bool acquire,
1944 void ProcessPendingSignals(ThreadState *thr) {
1980 ThreadState *thr = cur_thread();
2000 // It's unsafe to do acquire in async handlers, because ThreadState
2142 ThreadState *thr;
2184 static int OnExit(ThreadState *thr) {
2191 ThreadState *thr;
2197 static void HandleRecvmsg(ThreadState *thr, uptr pc,
2415 ThreadState *thr = cur_thread(); \
2422 ThreadState *thr;
2424 explicit ScopedSyscall(ThreadState *thr)
2542 ThreadState *thr = cur_thread();
2599 ThreadState *thr = cur_thread();