Searched refs:mod (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/bionic/ |
D | libc_init_static.cpp | 140 static TlsModule mod; in layout_static_tls() local 142 if (__bionic_get_tls_segment(phdr_start, phdr_ct, 0, &mod.segment)) { in layout_static_tls() 143 if (!__bionic_check_tls_alignment(&mod.segment.alignment)) { in layout_static_tls() 145 progname, mod.segment.alignment); in layout_static_tls() 147 mod.static_offset = layout.reserve_exe_segment_and_tcb(&mod.segment, progname); in layout_static_tls() 148 mod.first_generation = kTlsGenerationFirst; in layout_static_tls() 151 modules.module_table = &mod; in layout_static_tls()
|
D | bionic_elf_tls.cpp | 262 const TlsModule& mod = modules.module_table[i]; in update_tls_dtv() local 263 if (mod.static_offset != SIZE_MAX) { in update_tls_dtv() 264 dtv->modules[i] = static_tls + mod.static_offset; in update_tls_dtv() 267 if (mod.first_generation != kTlsGenerationNone && in update_tls_dtv() 268 mod.first_generation <= dtv->generation) { in update_tls_dtv()
|
/bionic/linker/ |
D | linker_tls.cpp | 90 TlsModule& mod = g_tls_modules[__tls_module_id_to_idx(si_tls->module_id)]; in unregister_tls_module() local 91 CHECK(mod.static_offset == SIZE_MAX); in unregister_tls_module() 92 CHECK(mod.soinfo_ptr == si); in unregister_tls_module() 93 mod = {}; in unregister_tls_module()
|
D | linker.cpp | 3099 const TlsModule& mod = get_tls_module(lsi->get_tls()->module_id); in relocate() local 3100 if (mod.static_offset != SIZE_MAX) { in relocate() 3101 tpoff += mod.static_offset - tls_tp_base; in relocate() 3162 const TlsModule& mod = get_tls_module(module_id); in relocate() local 3163 if (mod.static_offset != SIZE_MAX) { in relocate() 3165 desc->arg = mod.static_offset - tls_tp_base + sym_addr + addend; in relocate() 3167 reinterpret_cast<void*>(reloc), mod.static_offset, tls_tp_base, in relocate() 3171 .generation = mod.first_generation, in relocate()
|
/bionic/libc/upstream-openbsd/lib/libc/net/ |
D | res_random.c | 114 pmod(u_int16_t gen, u_int16_t exp, u_int16_t mod) in pmod() argument 124 s = (s * t) % mod; in pmod() 126 t = (t * t) % mod; in pmod()
|