Searched refs:__get_tls (Results 1 – 11 of 11) sorted by relevance
/bionic/libc/platform/bionic/ |
D | tls.h | 32 # define __get_tls() ({ void** __val; __asm__("mrs %0, tpidr_el0" : "=r"(__val)); __val; }) macro 34 # define __get_tls() ({ void** __val; __asm__("mrc p15, 0, %0, c13, c0, 3" : "=r"(__val)); __val; }) macro 36 # define __get_tls() ({ void** __val; __asm__("movl %%gs:0, %0" : "=r"(__val)); __val; }) macro 38 # define __get_tls() ({ void** __val; __asm__("mv %0, tp" : "=r"(__val)); __val; }) macro 40 # define __get_tls() ({ void** __val; __asm__("mov %%fs:0, %0" : "=r"(__val)); __val; }) macro
|
/bionic/libc/bionic/ |
D | pthread_internal.h | 217 return reinterpret_cast<bionic_tcb*>(&__get_tls()[MIN_TLS_SLOT]); in __get_bionic_tcb() 222 return static_cast<pthread_internal_t*>(__get_tls()[TLS_SLOT_THREAD_ID]); in __get_thread() 226 return *static_cast<bionic_tls*>(__get_tls()[TLS_SLOT_BIONIC_TLS]); in __get_bionic_tls()
|
D | libc_init_dynamic.cpp | 128 __stack_chk_guard = reinterpret_cast<uintptr_t>(__get_tls()[TLS_SLOT_STACK_GUARD]); in __libc_preinit()
|
D | ndk_cruft.cpp | 75 void** __get_tls() { in __get_tls() function 77 return __get_tls(); in __get_tls()
|
/bionic/libc/platform/ |
D | scudo_platform_tls_slot.h | 34 return reinterpret_cast<uintptr_t*>(&__get_tls()[TLS_SLOT_SANITIZER]); in getPlatformAllocatorTlsSlot()
|
/bionic/tests/ |
D | __aeabi_read_tp_test.cpp | 39 ASSERT_EQ(__aeabi_read_tp(), static_cast<void*>(__get_tls())); in TEST()
|
D | stack_protector_test.cpp | 45 void* guard = __get_tls()[TLS_SLOT_STACK_GUARD]; in Check()
|
D | elftls_dl_test.cpp | 129 ASSERT_EQ(static_cast<void*>(__get_tls()), missing_weak_tls_addr()); in TEST() 131 ASSERT_EQ(static_cast<void*>(__get_tls()), missing_weak_tls_addr()); in TEST()
|
/bionic/docs/ |
D | elf-tls.md | 31 architecture-specific thread-pointer ([`__get_tls()`] in Bionic): 53 [`__get_tls()`]: https://android.googlesource.com/platform/bionic/+/7245c082658182c15d2a423fe770388… 180 return (char*)__get_tls() + tls_var_gotoff; 193 return (char*)__get_tls() + R_TLS_TPOFF(tls_var); 257 return (char*)__get_tls() + desc.resolver(desc.arg); 277 return (long)__tls_get_addr(arg) - (long)__get_tls(); 313 return (long)addr - (long)__get_tls();
|
/bionic/libc/ |
D | libc.map.txt | 1691 __get_tls; # arm x86
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 1691 __get_tls; # arm x86
|