Lines Matching refs: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()
83 return {stack_.bottom, stack_.top}; in GetStackBounds()
88 if (cur_stack >= next_stack_.bottom && cur_stack < next_stack_.top) in GetStackBounds()
89 return {next_stack_.bottom, next_stack_.top}; in GetStackBounds()
90 return {stack_.bottom, stack_.top}; in GetStackBounds()
95 uptr MsanThread::stack_bottom() { return GetStackBounds().bottom; } in stack_bottom()
99 return addr >= bounds.bottom && addr < bounds.top; in AddrIsInStack()
102 void MsanThread::StartSwitchFiber(uptr bottom, uptr size) { in StartSwitchFiber() argument
104 next_stack_.bottom = bottom; in StartSwitchFiber()
105 next_stack_.top = bottom + size; in StartSwitchFiber()
112 *bottom_old = stack_.bottom; in FinishSwitchFiber()
114 *size_old = stack_.top - stack_.bottom; in FinishSwitchFiber()
115 stack_.bottom = next_stack_.bottom; in FinishSwitchFiber()
119 next_stack_.bottom = 0; in FinishSwitchFiber()