Searched refs:bionic_tcb (Results 1 – 9 of 9) sorted by relevance
/bionic/libc/bionic/ |
D | pthread_internal.h | 195 __LIBC_HIDDEN__ void __init_tcb(bionic_tcb* tcb, pthread_internal_t* thread); 196 __LIBC_HIDDEN__ void __init_tcb_stack_guard(bionic_tcb* tcb); 197 __LIBC_HIDDEN__ void __init_tcb_dtv(bionic_tcb* tcb); 198 __LIBC_HIDDEN__ void __init_bionic_tls_ptrs(bionic_tcb* tcb, bionic_tls* tls); 213 static inline __always_inline bionic_tcb* __get_bionic_tcb() { in __get_bionic_tcb() 214 return reinterpret_cast<bionic_tcb*>(&__get_tls()[MIN_TLS_SLOT]); in __get_bionic_tcb() 226 static inline __always_inline TlsDtv* __get_tcb_dtv(bionic_tcb* tcb) { in __get_tcb_dtv() 231 static inline void __set_tcb_dtv(bionic_tcb* tcb, TlsDtv* val) { in __set_tcb_dtv()
|
D | __libc_init_main_thread.cpp | 74 bionic_tcb* temp_tcb) { in __libc_init_main_thread_early() 88 void __init_tcb(bionic_tcb* tcb, pthread_internal_t* thread) { in __init_tcb() 97 void __init_tcb_dtv(bionic_tcb* tcb) { in __init_tcb_dtv() 146 bionic_tcb* temp_tcb = __get_bionic_tcb(); in __libc_init_main_thread_final() 157 auto new_tcb = reinterpret_cast<bionic_tcb*>(mapping.static_tls + layout.offset_bionic_tcb()); in __libc_init_main_thread_final()
|
D | bionic_elf_tls.cpp | 124 offset_bionic_tcb_ = reserve_type<bionic_tcb>(); in reserve_exe_segment_and_tcb() 142 static_assert(sizeof(bionic_tcb) == (MAX_TLS_SLOT - MIN_TLS_SLOT + 1) * sizeof(void*)); in reserve_exe_segment_and_tcb() 143 static_assert(alignof(bionic_tcb) == sizeof(void*)); in reserve_exe_segment_and_tcb() 144 const size_t max_align = MAX(alignof(bionic_tcb), seg->aligned_size.align.value); in reserve_exe_segment_and_tcb() 175 auto pair = reserve_tp_pair(seg->aligned_size, TlsAlignedSize::of_type<bionic_tcb>()); in reserve_exe_segment_and_tcb() 182 auto pair = reserve_tp_pair(TlsAlignedSize::of_type<bionic_tcb>(), seg->aligned_size); in reserve_exe_segment_and_tcb() 301 static void update_tls_dtv(bionic_tcb* tcb) { in update_tls_dtv() 362 bionic_tcb* tcb = __get_bionic_tcb(); in tls_get_addr_slow_path() 426 void __free_dynamic_tls(bionic_tcb* tcb) { in __free_dynamic_tls()
|
D | sys_thread_properties.cpp | 74 static inline __always_inline bionic_tcb* __get_bionic_tcb_for_thread(pid_t tid) { in __get_bionic_tcb_for_thread() 123 return reinterpret_cast<bionic_tcb*>(&tp_reg[MIN_TLS_SLOT]); in __get_bionic_tcb_for_thread() 131 bionic_tcb* const tcb = __get_bionic_tcb_for_thread(tid); in __libc_iterate_dynamic_tls()
|
D | pthread_create.cpp | 62 void __init_tcb_stack_guard(bionic_tcb* tcb) { in __init_tcb_stack_guard() 67 void __init_bionic_tls_ptrs(bionic_tcb* tcb, bionic_tls* tls) { in __init_bionic_tls_ptrs() 265 static int __allocate_thread(pthread_attr_t* attr, bionic_tcb** tcbp, void** child_stack) { in __allocate_thread() 306 auto tcb = reinterpret_cast<bionic_tcb*>(mapping.static_tls + layout.offset_bionic_tcb()); in __allocate_thread() 410 bionic_tcb* tcb = nullptr; in pthread_create()
|
D | libc_init_static.cpp | 402 structors_array_t const* const structors, bionic_tcb* temp_tcb) { in __real_libc_init() 453 bionic_tcb temp_tcb = {}; in __libc_init()
|
/bionic/libc/private/ |
D | bionic_tls.h | 59 struct bionic_tcb { struct 69 void copy_from_bootstrap(const bionic_tcb* boot) { in copy_from_bootstrap() argument 143 extern "C" void __libc_init_main_thread_early(const KernelArgumentBlock& args, bionic_tcb* temp_tcb…
|
D | bionic_elf_tls.h | 228 struct bionic_tcb; 229 void __free_dynamic_tls(bionic_tcb* tcb);
|
/bionic/linker/ |
D | linker_main.cpp | 723 bionic_tcb temp_tcb __attribute__((uninitialized)); in __linker_init()
|