Searched refs:aligned_size (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/bionic/ |
D | bionic_elf_tls.cpp | 64 .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 …]
|
D | fdsan.cpp | 84 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()
|
D | libc_init_static.cpp | 141 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/ |
D | bionic_elf_tls.h | 62 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/ |
D | static_tls_layout_test.cpp | 148 TlsSegment seg = {.aligned_size = unflatten_size(config)}; in TEST()
|
/bionic/linker/ |
D | linker.cpp | 2870 if (!__bionic_check_tls_align(tls_segment.aligned_size.align.value)) { in prelink_image() 2872 tls_segment.aligned_size.align.value); in prelink_image()
|