Searched refs:MIN_TLS_SLOT (Results 1 – 6 of 6) sorted by relevance
88 #define MIN_TLS_SLOT (-2) // update this value when reserving a slot macro109 #define MIN_TLS_SLOT 0 macro133 #define MIN_TLS_SLOT (-10) // update this value when reserving a slot macro149 #define BIONIC_TLS_SLOTS (MAX_TLS_SLOT - MIN_TLS_SLOT + 1)
162 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()
103 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()
123 return reinterpret_cast<bionic_tcb*>(&tp_reg[MIN_TLS_SLOT]); in __get_bionic_tcb_for_thread()
214 return reinterpret_cast<bionic_tcb*>(&__get_tls()[MIN_TLS_SLOT]); in __get_bionic_tcb()
65 return raw_slots_storage[tpindex - MIN_TLS_SLOT]; in tls_slot()