Lines Matching refs:AsanThread
70 AsanThread *curr_thread = GetCurrentThread(); in PlatformUnpoisonStacks()
112 return RoundUpTo(sizeof(AsanThread), _zx_system_get_page_size()); in AsanThreadMmapSize()
115 struct AsanThread::InitOptions {
120 static AsanThread *CreateAsanThread(StackTrace *stack, u32 parent_tid, in CreateAsanThread()
124 AsanThread *thread = (AsanThread *)MmapOrDie(AsanThreadMmapSize(), __func__); in CreateAsanThread()
139 void AsanThread::SetThreadStackAndTls(const AsanThread::InitOptions *options) { in SetThreadStackAndTls()
149 AsanThread *CreateMainThread() { in CreateMainThread()
154 AsanThread *t = CreateAsanThread( in CreateMainThread()
165 const AsanThread::InitOptions options = {__sanitizer::MainThreadStackBase, in CreateMainThread()
185 AsanThread *thread = in BeforeThreadCreateHook()
191 const AsanThread::InitOptions options = {stack_bottom, stack_size}; in BeforeThreadCreateHook()
199 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadCreateHook()
215 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadStartHook()
227 AsanThread::TSDDtor(per_thread); in ThreadExitHook()