Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/guest_os_primitives/
Dguest_thread.cc51 NativeBridgeStaticTlsConfig g_static_tls_config; variable
179 MunmapOrDie(thread->static_tls_, AlignUpPageSize(g_static_tls_config.size)); in Destroy()
282 if (g_static_tls_config.size > 0) { in AllocStaticTls()
283 static_tls_ = Mmap(AlignUpPageSize(g_static_tls_config.size)); in AllocStaticTls()
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()
308 tls[g_static_tls_config.tls_slot_thread_id] = GetTls()[TLS_SLOT_THREAD_ID]; in InitStaticTls()
309 tls[g_static_tls_config.tls_slot_bionic_tls] = GetTls()[TLS_SLOT_BIONIC_TLS]; in InitStaticTls()
322 g_static_tls_config = *config; in ConfigStaticTls()