Searched refs:__get_tls (Results 1 - 7 of 7) sorted by relevance

/bionic/libc/bionic/
H A D__errno.cpp35 return reinterpret_cast<int*>(&(__get_tls()[TLS_SLOT_ERRNO]));
H A Dlibc_init_dynamic.cpp69 void** tls = __get_tls();
H A Dpthread_internal.h126 return reinterpret_cast<pthread_internal_t*>(__get_tls()[TLS_SLOT_THREAD_ID]);
H A Dndk_cruft.cpp71 void** __get_tls() { function
72 #include "private/__get_tls.h"
73 return __get_tls();
/bionic/libc/private/
H A D__get_tls.h33 # define __get_tls() ({ void** __val; __asm__("mrs %0, tpidr_el0" : "=r"(__val)); __val; }) macro
35 # define __get_tls() ({ void** __val; __asm__("mrc p15, 0, %0, c13, c0, 3" : "=r"(__val)); __val; }) macro
37 # define __get_tls() \ macro
46 # define __get_tls() ({ void** __val; __asm__("movl %%gs:0, %0" : "=r"(__val)); __val; }) macro
48 # define __get_tls() ({ void** __val; __asm__("mov %%fs:0, %0" : "=r"(__val)); __val; }) macro
/bionic/tests/
H A Dstack_protector_test.cpp44 void* guard = __get_tls()[TLS_SLOT_STACK_GUARD];
/bionic/linker/
H A Ddlfcn.cpp36 char** dlerror_slot = &reinterpret_cast<char**>(__get_tls())[TLS_SLOT_DLERROR];

Completed in 874 milliseconds