Lines Matching refs:tcb
226 static void update_tls_dtv(bionic_tcb* tcb) { in update_tls_dtv() argument
233 if (__get_tcb_dtv(tcb)->generation == atomic_load(&modules.generation)) { in update_tls_dtv()
237 const size_t old_cnt = __get_tcb_dtv(tcb)->count; in update_tls_dtv()
246 TlsDtv* const old_dtv = __get_tcb_dtv(tcb); in update_tls_dtv()
251 __set_tcb_dtv(tcb, new_dtv); in update_tls_dtv()
254 TlsDtv* const dtv = __get_tcb_dtv(tcb); in update_tls_dtv()
257 char* static_tls = reinterpret_cast<char*>(tcb) - layout.offset_bionic_tcb(); in update_tls_dtv()
281 bionic_tcb* tcb = __get_bionic_tcb(); in tls_get_addr_slow_path() local
288 update_tls_dtv(tcb); in tls_get_addr_slow_path()
290 TlsDtv* dtv = __get_tcb_dtv(tcb); in tls_get_addr_slow_path()
334 void __free_dynamic_tls(bionic_tcb* tcb) { in __free_dynamic_tls() argument
340 TlsDtv* dtv = __get_tcb_dtv(tcb); in __free_dynamic_tls()
365 tcb->tls_slot(TLS_SLOT_DTV) = nullptr; in __free_dynamic_tls()