Searched refs:bionic_tcb (Results 1 – 9 of 9) sorted by relevance
/bionic/libc/bionic/ |
D | pthread_internal.h | 176 __LIBC_HIDDEN__ void __init_tcb(bionic_tcb* tcb, pthread_internal_t* thread); 177 __LIBC_HIDDEN__ void __init_tcb_stack_guard(bionic_tcb* tcb); 178 __LIBC_HIDDEN__ void __init_tcb_dtv(bionic_tcb* tcb); 179 __LIBC_HIDDEN__ void __init_bionic_tls_ptrs(bionic_tcb* tcb, bionic_tls* tls); 193 static inline __always_inline bionic_tcb* __get_bionic_tcb() { in __get_bionic_tcb() 194 return reinterpret_cast<bionic_tcb*>(&__get_tls()[MIN_TLS_SLOT]); in __get_bionic_tcb() 206 static inline __always_inline TlsDtv* __get_tcb_dtv(bionic_tcb* tcb) { in __get_tcb_dtv() 211 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 | 99 offset_bionic_tcb_ = reserve_type<bionic_tcb>(); in reserve_exe_segment_and_tcb() 106 reserve(sizeof(bionic_tcb), 1); in reserve_exe_segment_and_tcb() 136 const size_t max_align = MAX(alignof(bionic_tcb), exe_segment->alignment); in reserve_exe_segment_and_tcb() 137 offset_bionic_tcb_ = reserve(sizeof(bionic_tcb), max_align); in reserve_exe_segment_and_tcb() 227 static void update_tls_dtv(bionic_tcb* tcb) { in update_tls_dtv() 288 bionic_tcb* tcb = __get_bionic_tcb(); in tls_get_addr_slow_path() 347 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() 124 return reinterpret_cast<bionic_tcb*>(&tp_reg[MIN_TLS_SLOT]); in __get_bionic_tcb_for_thread() 132 bionic_tcb* const tcb = __get_bionic_tcb_for_thread(tid); in __libc_iterate_dynamic_tls()
|
D | pthread_create.cpp | 60 void __init_tcb_stack_guard(bionic_tcb* tcb) { in __init_tcb_stack_guard() 65 void __init_bionic_tls_ptrs(bionic_tcb* tcb, bionic_tls* tls) { in __init_bionic_tls_ptrs() 248 static int __allocate_thread(pthread_attr_t* attr, bionic_tcb** tcbp, void** child_stack) { in __allocate_thread() 289 auto tcb = reinterpret_cast<bionic_tcb*>(mapping.static_tls + layout.offset_bionic_tcb()); in __allocate_thread() 393 bionic_tcb* tcb = nullptr; in pthread_create()
|
D | libc_init_static.cpp | 338 bionic_tcb* temp_tcb) { in __real_libc_init() 386 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 142 extern "C" void __libc_init_main_thread_early(const KernelArgumentBlock& args, bionic_tcb* temp_tcb…
|
D | bionic_elf_tls.h | 201 struct bionic_tcb; 202 void __free_dynamic_tls(bionic_tcb* tcb);
|
/bionic/linker/ |
D | linker_main.cpp | 665 bionic_tcb temp_tcb __attribute__((uninitialized)); in __linker_init()
|