Home
last modified time | relevance | path

Searched refs:aligned_size (Results 1 – 6 of 6) sorted by relevance

/bionic/libc/bionic/
Dbionic_elf_tls.cpp64 .aligned_size = in __bionic_get_tls_segment()
144 const size_t max_align = MAX(alignof(bionic_tcb), seg->aligned_size.align.value); in reserve_exe_segment_and_tcb()
157 offset_exe_ = reserve(seg->aligned_size); in reserve_exe_segment_and_tcb()
161 const size_t abi_tpoff = align_checked(2 * sizeof(void*), seg->aligned_size.align); in reserve_exe_segment_and_tcb()
162 const size_t actual_tpoff = align_checked(tcb_size_post, seg->aligned_size.align); in reserve_exe_segment_and_tcb()
169 progname, seg->aligned_size.align.value, seg->aligned_size.align.skew, tcb_size_post, in reserve_exe_segment_and_tcb()
175 auto pair = reserve_tp_pair(seg->aligned_size, TlsAlignedSize::of_type<bionic_tcb>()); in reserve_exe_segment_and_tcb()
182 auto pair = reserve_tp_pair(TlsAlignedSize::of_type<bionic_tcb>(), seg->aligned_size); in reserve_exe_segment_and_tcb()
216 size_t StaticTlsLayout::reserve(TlsAlignedSize aligned_size) { in reserve() argument
217 align_cursor(aligned_size.align); in reserve()
[all …]
Dfdsan.cpp84 size_t aligned_size = __BIONIC_ALIGN(required_size, page_size()); in at() local
85 size_t aligned_count = (aligned_size - sizeof(FdTableOverflow)) / sizeof(FdEntry); in at()
88 mmap(nullptr, aligned_size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in at()
100 munmap(allocation, aligned_size); in at()
Dlibc_init_static.cpp141 if (!__bionic_check_tls_align(mod.segment.aligned_size.align.value)) { in layout_static_tls()
143 progname, mod.segment.aligned_size.align.value); in layout_static_tls()
/bionic/libc/private/
Dbionic_elf_tls.h62 TlsAlignedSize aligned_size; member
85 size_t reserve_solib_segment(const TlsSegment& segment) { return reserve(segment.aligned_size); } in reserve_solib_segment()
108 size_t reserve(TlsAlignedSize aligned_size);
/bionic/tests/
Dstatic_tls_layout_test.cpp148 TlsSegment seg = {.aligned_size = unflatten_size(config)}; in TEST()
/bionic/linker/
Dlinker.cpp2870 if (!__bionic_check_tls_align(tls_segment.aligned_size.align.value)) { in prelink_image()
2872 tls_segment.aligned_size.align.value); in prelink_image()