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

/bionic/libc/arch-sh/bionic/
H A D__get_tls.c30 * address of the tls region
34 void *tls; local
35 asm volatile("stc gbr, %0" : "=r"(tls));
36 return tls;
/bionic/libc/arch-x86/bionic/
H A D__get_tls.c30 * address of the tls region
34 void* tls; local
35 asm ( " movl %%gs:0, %0" : "=r"(tls) );
36 return tls;
/bionic/libc/private/
H A Dbionic_tls.h84 extern void __init_tls(void** tls, void* thread_info);
/bionic/libc/bionic/
H A Dpthread.c156 void** tls = (void**)__get_tls(); local
158 return (pthread_internal_t*) tls[TLS_SLOT_THREAD_ID];
172 void __init_tls(void** tls, void* thread) argument
176 ((pthread_internal_t*)thread)->tls = tls;
178 // slot 0 must point to the tls area, this is required by the implementation
180 tls[TLS_SLOT_SELF] = (void*)tls;
181 tls[TLS_SLOT_THREAD_ID] = thread;
183 tls[n
192 __thread_entry(int (*func)(void*), void *arg, void **tls) argument
293 void** tls; local
1766 void** tls = (void**)__get_tls(); local
[all...]
H A Dpthread_internal.h46 void** tls; /* thread-local storage area */ member in struct:pthread_internal_t

Completed in 110 milliseconds