Home
last modified time | relevance | path

Searched refs:__get_thread (Results 1 – 25 of 26) sorted by relevance

12

/bionic/libc/bionic/
Dpthread_exit.cpp53 pthread_internal_t* thread = __get_thread(); in __pthread_cleanup_push()
62 pthread_internal_t* thread = __get_thread(); in __pthread_cleanup_pop()
74 pthread_internal_t* thread = __get_thread(); in pthread_exit()
D__cxa_thread_atexit_impl.cpp42 pthread_internal_t* thread = __get_thread(); in __cxa_thread_atexit_impl()
52 pthread_internal_t* thread = __get_thread(); in __cxa_thread_finalize()
Dclone.cpp48 pthread_internal_t* self = __get_thread(); in __start_thread()
88 pthread_internal_t* self = __get_thread(); in clone()
D__errno.cpp35 return &__get_thread()->errno_value; in __errno()
Dpthread_self.cpp32 return reinterpret_cast<pthread_t>(__get_thread()); in pthread_self()
Dheap_tagging.cpp220 void* child_sp = __get_thread()->vfork_child_stack_bottom; in memtag_handle_vfork()
221 __get_thread()->vfork_child_stack_bottom = nullptr; in memtag_handle_vfork()
Dgettid.cpp35 pthread_internal_t* self = __get_thread(); in gettid()
Dpthread_internal.cpp95 if (thread == __get_thread()) return thread; in __pthread_internal_find()
169 if (t == __get_thread()) continue; in android_run_on_all_threads()
Dgetpid.cpp36 pthread_internal_t* self = __get_thread(); in __get_cached_pid()
Dndk_cruft.cpp361 #define __get_thread __real_get_thread macro
363 #undef __get_thread
368 pthread_internal_t* __get_thread() { in __get_thread() function
Dpthread_rwlock.cpp291 if (atomic_load_explicit(&rwlock->writer_tid, memory_order_relaxed) == __get_thread()->tid) { in __pthread_rwlock_timedrdlock()
354 atomic_store_explicit(&rwlock->writer_tid, __get_thread()->tid, memory_order_relaxed); in __pthread_rwlock_trywrlock()
363 if (atomic_load_explicit(&rwlock->writer_tid, memory_order_relaxed) == __get_thread()->tid) { in __pthread_rwlock_timedwrlock()
491 if (atomic_load_explicit(&rwlock->writer_tid, memory_order_relaxed) != __get_thread()->tid) { in pthread_rwlock_unlock()
Dexit.cpp40 __get_thread()->vfork_child_stack_bottom = __builtin_frame_address(0); in _exit()
Dfork.cpp39 pthread_internal_t* self = __get_thread(); in __clone_for_fork()
Dfdsan.cpp243 if (__get_thread()->is_vforked()) { in android_fdsan_close_with_tag()
297 if (__get_thread()->is_vforked()) { in android_fdsan_exchange_owner_tag()
337 if (__get_thread()->is_vforked()) { in android_fdsan_set_error_level()
Dandroid_unsafe_frame_pointer_chase.cpp38 return __get_thread()->stack_top; in __get_thread_stack_top()
Dpthread_mutex.cpp149 pid_t tid = __get_thread()->tid; in PIMutexTryLock()
192 pid_t tid = __get_thread()->tid; in PIMutexUnlock()
723 pid_t tid = __get_thread()->tid; in MutexLockWithTimeout()
870 pid_t tid = __get_thread()->tid; in pthread_mutex_unlock()
919 pid_t tid = __get_thread()->tid; in pthread_mutex_trylock()
Dpthread_internal.h221 static inline __always_inline pthread_internal_t* __get_thread() { in __get_thread() function
Dexec.cpp189 __get_thread()->vfork_child_stack_bottom = __builtin_frame_address(0); in execve()
Dlibc_init_common.cpp155 pthread_internal_t* main_thread = __get_thread(); in __libc_add_main_thread()
Dpthread_create.cpp333 pthread_internal_t* thread = __get_thread(); in __set_stack_and_tls_vma_name()
/bionic/libc/private/
Dbionic_fdtrack.h52 !__predict_false(__get_thread()->is_vforked())) { \
83 !__predict_false(__get_thread()->is_vforked())) { \
/bionic/linker/
Ddlfcn.cpp103 char* old_value = __get_thread()->current_dlerror; in __bionic_set_dlerror()
104 __get_thread()->current_dlerror = new_value; in __bionic_set_dlerror()
111 char* buffer = __get_thread()->dlerror_buffer; in __bionic_format_dlerror()
/bionic/tests/
Dunistd_test.cpp445 pthread_internal_t* self = __get_thread(); in TEST()
/bionic/libc/
Dlibc.map.txt1690 __get_thread; # arm x86
/bionic/tools/versioner/platforms/
Dlibc.map.txt1690 __get_thread; # arm x86

12