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()
85 return {stack_.bottom, stack_.top}; in GetStackBounds()
90 if (cur_stack >= next_stack_.bottom && cur_stack < next_stack_.top) in GetStackBounds()
91 return {next_stack_.bottom, next_stack_.top}; in GetStackBounds()
92 return {stack_.bottom, stack_.top}; in GetStackBounds()
97 uptr MsanThread::stack_bottom() { return GetStackBounds().bottom; } in stack_bottom()
101 return addr >= bounds.bottom && addr < bounds.top; in AddrIsInStack()
104 void MsanThread::StartSwitchFiber(uptr bottom, uptr size) { in StartSwitchFiber() argument
106 next_stack_.bottom = bottom; in StartSwitchFiber()
107 next_stack_.top = bottom + size; in StartSwitchFiber()
114 *bottom_old = stack_.bottom; in FinishSwitchFiber()
116 *size_old = stack_.top - stack_.bottom; in FinishSwitchFiber()
117 stack_.bottom = next_stack_.bottom; in FinishSwitchFiber()
121 next_stack_.bottom = 0; in FinishSwitchFiber()