Lines Matching refs:AsanThread

41   // Drop the link to the AsanThread object.
78 // AsanThread implementation.
80 AsanThread *AsanThread::Create(thread_callback_t start_routine, void *arg,
84 uptr size = RoundUpTo(sizeof(AsanThread), PageSize);
85 AsanThread *thread = (AsanThread*)MmapOrDie(size, __func__);
95 void AsanThread::TSDDtor(void *tsd) {
102 void AsanThread::Destroy() {
115 uptr size = RoundUpTo(sizeof(AsanThread), GetPageSizeCached());
120 void AsanThread::StartSwitchFiber(FakeStack **fake_stack_save, uptr bottom,
141 void AsanThread::FinishSwitchFiber(FakeStack *fake_stack_save,
165 inline AsanThread::StackBounds AsanThread::GetStackBounds() const {
181 uptr AsanThread::stack_top() {
185 uptr AsanThread::stack_bottom() {
189 uptr AsanThread::stack_size() {
196 FakeStack *AsanThread::AsyncSignalSafeLazyInitFakeStack() {
223 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) {
306 void AsanThread::ClearShadowForThreadStackAndTLS() {
317 bool AsanThread::GetStackFrameAccessByAddr(uptr addr,
364 uptr AsanThread::GetStackVariableShadowStart(uptr addr) {
387 bool AsanThread::AddrIsInStack(uptr addr) {
395 AsanThread *t = tctx->thread;
403 AsanThread *GetCurrentThread() {
427 void SetCurrentThread(AsanThread *t) {
431 // Make sure we do not reset the current AsanThread.
438 AsanThread *t = GetCurrentThread();
442 AsanThread *FindThreadByStackAddress(uptr addr) {
457 __asan::AsanThread *GetAsanThreadByOsIDLocked(tid_t os_id) {
470 __asan::AsanThread *t = __asan::GetAsanThreadByOsIDLocked(os_id);
485 __asan::AsanThread *t = __asan::GetAsanThreadByOsIDLocked(os_id);
515 AsanThread *t = GetCurrentThread();
527 AsanThread *t = GetCurrentThread();