Searched refs:MIN_TLS_SLOT (Results 1 – 5 of 5) sorted by relevance
83 #define MIN_TLS_SLOT (-1) // update this value when reserving a slot macro103 #define MIN_TLS_SLOT 0 macro126 #define MIN_TLS_SLOT (-9) // update this value when reserving a slot macro141 #define BIONIC_TLS_SLOTS (MAX_TLS_SLOT - MIN_TLS_SLOT + 1)
89 return offset_bionic_tcb_ + (-MIN_TLS_SLOT * sizeof(void*)); in offset_thread_pointer()126 offset_bionic_tcb_ = result - exe_tpoff - (-MIN_TLS_SLOT * sizeof(void*)); in reserve_exe_segment_and_tcb()133 static_assert(MIN_TLS_SLOT == 0, "First slot of bionic_tcb must be slot #0 on x86"); in reserve_exe_segment_and_tcb()
124 return reinterpret_cast<bionic_tcb*>(&tp_reg[MIN_TLS_SLOT]); in __get_bionic_tcb_for_thread()
217 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()