Home
last modified time | relevance | path

Searched refs:layout (Results 1 – 13 of 13) sorted by relevance

/bionic/linker/
Dlinker_tls.cpp111 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.cpp156 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()
Dsys_thread_properties.cpp53 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()
Ddl_iterate_phdr_static.cpp68 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()
Dlibc_init_static.cpp137 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()
Dpthread_create.cpp202 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()
Dbionic_elf_tls.cpp257 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/
Dmd_u.h69 int layout; member
Dmd_p.h113 __u32 layout; member
132 __le32 layout; member
/bionic/docs/
Dfdtrack.md64 * Frame layout is a mess on 32-bit ARM: the ARM standard, clang, and GCC
Delf-tls.md42 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/
DAndroid.bp59 // Needed to test pthread_internal_t layout.
/bionic/libc/
DAndroid.bp1233 // 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