Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dbionic_elf_tls.cpp360 __attribute__((noinline)) static void* tls_get_addr_slow_path(const TlsIndex* ti) { in tls_get_addr_slow_path() argument
372 const size_t module_idx = __tls_module_id_to_idx(ti->module_id); in tls_get_addr_slow_path()
393 return static_cast<char*>(mod_ptr) + ti->offset + TLS_DTV_OFFSET; in tls_get_addr_slow_path()
406 extern "C" void* TLS_GET_ADDR(const TlsIndex* ti) TLS_GET_ADDR_CALLING_CONVENTION { in TLS_GET_ADDR() argument
412 void* mod_ptr = dtv->modules[__tls_module_id_to_idx(ti->module_id)]; in TLS_GET_ADDR()
414 return static_cast<char*>(mod_ptr) + ti->offset + TLS_DTV_OFFSET; in TLS_GET_ADDR()
418 return tls_get_addr_slow_path(ti); in TLS_GET_ADDR()
/bionic/libc/private/
Dbionic_elf_tls.h226 extern "C" void* TLS_GET_ADDR(const TlsIndex* ti) TLS_GET_ADDR_CALLING_CONVENTION;
/bionic/linker/
Dlinker.cpp408 const TlsIndex ti { si_tls->module_id, static_cast<size_t>(0 - TLS_DTV_OFFSET) }; in get_tls_block_for_this_thread() local
409 return TLS_GET_ADDR(&ti); in get_tls_block_for_this_thread()