Searched refs:dtv (Results 1 – 5 of 5) sorted by relevance
264 TlsDtv* const dtv = __get_tcb_dtv(tcb); in update_tls_dtv() local270 for (size_t i = 0; i < dtv->count; ++i) { in update_tls_dtv()274 dtv->modules[i] = static_tls + mod.static_offset; in update_tls_dtv()278 mod.first_generation <= dtv->generation) { in update_tls_dtv()283 void* dtls_begin = dtv->modules[i]; in update_tls_dtv()288 allocator.free(dtv->modules[i]); in update_tls_dtv()289 dtv->modules[i] = nullptr; in update_tls_dtv()292 dtv->generation = atomic_load(&modules.generation); in update_tls_dtv()306 TlsDtv* dtv = __get_tcb_dtv(tcb); in tls_get_addr_slow_path() local308 void* mod_ptr = dtv->modules[module_idx]; in tls_get_addr_slow_path()[all …]
133 TlsDtv* const dtv = __get_tcb_dtv(tcb); in __libc_iterate_dynamic_tls() local136 for (size_t i = modules.static_module_count; i < dtv->count; ++i) { in __libc_iterate_dynamic_tls()137 void* dtls_begin = dtv->modules[i]; in __libc_iterate_dynamic_tls()
165 auto dtv = []() -> TlsDtv* { return __get_tcb_dtv(__get_bionic_tcb()); }; in TEST() local177 TlsDtv* zero_dtv = dtv(); in TEST()188 TlsDtv* initial_dtv = dtv(); in TEST()200 ASSERT_EQ(5u, dtv()->count); in TEST()203 ASSERT_EQ(13u, dtv()->count); in TEST()207 TlsDtv* new_dtv = dtv(); in TEST()218 ASSERT_EQ(new_dtv, dtv()); in TEST()248 auto dtv = []() -> TlsDtv* { return __get_tcb_dtv(__get_bionic_tcb()); }; in TEST() local265 count = dtv()->count; in TEST()267 ASSERT_EQ(count, dtv()->count); in TEST()
305 TlsDtv* dtv = __get_dtv();307 if (dtv->generation >= arg->first_generation &&308 dtv->modules[arg->idx.module] != nullptr) {309 addr = dtv->modules[arg->idx.module] + arg->idx.offset;
409 TlsDtv* dtv = __get_tcb_dtv(__get_bionic_tcb()); in get_tls_block_for_this_thread() local410 if (dtv->generation < tls_mod.first_generation) return nullptr; in get_tls_block_for_this_thread()411 return dtv->modules[__tls_module_id_to_idx(si_tls->module_id)]; in get_tls_block_for_this_thread()