Searched refs:globals (Results 1 – 11 of 11) sorted by relevance
/bionic/libc/bionic/ |
D | malloc_heapprofd.cpp | 127 __libc_globals.mutate([](libc_globals* globals) { in MaybeInstallInitHeapprofdHook() argument 128 atomic_store(&globals->default_dispatch_table, &__heapprofd_init_dispatch); in MaybeInstallInitHeapprofdHook() 130 if (dispatch_table == nullptr || dispatch_table == &globals->malloc_dispatch_table) { in MaybeInstallInitHeapprofdHook() 131 atomic_store(&globals->current_dispatch_table, &__heapprofd_init_dispatch); in MaybeInstallInitHeapprofdHook() 262 static void CommonInstallHooks(libc_globals* globals) { in CommonInstallHooks() argument 266 …impl_handle = LoadSharedLibrary(kHeapprofdSharedLib, kHeapprofdPrefix, &globals->malloc_dispatch_t… in CommonInstallHooks() 270 …} else if (!InitSharedLibrary(impl_handle, kHeapprofdSharedLib, kHeapprofdPrefix, &globals->malloc… in CommonInstallHooks() 274 if (FinishInstallHooks(globals, nullptr, kHeapprofdPrefix)) { in CommonInstallHooks() 283 void HeapprofdInstallHooksAtInit(libc_globals* globals) { in HeapprofdInstallHooksAtInit() argument 287 CommonInstallHooks(globals); in HeapprofdInstallHooksAtInit() [all …]
|
D | setjmp_cookie.cpp | 42 void __libc_init_setjmp_cookie(libc_globals* globals) { in __libc_init_setjmp_cookie() argument 47 globals->setjmp_cookie = value & ~1; in __libc_init_setjmp_cookie()
|
D | malloc_common_dynamic.cpp | 333 bool FinishInstallHooks(libc_globals* globals, const char* options, const char* prefix) { in FinishInstallHooks() argument 343 atomic_store(&globals->default_dispatch_table, &globals->malloc_dispatch_table); in FinishInstallHooks() 345 atomic_store(&globals->current_dispatch_table, &globals->malloc_dispatch_table); in FinishInstallHooks() 360 static bool InstallHooks(libc_globals* globals, const char* options, const char* prefix, in InstallHooks() argument 362 void* impl_handle = LoadSharedLibrary(shared_lib, prefix, &globals->malloc_dispatch_table); in InstallHooks() 367 if (!FinishInstallHooks(globals, options, prefix)) { in InstallHooks() 375 static void MallocInitImpl(libc_globals* globals) { in MallocInitImpl() argument 383 hook_installed = InstallHooks(globals, options, kDebugPrefix, kDebugSharedLib); in MallocInitImpl() 385 hook_installed = InstallHooks(globals, options, kHooksPrefix, kHooksSharedLib); in MallocInitImpl() 390 HeapprofdInstallHooksAtInit(globals); in MallocInitImpl() [all …]
|
D | malloc_heapprofd.h | 37 void HeapprofdInstallHooksAtInit(libc_globals* globals);
|
D | malloc_common_dynamic.h | 43 bool FinishInstallHooks(libc_globals* globals, const char* options, const char* prefix);
|
D | libc_init_common.cpp | 65 __libc_globals.mutate([](libc_globals* globals) { in __libc_init_globals() argument 66 __libc_init_vdso(globals); in __libc_init_globals() 67 __libc_init_setjmp_cookie(globals); in __libc_init_globals()
|
D | malloc_limit.cpp | 260 __libc_globals.mutate([](libc_globals* globals) { in EnableLimitDispatchTable() argument 261 atomic_store(&globals->current_dispatch_table, &__limit_dispatch); in EnableLimitDispatchTable() 281 __libc_globals.mutate([](libc_globals* globals) { in EnableLimitDispatchTable() argument 282 atomic_store(&globals->current_dispatch_table, &__limit_dispatch); in EnableLimitDispatchTable()
|
D | vdso.cpp | 76 void __libc_init_vdso(libc_globals* globals) { in __libc_init_vdso() argument 77 auto&& vdso = globals->vdso; in __libc_init_vdso()
|
D | libc_init_static.cpp | 236 static libc_shared_globals globals; in __libc_shared_globals() local 237 return &globals; in __libc_shared_globals()
|
/bionic/libc/private/ |
D | bionic_globals.h | 99 __LIBC_HIDDEN__ void __libc_init_malloc(libc_globals* globals); 100 __LIBC_HIDDEN__ void __libc_init_setjmp_cookie(libc_globals* globals); 101 __LIBC_HIDDEN__ void __libc_init_vdso(libc_globals* globals);
|
/bionic/libc/ |
D | Android.bp | 164 // Include `tzname`, `timezone`, and `daylight` globals.
|