Searched refs:__get_tls (Results 1 – 16 of 16) sorted by relevance
/aosp12/bionic/libc/platform/bionic/ |
H A 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__("mov %%fs:0, %0" : "=r"(__val)); __val; }) macro
|
/aosp12/bionic/libc/bionic/ |
H A D | pthread_internal.h | 194 return reinterpret_cast<bionic_tcb*>(&__get_tls()[MIN_TLS_SLOT]); in __get_bionic_tcb() 199 return static_cast<pthread_internal_t*>(__get_tls()[TLS_SLOT_THREAD_ID]); in __get_thread() 203 return *static_cast<bionic_tls*>(__get_tls()[TLS_SLOT_BIONIC_TLS]); in __get_bionic_tls()
|
H A D | ndk_cruft.cpp | 75 void** __get_tls() { in __get_tls() function 77 return __get_tls(); in __get_tls()
|
H A D | libc_init_dynamic.cpp | 126 __stack_chk_guard = reinterpret_cast<uintptr_t>(__get_tls()[TLS_SLOT_STACK_GUARD]); in __libc_preinit()
|
/aosp12/bionic/libc/platform/ |
H A D | scudo_platform_tls_slot.h | 34 return reinterpret_cast<uintptr_t*>(&__get_tls()[TLS_SLOT_SANITIZER]); in getPlatformAllocatorTlsSlot()
|
/aosp12/bionic/tests/ |
H A D | __aeabi_read_tp_test.cpp | 39 ASSERT_EQ(__aeabi_read_tp(), static_cast<void*>(__get_tls())); in TEST()
|
H A D | stack_protector_test.cpp | 45 void* guard = __get_tls()[TLS_SLOT_STACK_GUARD]; in Check()
|
H A D | elftls_dl_test.cpp | 127 ASSERT_EQ(static_cast<void*>(__get_tls()), missing_weak_tls_addr()); in TEST() 129 ASSERT_EQ(static_cast<void*>(__get_tls()), missing_weak_tls_addr()); in TEST()
|
/aosp12/art/runtime/ |
H A D | thread-current-inl.h | 37 void* thread = __get_tls()[TLS_SLOT_ART_THREAD_SELF]; in Current()
|
H A D | thread_list.cc | 1352 __get_tls()[TLS_SLOT_ART_THREAD_SELF] = nullptr; in Unregister()
|
H A D | thread.cc | 953 __get_tls()[TLS_SLOT_ART_THREAD_SELF] = this; in Init() 2210 __get_tls()[TLS_SLOT_ART_THREAD_SELF] = self; in ThreadExitCallback()
|
/aosp12/frameworks/native/opengl/libs/ |
H A D | hooks.h | 85 volatile void *tls_base = __get_tls(); in get_tls_hooks()
|
/aosp12/frameworks/libs/native_bridge_support/linker/ |
H A D | __libc_init_main_thread.cpp | 53 __get_tls()[TLS_SLOT_BIONIC_TLS] = __get_thread()->bionic_tls; in __libc_init_main_thread_late()
|
/aosp12/bionic/docs/ |
H A 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();
|
/aosp12/bionic/libc/ |
H A D | libc.map.txt | 1671 __get_tls; # arm x86
|
/aosp12/bionic/tools/versioner/platforms/ |
H A D | libc.map.txt | 1671 __get_tls; # arm x86
|