Home
last modified time | relevance | path

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

/bionic/libc/bionic/
D__libc_init_main_thread.cpp148 auto new_tcb = reinterpret_cast<bionic_tcb*>(mapping.static_tls + layout.offset_bionic_tcb()); in __libc_init_main_thread_final()
149 auto new_tls = reinterpret_cast<bionic_tls*>(mapping.static_tls + layout.offset_bionic_tls()); in __libc_init_main_thread_final()
151 __init_static_tls(mapping.static_tls); in __libc_init_main_thread_final()
Dpthread_create.cpp240 result.static_tls = space + mmap_size - PTHREAD_GUARD_SIZE - layout.size(); in __allocate_thread_mapping()
242 result.stack_top = result.static_tls; in __allocate_thread_mapping()
287 auto tcb = reinterpret_cast<bionic_tcb*>(mapping.static_tls + layout.offset_bionic_tcb()); in __allocate_thread()
288 auto tls = reinterpret_cast<bionic_tls*>(mapping.static_tls + layout.offset_bionic_tls()); in __allocate_thread()
291 __init_static_tls(mapping.static_tls); in __allocate_thread()
Dbionic_elf_tls.cpp178 void __init_static_tls(void* static_tls) { in __init_static_tls() argument
199 memcpy(static_cast<char*>(static_tls) + module.static_offset, in __init_static_tls()
257 char* static_tls = reinterpret_cast<char*>(tcb) - layout.offset_bionic_tcb(); in update_tls_dtv() local
264 dtv->modules[i] = static_tls + mod.static_offset; in update_tls_dtv()
Ddl_iterate_phdr_static.cpp70 char* static_tls = reinterpret_cast<char*>(__get_bionic_tcb()) - layout.offset_bionic_tcb(); in dl_iterate_phdr() local
72 exe_info.dlpi_tls_data = static_tls + tls_module.static_offset; in dl_iterate_phdr()
Dpthread_internal.h166 char* static_tls; member
/bionic/libc/private/
Dbionic_elf_tls.h134 void __init_static_tls(void* static_tls);
/bionic/linker/
Dlinker.cpp371 char* static_tls = reinterpret_cast<char*>(__get_bionic_tcb()) - layout.offset_bionic_tcb(); in get_tls_block_for_this_thread() local
372 return static_tls + tls_mod.static_offset; in get_tls_block_for_this_thread()