Searched refs:tls (Results 1 - 9 of 9) 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_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 Dlibc_init_dynamic.cpp69 void** tls = __get_tls(); local
70 KernelArgumentBlock** args_slot = &reinterpret_cast<KernelArgumentBlock**>(tls)[TLS_SLOT_BIONIC_PREINIT];
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_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;
H A Dclone.cpp36 extern "C" pid_t __bionic_clone(uint32_t flags, void* child_stack, int* parent_tid, void* tls, int* child_tid, int (*fn)(void*), void* arg);
H A Dpthread_internal.h75 void** tls; member in struct:pthread_internal_t
H A Dpthread_exit.cpp108 thread->tls = NULL;
/bionic/libc/arch-x86/bionic/
H A D__bionic_clone.S3 // pid_t __bionic_clone(int flags, void* child_stack, pid_t* parent_tid, void* tls, pid_t* child_tid, int (*fn)(void*), void* arg);
13 movl 28(%esp), %esi # tls

Completed in 2334 milliseconds