Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dpthread_internal.h156 __LIBC_HIDDEN__ void __init_tcb(bionic_tcb* tcb, pthread_internal_t* thread);
157 __LIBC_HIDDEN__ void __init_tcb_stack_guard(bionic_tcb* tcb);
158 __LIBC_HIDDEN__ void __init_tcb_dtv(bionic_tcb* tcb);
159 __LIBC_HIDDEN__ void __init_bionic_tls_ptrs(bionic_tcb* tcb, bionic_tls* tls);
172 static inline __always_inline bionic_tcb* __get_bionic_tcb() { in __get_bionic_tcb()
173 return reinterpret_cast<bionic_tcb*>(&__get_tls()[MIN_TLS_SLOT]); in __get_bionic_tcb()
185 static inline __always_inline TlsDtv* __get_tcb_dtv(bionic_tcb* tcb) { in __get_tcb_dtv()
190 static inline void __set_tcb_dtv(bionic_tcb* tcb, TlsDtv* val) { in __set_tcb_dtv()
D__libc_init_main_thread.cpp71 bionic_tcb* temp_tcb) { in __libc_init_main_thread_early()
116 bionic_tcb* temp_tcb = __get_bionic_tcb(); in __libc_init_main_thread_final()
127 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.cpp59 void __init_tcb(bionic_tcb* tcb, pthread_internal_t* thread) { in __init_tcb()
69 void __init_tcb_stack_guard(bionic_tcb* tcb) { in __init_tcb_stack_guard()
75 void __init_tcb_dtv(bionic_tcb* tcb) { in __init_tcb_dtv()
82 void __init_bionic_tls_ptrs(bionic_tcb* tcb, bionic_tls* tls) { in __init_bionic_tls_ptrs()
263 static int __allocate_thread(pthread_attr_t* attr, bionic_tcb** tcbp, void** child_stack) { in __allocate_thread()
304 auto tcb = reinterpret_cast<bionic_tcb*>(mapping.static_tls + layout.offset_bionic_tcb()); in __allocate_thread()
366 bionic_tcb* tcb = nullptr; in pthread_create()
Dlibc_init_static.cpp172 bionic_tcb* temp_tcb) { in __real_libc_init()
212 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
139 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.cpp592 bionic_tcb temp_tcb = {};