Home
last modified time | relevance | path

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

/bionic/libc/arch-mips/bionic/
D__get_tls.c30 register void *tls asm("v1"); in __get_tls()
35 : "=r"(tls)); in __get_tls()
36 return tls; in __get_tls()
Dclone.S52 # sw $a1+16,8($a1) # tls
/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.c150 void** tls = (void**)__get_tls(); in __get_thread() local
152 return (pthread_internal_t*) tls[TLS_SLOT_THREAD_ID]; in __get_thread()
166 void __init_tls(void** tls, void* thread) in __init_tls() argument
170 ((pthread_internal_t*)thread)->tls = tls; in __init_tls()
174 tls[TLS_SLOT_SELF] = (void*)tls; in __init_tls()
175 tls[TLS_SLOT_THREAD_ID] = thread; in __init_tls()
177 tls[nn] = 0; in __init_tls()
179 __set_tls( (void*)tls ); in __init_tls()
186 void __thread_entry(int (*func)(void*), void *arg, void **tls) in __thread_entry() argument
193 pthread_mutex_t* start_mutex = (pthread_mutex_t*) &tls[TLS_SLOT_SELF]; in __thread_entry()
[all …]
Dpthread_internal.h47 void** tls; /* thread-local storage area */ member