Searched refs:tls (Results 1 – 7 of 7) sorted by relevance
30 register void *tls asm("v1"); in __get_tls()35 : "=r"(tls)); in __get_tls()36 return tls; in __get_tls()
52 # sw $a1+16,8($a1) # tls
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);
150 void** tls = (void**)__get_tls(); in __get_thread() local152 return (pthread_internal_t*) tls[TLS_SLOT_THREAD_ID]; in __get_thread()166 void __init_tls(void** tls, void* thread) in __init_tls() argument170 ((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() argument193 pthread_mutex_t* start_mutex = (pthread_mutex_t*) &tls[TLS_SLOT_SELF]; in __thread_entry()[all …]
47 void** tls; /* thread-local storage area */ member