Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dlibc_init_dynamic.cpp85 TlsModules& tls_modules = __libc_shared_globals()->tls_modules; in __libc_preinit_impl() local
86 tls_modules.generation_libc_so = &__libc_tls_generation_copy; in __libc_preinit_impl()
87 __libc_tls_generation_copy = tls_modules.generation; in __libc_preinit_impl()
Dbionic_elf_tls.cpp183 TlsModules& modules = __libc_shared_globals()->tls_modules; in __init_static_tls()
216 size_t loaded_cnt = __libc_shared_globals()->tls_modules.module_count; in calculate_new_dtv_count()
227 const TlsModules& modules = __libc_shared_globals()->tls_modules; in update_tls_dtv()
280 TlsModules& modules = __libc_shared_globals()->tls_modules; in tls_get_addr_slow_path()
335 TlsModules& modules = __libc_shared_globals()->tls_modules; in __free_dynamic_tls()
Dlibc_init_static.cpp141 TlsModules& modules = __libc_shared_globals()->tls_modules; in layout_static_tls()
/bionic/linker/
Dlinker_tls.cpp53 __libc_shared_globals()->tls_modules.module_count = g_tls_modules.size(); in get_unused_module_index()
54 __libc_shared_globals()->tls_modules.module_table = g_tls_modules.data(); in get_unused_module_index()
59 TlsModules& libc_modules = __libc_shared_globals()->tls_modules; in register_tls_module()
87 ScopedWriteLock locker(&__libc_shared_globals()->tls_modules.rwlock); in unregister_tls_module()
/bionic/libc/private/
Dbionic_globals.h88 TlsModules tls_modules; member
/bionic/docs/
Delf-tls.md508 `__libc_shared_globals` variable (see `tls_modules()` in [linker_tls.cpp][tls_modules-linker] and
509 [elf_tls.cpp][tls_modules-libc]). `__tls_get_addr` in libc.so acquires the `TlsModules::mutex` and
513 [tls_modules-linker]: https://android-review.googlesource.com/c/platform/bionic/+/723698/1/linker/l…
514 [tls_modules-libc]: https://android-review.googlesource.com/c/platform/bionic/+/723698/1/libc/bioni…