Home
last modified time | relevance | path

Searched refs:dso_handle (Results 1 – 7 of 7) sorted by relevance

/bionic/libc/bionic/
D__cxa_thread_atexit_impl.cpp26 void *dso_handle; // unused... member in thread_local_dtor
30 extern "C" int __cxa_thread_atexit_impl(void (*func) (void *), void *arg, void *dso_handle);
31 extern "C" void __loader_add_thread_local_dtor(void* dso_handle) __attribute__((weak));
32 extern "C" void __loader_remove_thread_local_dtor(void* dso_handle) __attribute__((weak));
35 int __cxa_thread_atexit_impl(void (*func) (void *), void *arg, void *dso_handle) { in __cxa_thread_atexit_impl() argument
40 dtor->dso_handle = dso_handle; in __cxa_thread_atexit_impl()
46 __loader_add_thread_local_dtor(dso_handle); in __cxa_thread_atexit_impl()
59 __loader_remove_thread_local_dtor(current->dso_handle); in __cxa_thread_finalize()
Dpthread_atfork.cpp43 void* dso_handle; member
165 entry->dso_handle = dso; in __register_atfork()
179 return entry->dso_handle == dso; in __unregister_atfork()
Dexit.cpp34 extern "C" void __cxa_finalize(void* dso_handle);
/bionic/libc/arch-arm/bionic/
D__aeabi.c52 __aeabi_atexit_impl(void *object, void (*destructor) (void *), void *dso_handle) { in __aeabi_atexit_impl() argument
53 return __cxa_atexit(destructor, object, dso_handle); in __aeabi_atexit_impl()
57 __aeabi_atexit_impl2(void *object, void (*destructor) (void *), void *dso_handle) { in __aeabi_atexit_impl2() argument
58 return __cxa_atexit(destructor, object, dso_handle); in __aeabi_atexit_impl2()
/bionic/linker/
Ddlfcn.cpp89 void __loader_add_thread_local_dtor(void* dso_handle) __LINKER_PUBLIC__;
90 void __loader_remove_thread_local_dtor(void* dso_handle) __LINKER_PUBLIC__;
291 void __loader_add_thread_local_dtor(void* dso_handle) { in __loader_add_thread_local_dtor() argument
293 increment_dso_handle_reference_counter(dso_handle); in __loader_add_thread_local_dtor()
296 void __loader_remove_thread_local_dtor(void* dso_handle) { in __loader_remove_thread_local_dtor() argument
298 decrement_dso_handle_reference_counter(dso_handle); in __loader_remove_thread_local_dtor()
Dlinker.h172 void increment_dso_handle_reference_counter(void* dso_handle);
173 void decrement_dso_handle_reference_counter(void* dso_handle);
/bionic/tests/
D__cxa_thread_atexit_test.cpp76 extern "C" int __cxa_thread_atexit_impl(void (*fn)(void*), void* arg, void* dso_handle);