Home
last modified time | relevance | path

Searched refs:tls (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/arch-x86/bionic/
D__get_tls.c34 void* tls; in __get_tls() local
35 asm ( " movl %%gs:0, %0" : "=r"(tls) ); in __get_tls()
36 return tls; in __get_tls()
Dclone.S17 # save tls
/bionic/libc/private/
Dbionic_tls.h84 extern void __init_tls(void** tls, void* thread_info);
/bionic/libc/bionic/
Dpthread.c163 void** tls = (void**)__get_tls(); in __get_thread() local
165 return (pthread_internal_t*) tls[TLS_SLOT_THREAD_ID]; in __get_thread()
179 void __init_tls(void** tls, void* thread) in __init_tls() argument
183 ((pthread_internal_t*)thread)->tls = tls; in __init_tls()
187 tls[TLS_SLOT_SELF] = (void*)tls; in __init_tls()
188 tls[TLS_SLOT_THREAD_ID] = thread; in __init_tls()
190 tls[nn] = 0; in __init_tls()
192 __set_tls( (void*)tls ); in __init_tls()
199 void __thread_entry(int (*func)(void*), void *arg, void **tls) in __thread_entry() argument
209 pthread_mutex_t * start_mutex = (pthread_mutex_t *)&tls[TLS_SLOT_SELF]; in __thread_entry()
[all …]
Dpthread_internal.h46 void** tls; /* thread-local storage area */ member