Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dbionic_elf_tls.cpp299 void* mod_ptr = dtv->modules[module_idx]; in tls_get_addr_slow_path() local
300 if (mod_ptr == nullptr) { in tls_get_addr_slow_path()
302 mod_ptr = __libc_shared_globals()->tls_allocator.memalign(segment.alignment, segment.size); in tls_get_addr_slow_path()
304 memcpy(mod_ptr, segment.init_ptr, segment.init_size); in tls_get_addr_slow_path()
306 dtv->modules[module_idx] = mod_ptr; in tls_get_addr_slow_path()
310 modules.on_creation_cb(mod_ptr, in tls_get_addr_slow_path()
311 static_cast<void*>(static_cast<char*>(mod_ptr) + segment.size)); in tls_get_addr_slow_path()
315 return static_cast<char*>(mod_ptr) + ti->offset; in tls_get_addr_slow_path()
333 void* mod_ptr = dtv->modules[__tls_module_id_to_idx(ti->module_id)]; in TLS_GET_ADDR() local
334 if (__predict_true(mod_ptr != nullptr)) { in TLS_GET_ADDR()
[all …]