Searched refs:tls (Results 1 – 11 of 11) sorted by relevance
/bionic/libc/bionic/ |
D | strsignal.cpp | 43 bionic_tls& tls = __get_bionic_tls(); in strsignal() local 44 …return const_cast<char*>(__strsignal(signal_number, tls.strsignal_buf, sizeof(tls.strsignal_buf))); in strsignal()
|
D | strerror.cpp | 42 bionic_tls& tls = __get_bionic_tls(); in strerror() local 43 result = tls.strerror_buf; in strerror() 44 strerror_r(error_number, result, sizeof(tls.strerror_buf)); in strerror()
|
D | libc_init_dynamic.cpp | 85 void** tls = __get_tls(); in __libc_preinit() local 86 …KernelArgumentBlock** args_slot = &reinterpret_cast<KernelArgumentBlock**>(tls)[TLS_SLOT_BIONIC_PR… in __libc_preinit() 95 __stack_chk_guard = reinterpret_cast<uintptr_t>(tls[TLS_SLOT_STACK_GUARD]); in __libc_preinit()
|
D | pty.cpp | 54 bionic_tls& tls = __get_bionic_tls(); in ptsname() local 55 char* buf = tls.ptsname_buf; in ptsname() 56 int error = ptsname_r(fd, buf, sizeof(tls.ptsname_buf)); in ptsname() 81 bionic_tls& tls = __get_bionic_tls(); in ttyname() local 82 char* buf = tls.ttyname_buf; in ttyname() 83 int error = ttyname_r(fd, buf, sizeof(tls.ttyname_buf)); in ttyname()
|
D | mntent.cpp | 35 auto& tls = __get_bionic_tls(); in getmntent() local 36 return getmntent_r(fp, &tls.mntent_buf, tls.mntent_strings, sizeof(tls.mntent_strings)); in getmntent()
|
D | pthread_internal.h | 103 void* tls[BIONIC_TLS_SLOTS]; variable 129 void** tls = __get_tls(); in __get_thread() local 130 if (__predict_true(tls)) { in __get_thread() 131 return reinterpret_cast<pthread_internal_t*>(tls[TLS_SLOT_THREAD_ID]); in __get_thread()
|
D | pthread_create.cpp | 55 thread->tls[TLS_SLOT_SELF] = thread->tls; in __init_tls() 56 thread->tls[TLS_SLOT_THREAD_ID] = thread; in __init_tls() 84 thread->tls[TLS_SLOT_STACK_GUARD] = reinterpret_cast<void*>(__stack_chk_guard); in __init_thread_stack_guard() 274 void* tls = reinterpret_cast<void*>(thread->tls); in pthread_create() local 279 __init_user_desc(&tls_descriptor, false, tls); in pthread_create() 280 tls = &tls_descriptor; in pthread_create() 282 int rc = clone(__pthread_start, child_stack, flags, thread, &(thread->tid), tls, &(thread->tid)); in pthread_create()
|
D | __libc_init_main_thread.cpp | 72 __set_tls(main_thread.tls); in __libc_init_main_thread() 101 main_thread.tls[TLS_SLOT_BIONIC_PREINIT] = &args; in __libc_init_main_thread()
|
D | clone.cpp | 37 extern "C" pid_t __bionic_clone(uint32_t flags, void* child_stack, int* parent_tid, void* tls, int*…
|
/bionic/libc/arch-arm64/bionic/ |
D | __set_tls.c | 31 __LIBC_HIDDEN__ void __set_tls(void* tls) { in __set_tls() argument 32 asm("msr tpidr_el0, %0" : : "r" (tls)); in __set_tls()
|
/bionic/libc/arch-x86/bionic/ |
D | __bionic_clone.S | 19 movl 28(%esp), %esi # tls
|