Home
last modified time | relevance | path

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

/bionic/libc/platform/bionic/
Dtls_defines.h88 #define MIN_TLS_SLOT (-2) // update this value when reserving a slot macro
109 #define MIN_TLS_SLOT 0 macro
133 #define MIN_TLS_SLOT (-10) // update this value when reserving a slot macro
149 #define BIONIC_TLS_SLOTS (MAX_TLS_SLOT - MIN_TLS_SLOT + 1)
/bionic/tests/
Dstatic_tls_layout_test.cpp162 const size_t base8 = __BIONIC_ALIGN(-MIN_TLS_SLOT, 8) * sizeof(void*); in TEST()
163 const size_t base16 = __BIONIC_ALIGN(-MIN_TLS_SLOT, 16) * sizeof(void*); in TEST()
169 EXPECT_EQ(base8 + MIN_TLS_SLOT * sizeof(void*), layout.offset_bionic_tcb()); in TEST()
/bionic/libc/bionic/
Dbionic_elf_tls.cpp103 return offset_bionic_tcb_ + (-MIN_TLS_SLOT * sizeof(void*)); in offset_thread_pointer()
141 static_assert(MIN_TLS_SLOT <= 0 && MAX_TLS_SLOT >= 1); in reserve_exe_segment_and_tcb()
142 static_assert(sizeof(bionic_tcb) == (MAX_TLS_SLOT - MIN_TLS_SLOT + 1) * sizeof(void*)); in reserve_exe_segment_and_tcb()
148 const size_t tcb_size_pre = -MIN_TLS_SLOT * sizeof(void*); in reserve_exe_segment_and_tcb()
Dsys_thread_properties.cpp123 return reinterpret_cast<bionic_tcb*>(&tp_reg[MIN_TLS_SLOT]); in __get_bionic_tcb_for_thread()
Dpthread_internal.h214 return reinterpret_cast<bionic_tcb*>(&__get_tls()[MIN_TLS_SLOT]); in __get_bionic_tcb()
/bionic/libc/private/
Dbionic_tls.h65 return raw_slots_storage[tpindex - MIN_TLS_SLOT]; in tls_slot()