Searched refs:static_tls (Results 1 – 7 of 7) sorted by relevance
148 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()
240 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()
178 void __init_static_tls(void* static_tls) { in __init_static_tls() argument199 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() local264 dtv->modules[i] = static_tls + mod.static_offset; in update_tls_dtv()
70 char* static_tls = reinterpret_cast<char*>(__get_bionic_tcb()) - layout.offset_bionic_tcb(); in dl_iterate_phdr() local72 exe_info.dlpi_tls_data = static_tls + tls_module.static_offset; in dl_iterate_phdr()
166 char* static_tls; member
134 void __init_static_tls(void* static_tls);
371 char* static_tls = reinterpret_cast<char*>(__get_bionic_tcb()) - layout.offset_bionic_tcb(); in get_tls_block_for_this_thread() local372 return static_tls + tls_mod.static_offset; in get_tls_block_for_this_thread()