Searched refs:layout (Results 1 – 13 of 13) sorted by relevance
/bionic/linker/ |
D | linker_tls.cpp | 111 StaticTlsLayout& layout = __libc_shared_globals()->static_tls_layout; in linker_setup_exe_static_tls() local 113 layout.reserve_exe_segment_and_tcb(nullptr, progname); in linker_setup_exe_static_tls() 115 …register_tls_module(somain, layout.reserve_exe_segment_and_tcb(&somain->get_tls()->segment, progna… in linker_setup_exe_static_tls() 142 StaticTlsLayout& layout = __libc_shared_globals()->static_tls_layout; in register_soinfo_tls() local 143 static_offset = layout.reserve_solib_segment(si_tls->segment); in register_soinfo_tls()
|
/bionic/libc/bionic/ |
D | __libc_init_main_thread.cpp | 156 const StaticTlsLayout& layout = __libc_shared_globals()->static_tls_layout; in __libc_init_main_thread_final() local 157 auto new_tcb = reinterpret_cast<bionic_tcb*>(mapping.static_tls + layout.offset_bionic_tcb()); in __libc_init_main_thread_final() 158 auto new_tls = reinterpret_cast<bionic_tls*>(mapping.static_tls + layout.offset_bionic_tls()); in __libc_init_main_thread_final()
|
D | sys_thread_properties.cpp | 53 const StaticTlsLayout& layout = __libc_shared_globals()->static_tls_layout; in __libc_get_static_tls_bounds() local 54 *stls_begin = reinterpret_cast<char*>(__get_bionic_tcb()) - layout.offset_bionic_tcb(); in __libc_get_static_tls_bounds() 55 *stls_end = reinterpret_cast<char*>(*stls_begin) + layout.size(); in __libc_get_static_tls_bounds()
|
D | dl_iterate_phdr_static.cpp | 68 const StaticTlsLayout& layout = __libc_shared_globals()->static_tls_layout; in dl_iterate_phdr() local 70 char* static_tls = reinterpret_cast<char*>(__get_bionic_tcb()) - layout.offset_bionic_tcb(); in dl_iterate_phdr()
|
D | libc_init_static.cpp | 137 StaticTlsLayout& layout = __libc_shared_globals()->static_tls_layout; in layout_static_tls() local 138 layout.reserve_bionic_tls(); in layout_static_tls() 151 mod.static_offset = layout.reserve_exe_segment_and_tcb(&mod.segment, progname); in layout_static_tls() 158 layout.reserve_exe_segment_and_tcb(nullptr, progname); in layout_static_tls() 163 layout.finish_layout(); in layout_static_tls()
|
D | pthread_create.cpp | 202 const StaticTlsLayout& layout = __libc_shared_globals()->static_tls_layout; in __allocate_thread_mapping() local 207 if (__builtin_add_overflow(mmap_size, layout.size(), &mmap_size)) return {}; in __allocate_thread_mapping() 242 result.static_tls = space + mmap_size - PTHREAD_GUARD_SIZE - layout.size(); in __allocate_thread_mapping() 288 const StaticTlsLayout& layout = __libc_shared_globals()->static_tls_layout; in __allocate_thread() local 289 auto tcb = reinterpret_cast<bionic_tcb*>(mapping.static_tls + layout.offset_bionic_tcb()); in __allocate_thread() 290 auto tls = reinterpret_cast<bionic_tls*>(mapping.static_tls + layout.offset_bionic_tls()); in __allocate_thread()
|
D | bionic_elf_tls.cpp | 257 const StaticTlsLayout& layout = __libc_shared_globals()->static_tls_layout; in update_tls_dtv() local 258 char* static_tls = reinterpret_cast<char*>(tcb) - layout.offset_bionic_tcb(); in update_tls_dtv()
|
/bionic/libc/kernel/uapi/linux/raid/ |
D | md_u.h | 69 int layout; member
|
D | md_p.h | 113 __u32 layout; member 132 __le32 layout; member
|
/bionic/docs/ |
D | fdtrack.md | 64 * Frame layout is a mess on 32-bit ARM: the ARM standard, clang, and GCC
|
D | elf-tls.md | 42 thread-specific data layout, but variant 1 is more problematic than variant 2. 586 ![Bionic TLS Layout in Android P](img/bionic-tls-layout-in-p.png) 612 variant 1 layout. This change shipped in NDK r14, and the NDK's build systems (ndk-build and the 652 The TLS prototype currently uses a patched LLD that uses a variant 1 TLS layout with a 16-word TCB 762 * memory layout is the same on all architectures, avoids native bridge complications 772 * Bionic's existing memory layout doesn't change, and arm32 and 32-bit x86 have the same layout 780 The layout conflict is apparently only a problem because an executable assumes that its TLS segment 785 the existing thread-specific memory layout untouched.
|
/bionic/tests/ |
D | Android.bp | 59 // Needed to test pthread_internal_t layout.
|
/bionic/libc/ |
D | Android.bp | 1233 // they can't be included in libc_ndk.a (as the layout of 1374 // code) and anything that is dependent on the layout of a
|