Lines Matching refs:AsanThread

39   // Drop the link to the AsanThread object.
76 // AsanThread implementation.
78 AsanThread *AsanThread::Create(thread_callback_t start_routine, void *arg,
82 uptr size = RoundUpTo(sizeof(AsanThread), PageSize);
83 AsanThread *thread = (AsanThread*)MmapOrDie(size, __func__);
93 void AsanThread::TSDDtor(void *tsd) {
100 void AsanThread::Destroy() {
113 uptr size = RoundUpTo(sizeof(AsanThread), GetPageSizeCached());
118 void AsanThread::StartSwitchFiber(FakeStack **fake_stack_save, uptr bottom,
139 void AsanThread::FinishSwitchFiber(FakeStack *fake_stack_save,
163 inline AsanThread::StackBounds AsanThread::GetStackBounds() const {
179 uptr AsanThread::stack_top() {
183 uptr AsanThread::stack_bottom() {
187 uptr AsanThread::stack_size() {
194 FakeStack *AsanThread::AsyncSignalSafeLazyInitFakeStack() {
221 void AsanThread::Init(const InitOptions *options) {
246 thread_return_t AsanThread::ThreadStart(
277 AsanThread *CreateMainThread() {
278 AsanThread *main_thread = AsanThread::Create(
290 void AsanThread::SetThreadStackAndTls(const InitOptions *options) {
308 void AsanThread::ClearShadowForThreadStackAndTLS() {
320 bool AsanThread::GetStackFrameAccessByAddr(uptr addr,
365 uptr AsanThread::GetStackVariableShadowStart(uptr addr) {
388 bool AsanThread::AddrIsInStack(uptr addr) {
396 AsanThread *t = tctx->thread;
404 AsanThread *GetCurrentThread() {
428 void SetCurrentThread(AsanThread *t) {
432 // Make sure we do not reset the current AsanThread.
439 AsanThread *t = GetCurrentThread();
443 AsanThread *FindThreadByStackAddress(uptr addr) {
458 __asan::AsanThread *GetAsanThreadByOsIDLocked(tid_t os_id) {
471 __asan::AsanThread *t = __asan::GetAsanThreadByOsIDLocked(os_id);
486 __asan::AsanThread *t = __asan::GetAsanThreadByOsIDLocked(os_id);
516 AsanThread *t = GetCurrentThread();
528 AsanThread *t = GetCurrentThread();