Searched refs:tls (Results 1 - 7 of 7) 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 D__libc_init_main_thread.cpp62 __set_tls(main_thread.tls);
89 main_thread.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.cpp57 thread->tls[TLS_SLOT_SELF] = thread->tls;
58 thread->tls[TLS_SLOT_THREAD_ID] = thread;
60 thread->tls[TLS_SLOT_STACK_GUARD] = reinterpret_cast<void*>(__stack_chk_guard);
249 void* tls = reinterpret_cast<void*>(thread->tls); local
254 __init_user_desc(&tls_descriptor, false, tls);
255 tls = &tls_descriptor;
257 int rc = clone(__pthread_start, child_stack, flags, thread, &(thread->tid), tls, &(thread->tid));
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.h103 void* tls[BIONIC_TLS_SLOTS]; member in class:pthread_internal_t
/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);
19 movl 28(%esp), %esi # tls

Completed in 149 milliseconds