Home
last modified time | relevance | path

Searched refs:bionic_tcb (Results 1 – 8 of 8) sorted by relevance

/bionic/libc/bionic/
Dpthread_internal.h171 __LIBC_HIDDEN__ void __init_tcb(bionic_tcb* tcb, pthread_internal_t* thread);
172 __LIBC_HIDDEN__ void __init_tcb_stack_guard(bionic_tcb* tcb);
173 __LIBC_HIDDEN__ void __init_tcb_dtv(bionic_tcb* tcb);
174 __LIBC_HIDDEN__ void __init_bionic_tls_ptrs(bionic_tcb* tcb, bionic_tls* tls);
188 static inline __always_inline bionic_tcb* __get_bionic_tcb() { in __get_bionic_tcb()
189 return reinterpret_cast<bionic_tcb*>(&__get_tls()[MIN_TLS_SLOT]); in __get_bionic_tcb()
201 static inline __always_inline TlsDtv* __get_tcb_dtv(bionic_tcb* tcb) { in __get_tcb_dtv()
206 static inline void __set_tcb_dtv(bionic_tcb* tcb, TlsDtv* val) { in __set_tcb_dtv()
D__libc_init_main_thread.cpp74 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()
137 bionic_tcb* temp_tcb = __get_bionic_tcb(); in __libc_init_main_thread_final()
148 auto new_tcb = reinterpret_cast<bionic_tcb*>(mapping.static_tls + layout.offset_bionic_tcb()); in __libc_init_main_thread_final()
Dbionic_elf_tls.cpp98 offset_bionic_tcb_ = reserve_type<bionic_tcb>(); in reserve_exe_segment_and_tcb()
105 reserve(sizeof(bionic_tcb), 1); in reserve_exe_segment_and_tcb()
135 const size_t max_align = MAX(alignof(bionic_tcb), exe_segment->alignment); in reserve_exe_segment_and_tcb()
136 offset_bionic_tcb_ = reserve(sizeof(bionic_tcb), max_align); in reserve_exe_segment_and_tcb()
226 static void update_tls_dtv(bionic_tcb* tcb) { in update_tls_dtv()
281 bionic_tcb* tcb = __get_bionic_tcb(); in tls_get_addr_slow_path()
334 void __free_dynamic_tls(bionic_tcb* tcb) { in __free_dynamic_tls()
Dpthread_create.cpp58 void __init_tcb_stack_guard(bionic_tcb* tcb) { in __init_tcb_stack_guard()
63 void __init_bionic_tls_ptrs(bionic_tcb* tcb, bionic_tls* tls) { in __init_bionic_tls_ptrs()
246 static int __allocate_thread(pthread_attr_t* attr, bionic_tcb** tcbp, void** child_stack) { in __allocate_thread()
287 auto tcb = reinterpret_cast<bionic_tcb*>(mapping.static_tls + layout.offset_bionic_tcb()); in __allocate_thread()
375 bionic_tcb* tcb = nullptr; in pthread_create()
Dlibc_init_static.cpp164 bionic_tcb* temp_tcb) { in __real_libc_init()
209 bionic_tcb temp_tcb = {}; in __libc_init()
/bionic/libc/private/
Dbionic_tls.h59 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…
Dbionic_elf_tls.h176 struct bionic_tcb;
177 void __free_dynamic_tls(bionic_tcb* tcb);
/bionic/linker/
Dlinker_main.cpp636 bionic_tcb temp_tcb __attribute__((uninitialized)); in __linker_init()