Searched refs:__get_tls (Results 1 – 7 of 7) sorted by relevance
33 # define __get_tls() ({ void** __val; __asm__("mrs %0, tpidr_el0" : "=r"(__val)); __val; }) macro35 # define __get_tls() ({ void** __val; __asm__("mrc p15, 0, %0, c13, c0, 3" : "=r"(__val)); __val; }) macro37 # define __get_tls() \ macro46 # define __get_tls() ({ void** __val; __asm__("movl %%gs:0, %0" : "=r"(__val)); __val; }) macro48 # define __get_tls() ({ void** __val; __asm__("mov %%fs:0, %0" : "=r"(__val)); __val; }) macro
35 return reinterpret_cast<int*>(&(__get_tls()[TLS_SLOT_ERRNO])); in __errno()
69 void** tls = __get_tls(); in __libc_preinit()
119 return reinterpret_cast<pthread_internal_t*>(__get_tls()[TLS_SLOT_THREAD_ID]); in __get_thread()
71 extern "C" void** __get_tls() { in __get_tls() function73 return __get_tls(); in __get_tls()
37 char** dlerror_slot = &reinterpret_cast<char**>(__get_tls())[TLS_SLOT_DLERROR]; in __bionic_set_dlerror()
67 __get_tls; # arm x86 mips