Searched refs:tls (Results 1 – 5 of 5) sorted by relevance
34 void* tls; in __get_tls() local35 asm ( " movl %%gs:0, %0" : "=r"(tls) ); in __get_tls()36 return tls; in __get_tls()
17 # save tls
84 extern void __init_tls(void** tls, void* thread_info);
163 void** tls = (void**)__get_tls(); in __get_thread() local165 return (pthread_internal_t*) tls[TLS_SLOT_THREAD_ID]; in __get_thread()179 void __init_tls(void** tls, void* thread) in __init_tls() argument183 ((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() argument209 pthread_mutex_t * start_mutex = (pthread_mutex_t *)&tls[TLS_SLOT_SELF]; in __thread_entry()[all …]
46 void** tls; /* thread-local storage area */ member