Home
last modified time | relevance | path

Searched refs:bionic_tls (Results 1 – 10 of 10) sorted by relevance

/bionic/libc/bionic/
Dpthread_internal.h155 bionic_tls* bionic_tls; variable
174 __LIBC_HIDDEN__ void __init_bionic_tls_ptrs(bionic_tcb* tcb, bionic_tls* tls);
175 __LIBC_HIDDEN__ bionic_tls* __allocate_temp_bionic_tls();
176 __LIBC_HIDDEN__ void __free_temp_bionic_tls(bionic_tls* tls);
197 static inline __always_inline bionic_tls& __get_bionic_tls() { in __get_bionic_tls()
198 return *static_cast<bionic_tls*>(__get_tls()[TLS_SLOT_BIONIC_TLS]); in __get_bionic_tls()
Dpthread_create.cpp63 void __init_bionic_tls_ptrs(bionic_tcb* tcb, bionic_tls* tls) { in __init_bionic_tls_ptrs()
64 tcb->thread()->bionic_tls = tls; in __init_bionic_tls_ptrs()
70 bionic_tls* __allocate_temp_bionic_tls() { in __allocate_temp_bionic_tls()
71 size_t allocation_size = __BIONIC_ALIGN(sizeof(bionic_tls), PAGE_SIZE); in __allocate_temp_bionic_tls()
80 return static_cast<bionic_tls*>(allocation); in __allocate_temp_bionic_tls()
83 void __free_temp_bionic_tls(bionic_tls* tls) { in __free_temp_bionic_tls()
84 munmap(tls, __BIONIC_ALIGN(sizeof(bionic_tls), PAGE_SIZE)); in __free_temp_bionic_tls()
288 auto tls = reinterpret_cast<bionic_tls*>(mapping.static_tls + layout.offset_bionic_tls()); in __allocate_thread()
D__libc_init_main_thread.cpp138 bionic_tls* temp_tls = &__get_bionic_tls(); 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()
Dpty.cpp55 bionic_tls& tls = __get_bionic_tls(); in ptsname()
82 bionic_tls& tls = __get_bionic_tls(); in ttyname()
Dstrsignal.cpp66 bionic_tls& tls = __get_bionic_tls(); in strsignal()
Dstrerror.cpp219 bionic_tls& tls = __get_bionic_tls(); in strerror()
Dbionic_elf_tls.cpp145 offset_bionic_tls_ = reserve_type<bionic_tls>(); in reserve_bionic_tls()
/bionic/libc/private/
Dbionic_tls.h111 struct bionic_tls { struct
135 void copy_from_bootstrap(const bionic_tls* boot __attribute__((unused))) { in copy_from_bootstrap() argument
Dbionic_fdtrack.h52 bionic_tls& tls = __get_bionic_tls(); \
82 bionic_tls& tls = __get_bionic_tls(); \
/bionic/docs/
Delf-tls.md592 The `bionic_tls.h` header is marked with a warning: