Lines Matching full:bottom
25 GetThreadStackAndTls(IsMainThread(), &stack_.bottom, &stack_size, &tls_begin_, in SetThreadStackAndTls()
27 stack_.top = stack_.bottom + stack_size; in SetThreadStackAndTls()
35 __msan_unpoison((void *)stack_.bottom, stack_.top - stack_.bottom); in ClearShadowForThreadStackAndTLS()
47 CHECK(MEM_IS_APP(stack_.bottom)); in Init()
84 return {stack_.bottom, stack_.top}; in GetStackBounds()
89 if (cur_stack >= next_stack_.bottom && cur_stack < next_stack_.top) in GetStackBounds()
90 return {next_stack_.bottom, next_stack_.top}; in GetStackBounds()
91 return {stack_.bottom, stack_.top}; in GetStackBounds()
96 uptr MsanThread::stack_bottom() { return GetStackBounds().bottom; } in stack_bottom()
100 return addr >= bounds.bottom && addr < bounds.top; in AddrIsInStack()
103 void MsanThread::StartSwitchFiber(uptr bottom, uptr size) { in StartSwitchFiber() argument
105 next_stack_.bottom = bottom; in StartSwitchFiber()
106 next_stack_.top = bottom + size; in StartSwitchFiber()
113 *bottom_old = stack_.bottom; in FinishSwitchFiber()
115 *size_old = stack_.top - stack_.bottom; in FinishSwitchFiber()
116 stack_.bottom = next_stack_.bottom; in FinishSwitchFiber()
120 next_stack_.bottom = 0; in FinishSwitchFiber()