Home
last modified time | relevance | path

Searched refs:TlsAlignedSize (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/private/
Dbionic_elf_tls.h51 struct TlsAlignedSize { struct
56 static constexpr TlsAlignedSize of_type() { in of_type() argument
57 return TlsAlignedSize{.size = sizeof(T), .align = TlsAlign::of_type<T>()}; in of_type()
62 TlsAlignedSize aligned_size;
108 size_t reserve(TlsAlignedSize aligned_size);
109 TpAllocations reserve_tp_pair(TlsAlignedSize before, TlsAlignedSize after);
112 return reserve(TlsAlignedSize::of_type<T>()); in reserve_type()
/bionic/libc/bionic/
Dbionic_elf_tls.cpp65 TlsAlignedSize{ in __bionic_get_tls_segment()
151 reserve_tp_pair(TlsAlignedSize{.size = tcb_size_pre}, in reserve_exe_segment_and_tcb()
152 TlsAlignedSize{.size = tcb_size_post, .align = TlsAlign{.value = max_align}}); 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()
230 StaticTlsLayout::TpAllocations StaticTlsLayout::reserve_tp_pair(TlsAlignedSize before, in reserve_tp_pair()
231 TlsAlignedSize after) { in reserve_tp_pair()
/bionic/tests/
Dstatic_tls_layout_test.cpp48 static TlsAlignedSize unflatten_size(AlignedSizeFlat flat) { in unflatten_size()
49 return TlsAlignedSize{.size = flat.size, in unflatten_size()