Searched defs:tls (Results 1 - 6 of 6) sorted by relevance

/bionic/libc/arch-arm64/bionic/
H A D__set_tls.c31 __LIBC_HIDDEN__ void __set_tls(void* tls) { argument
32 asm("msr tpidr_el0, %0" : : "r" (tls));
/bionic/libc/bionic/
H A Dlibc_init_dynamic.cpp69 void** tls = __get_tls(); local
70 KernelArgumentBlock** args_slot = &reinterpret_cast<KernelArgumentBlock**>(tls)[TLS_SLOT_BIONIC_PREINIT];
H A Dlibc_init_common.cpp77 static void* tls[BIONIC_TLS_SLOTS]; local
79 main_thread.tls = tls;
98 __set_tls(main_thread.tls);
99 tls[TLS_SLOT_BIONIC_PREINIT] = &args;
H A Dpthread_create.cpp56 memset(&thread->tls[0], 0, BIONIC_TLS_SLOTS * sizeof(void*));
60 thread->tls[TLS_SLOT_SELF] = thread->tls;
61 thread->tls[TLS_SLOT_THREAD_ID] = thread;
63 thread->tls[TLS_SLOT_STACK_GUARD] = (void*) __stack_chk_guard;
194 thread->tls = reinterpret_cast<void**>(reinterpret_cast<uint8_t*>(thread->attr.stack_base) +
196 void* child_stack = thread->tls;
215 void* tls = thread->tls; local
220 __init_user_desc(&tls_descriptor, false, tls);
[all...]
H A Dpthread_internal.h75 void** tls; member in struct:pthread_internal_t
H A Dpthread_key.cpp136 void** tls = __get_tls(); local
144 void* data = tls[key];
155 tls[key] = NULL;
216 // Similarly, it is possible to have t->tls == NULL for threads that
219 // scheduler. t->tls will also be NULL after a thread's stack has been
221 if (t->tid == 0 || t->tls == NULL) {
225 t->tls[key] = NULL;

Completed in 68 milliseconds