Home
last modified time | relevance | path

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

/bionic/linker/
Dlinker_tls.cpp69 soinfo_tls* si_tls = si->get_tls(); in register_tls_module() local
70 si_tls->module_id = __tls_module_idx_to_id(module_idx); in register_tls_module()
79 .segment = si_tls->segment, in register_tls_module()
90 soinfo_tls* si_tls = si->get_tls(); in unregister_tls_module() local
91 TlsModule& mod = g_tls_modules[__tls_module_id_to_idx(si_tls->module_id)]; in unregister_tls_module()
95 si_tls->module_id = kTlsUninitializedModuleId; in unregister_tls_module()
146 soinfo_tls* si_tls = si->get_tls(); in register_soinfo_tls() local
147 if (si_tls == nullptr || si_tls->module_id != kTlsUninitializedModuleId) { in register_soinfo_tls()
153 static_offset = layout.reserve_solib_segment(si_tls->segment); in register_soinfo_tls()
159 soinfo_tls* si_tls = si->get_tls(); in unregister_soinfo_tls() local
[all …]
Dlinker.cpp401 static inline void* get_tls_block_for_this_thread(const soinfo_tls* si_tls, bool should_alloc) { in get_tls_block_for_this_thread() argument
402 const TlsModule& tls_mod = get_tls_module(si_tls->module_id); in get_tls_block_for_this_thread()
408 const TlsIndex ti { si_tls->module_id, static_cast<size_t>(0 - TLS_DTV_OFFSET) }; in get_tls_block_for_this_thread()
413 return dtv->modules[__tls_module_id_to_idx(si_tls->module_id)]; in get_tls_block_for_this_thread()