Searched refs:__libc_shared_globals (Results 1 – 20 of 20) sorted by relevance
/bionic/linker/ |
D | linker_debuggerd_android.cpp | 39 .abort_msg = __libc_shared_globals()->abort_msg, in get_process_info() 40 .fdsan_table = &__libc_shared_globals()->fd_table, in get_process_info() 41 .gwp_asan_state = __libc_shared_globals()->gwp_asan_state, in get_process_info() 42 .gwp_asan_metadata = __libc_shared_globals()->gwp_asan_metadata, in get_process_info() 43 .scudo_stack_depot = __libc_shared_globals()->scudo_stack_depot, in get_process_info() 44 .scudo_region_info = __libc_shared_globals()->scudo_region_info, in get_process_info()
|
D | linker_tls.cpp | 53 __libc_shared_globals()->tls_modules.module_count = g_tls_modules.size(); in get_unused_module_index() 54 __libc_shared_globals()->tls_modules.module_table = g_tls_modules.data(); in get_unused_module_index() 59 TlsModules& libc_modules = __libc_shared_globals()->tls_modules; in register_tls_module() 87 ScopedWriteLock locker(&__libc_shared_globals()->tls_modules.rwlock); in unregister_tls_module() 106 __libc_shared_globals()->static_tls_layout.reserve_bionic_tls(); in __linker_reserve_bionic_tls_in_static_tls() 111 StaticTlsLayout& layout = __libc_shared_globals()->static_tls_layout; in linker_setup_exe_static_tls() 130 __libc_shared_globals()->static_tls_layout.finish_layout(); in linker_finalize_static_tls() 140 StaticTlsLayout& layout = __libc_shared_globals()->static_tls_layout; in register_soinfo_tls()
|
D | linker_main.cpp | 610 if (__libc_shared_globals()->auxv != nullptr) { in detect_self_exec() 727 __libc_shared_globals()->initial_linker_arg_count = 1; in __linker_init_post_relocation() 732 g_argc = args.argc - __libc_shared_globals()->initial_linker_arg_count; in __linker_init_post_relocation() 733 g_argv = args.argv + __libc_shared_globals()->initial_linker_arg_count; in __linker_init_post_relocation() 735 __libc_shared_globals()->init_progname = g_argv[0]; in __linker_init_post_relocation()
|
D | dlfcn.cpp | 302 return __libc_shared_globals(); in __loader_shared_globals()
|
D | linker.cpp | 370 const StaticTlsLayout& layout = __libc_shared_globals()->static_tls_layout; in get_tls_block_for_this_thread() 1758 if (__libc_shared_globals()->load_hook) { in find_libraries() 1759 __libc_shared_globals()->load_hook(si->load_bias, si->phdr, si->phnum); in find_libraries() 1900 if (__libc_shared_globals()->unload_hook) { in soinfo_unload_impl() 1901 __libc_shared_globals()->unload_hook(si->load_bias, si->phdr, si->phnum); in soinfo_unload_impl()
|
D | linker_relocate.cpp | 587 relocator.tls_tp_base = __libc_shared_globals()->static_tls_layout.offset_thread_pointer(); in relocate()
|
/bionic/libc/bionic/ |
D | libc_init_dynamic.cpp | 87 TlsModules& tls_modules = __libc_shared_globals()->tls_modules; in __libc_preinit_impl() 105 __libc_shared_globals()->load_hook = __hwasan_library_loaded; in __libc_preinit_impl() 106 __libc_shared_globals()->unload_hook = __hwasan_library_unloaded; in __libc_preinit_impl() 151 exit(slingshot(args.argc - __libc_shared_globals()->initial_linker_arg_count, in __libc_init() 152 args.argv + __libc_shared_globals()->initial_linker_arg_count, in __libc_init() 158 __LIBC_HIDDEN__ libc_shared_globals* __libc_shared_globals() { in __libc_shared_globals() function
|
D | bionic_elf_tls.cpp | 183 TlsModules& modules = __libc_shared_globals()->tls_modules; in __init_static_tls() 216 size_t loaded_cnt = __libc_shared_globals()->tls_modules.module_count; in calculate_new_dtv_count() 227 const TlsModules& modules = __libc_shared_globals()->tls_modules; in update_tls_dtv() 228 BionicAllocator& allocator = __libc_shared_globals()->tls_allocator; in update_tls_dtv() 256 const StaticTlsLayout& layout = __libc_shared_globals()->static_tls_layout; in update_tls_dtv() 280 TlsModules& modules = __libc_shared_globals()->tls_modules; in tls_get_addr_slow_path() 295 mod_ptr = __libc_shared_globals()->tls_allocator.memalign(segment.alignment, segment.size); in tls_get_addr_slow_path() 335 TlsModules& modules = __libc_shared_globals()->tls_modules; in __free_dynamic_tls() 336 BionicAllocator& allocator = __libc_shared_globals()->tls_allocator; in __free_dynamic_tls()
|
D | android_set_abort_message.cpp | 72 ScopedPthreadMutexLocker locker(&__libc_shared_globals()->abort_msg_lock); in android_set_abort_message() 74 if (__libc_shared_globals()->abort_msg != nullptr) { in android_set_abort_message() 94 __libc_shared_globals()->abort_msg = &new_magic_abort_message->msg; in android_set_abort_message()
|
D | libc_init_static.cpp | 132 StaticTlsLayout& layout = __libc_shared_globals()->static_tls_layout; in layout_static_tls() 140 TlsModules& modules = __libc_shared_globals()->tls_modules; in layout_static_tls() 172 __libc_shared_globals()->init_progname = args.argv[0]; in __real_libc_init() 235 __LIBC_HIDDEN__ libc_shared_globals* __libc_shared_globals() { in __libc_shared_globals() function
|
D | libc_init_common.cpp | 105 environ = __libc_shared_globals()->init_environ; in __libc_init_common() 107 setprogname(__libc_shared_globals()->init_progname ?: "<unknown>"); in __libc_init_common() 345 environ = __libc_shared_globals()->init_environ = env; in __libc_init_AT_SECURE()
|
D | dl_iterate_phdr_static.cpp | 62 const TlsModules& tls_modules = __libc_shared_globals()->tls_modules; in dl_iterate_phdr() 68 const StaticTlsLayout& layout = __libc_shared_globals()->static_tls_layout; in dl_iterate_phdr()
|
D | __libc_init_main_thread.cpp | 75 __libc_shared_globals()->auxv = args.auxv; in __libc_init_main_thread_early() 147 const StaticTlsLayout& layout = __libc_shared_globals()->static_tls_layout; in __libc_init_main_thread_final()
|
D | gwp_asan_wrappers.cpp | 77 __libc_shared_globals()->gwp_asan_state = GuardedAlloc.getAllocatorState(); in gwp_asan_initialize() 78 __libc_shared_globals()->gwp_asan_metadata = GuardedAlloc.getMetadataRegion(); in gwp_asan_initialize()
|
D | getauxval.cpp | 41 for (ElfW(auxv_t)* v = __libc_shared_globals()->auxv; v->a_type != AT_NULL; ++v) { in __bionic_getauxval()
|
D | pthread_create.cpp | 200 const StaticTlsLayout& layout = __libc_shared_globals()->static_tls_layout; in __allocate_thread_mapping() 286 const StaticTlsLayout& layout = __libc_shared_globals()->static_tls_layout; in __allocate_thread()
|
D | malloc_common_dynamic.cpp | 380 __libc_shared_globals()->scudo_stack_depot = __scudo_get_stack_depot_addr(); in MallocInitImpl() 381 __libc_shared_globals()->scudo_region_info = __scudo_get_region_info_addr(); in MallocInitImpl()
|
D | fdsan.cpp | 116 return __libc_shared_globals()->fd_table; in GetFdTable()
|
/bionic/libc/private/ |
D | bionic_globals.h | 111 __LIBC_HIDDEN__ libc_shared_globals* __libc_shared_globals();
|
/bionic/docs/ |
D | elf-tls.md | 508 `__libc_shared_globals` variable (see `tls_modules()` in [linker_tls.cpp][tls_modules-linker] and
|