Home
last modified time | relevance | path

Searched refs:static_tls_ (Results 1 – 2 of 2) sorted by relevance

/frameworks/libs/binary_translation/guest_os_primitives/
Dguest_thread.cc178 if (thread->static_tls_ != nullptr) { in Destroy()
179 MunmapOrDie(thread->static_tls_, AlignUpPageSize(g_static_tls_config.size)); in Destroy()
279 CHECK_EQ(nullptr, static_tls_); in AllocStaticTls()
283 static_tls_ = Mmap(AlignUpPageSize(g_static_tls_config.size)); in AllocStaticTls()
284 if (static_tls_ == MAP_FAILED) { in AllocStaticTls()
286 static_tls_ = nullptr; // Do not unmap in Destroy! in AllocStaticTls()
297 if (static_tls_ == nullptr) { in InitStaticTls()
305 memcpy(static_tls_, g_static_tls_config.init_img, g_static_tls_config.size); in InitStaticTls()
307 reinterpret_cast<void**>(reinterpret_cast<char*>(static_tls_) + g_static_tls_config.tpoff); in InitStaticTls()
/frameworks/libs/binary_translation/guest_os_primitives/include/berberis/guest_os_primitives/
Dguest_thread.h132 void* static_tls_ = nullptr; variable