Home
last modified time | relevance | path

Searched full:dtv (Results 1 – 25 of 43) sorted by relevance

12

/freebsd-head/lib/libc/gen/
HDtls.c83 uintptr_t *dtv; in __libc_tls_get_addr() local
86 dtv = _tcb_get()->tcb_dtv; in __libc_tls_get_addr()
88 return ((char *)(dtv[ti->ti_module + 1] + ti->ti_offset) + in __libc_tls_get_addr()
146 * points to DTV vector and DTV values are real addresses (without bias).
152 * any alignment gap[4]. Only TLS should be aligned. The TCB[0] points to DTV
153 * vector and DTV values are biased by constant value (TLS_DTV_OFFSET) from
204 Elf_Addr *dtv; in __libc_free_tls() local
208 dtv = tls[0]; in __libc_free_tls()
209 __je_bootstrap_free(dtv); in __libc_free_tls()
236 Elf_Addr *dtv, **tcb; in __libc_allocate_tls() local
[all …]
/freebsd-head/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
HDsanitizer_tls_get_addr.cpp68 static DTLS::DTV *DTLS_Find(uptr id) { in DTLS_Find()
113 DTLS::DTV *DTLS_on_tls_get_addr(void *arg_void, void *res, in DTLS_on_tls_get_addr()
118 DTLS::DTV *dtv = DTLS_Find(dso_id); in DTLS_on_tls_get_addr() local
119 if (!dtv || dtv->beg) in DTLS_on_tls_get_addr()
149 dtv->beg = tls_beg; in DTLS_on_tls_get_addr()
150 dtv->size = tls_size; in DTLS_on_tls_get_addr()
151 return dtv; in DTLS_on_tls_get_addr()
170 DTLS::DTV *DTLS_on_tls_get_addr(void *arg, void *res,
HDsanitizer_tls_get_addr.h47 struct DTV { struct
52 DTV dtvs[(4096UL - sizeof(next)) / sizeof(DTLS::DTV)]; argument
77 DTLS::DTV *DTLS_on_tls_get_addr(void *arg, void *res, uptr static_tls_begin,
/freebsd-head/contrib/llvm-project/compiler-rt/lib/msan/
HDmsan_thread.cpp40 ForEachDVT(dtls, [](const DTLS::DTV &dtv, int id) { in ClearShadowForThreadStackAndTLS() argument
41 __msan_unpoison((void *)(dtv.beg), dtv.size); in ClearShadowForThreadStackAndTLS()
/freebsd-head/contrib/llvm-project/compiler-rt/lib/dfsan/
HDdfsan_thread.cpp41 ForEachDVT(dtls, [](const DTLS::DTV &dtv, int id) { in ClearShadowForThreadStackAndTLS() argument
42 dfsan_set_label(0, (void *)(dtv.beg), dtv.size); in ClearShadowForThreadStackAndTLS()
HDdfsan_interceptors.cpp185 DTLS::DTV *dtv = DTLS_on_tls_get_addr(arg, res, tls_begin, tls_end); in INTERCEPTOR() local
186 if (dtv) { in INTERCEPTOR()
188 COMMON_INTERCEPTOR_INITIALIZE_RANGE((void *)dtv->beg, dtv->size); in INTERCEPTOR()
/freebsd-head/libexec/rtld-elf/aarch64/
HDrtld_start.S168 ldr x0, [x4] /* DTV pointer */
169 ldr x2, [x0] /* dtv[0] (generation count) */
172 b.ne 1f /* dtv[0] != tlsdec->dtv_gen */
176 ldr x3, [x0, w2, sxtw #3] /* dtv[tlsdesc->tls_index + 1] */
179 /* Return (dtv[tlsdesc->tls_index + 1] + tlsdesc->tls_offs - tp) */
/freebsd-head/libexec/rtld-elf/
HDrtld.c300 Elf_Addr tls_dtv_generation = 1; /* Used to detect when dtv size changes */
5285 Elf_Addr *newdtv, *dtv; in tls_get_addr_slow() local
5289 dtv = *dtvp; in tls_get_addr_slow()
5290 /* Check dtv generation in case new modules have arrived */ in tls_get_addr_slow()
5291 if (dtv[0] != tls_dtv_generation) { in tls_get_addr_slow()
5295 to_copy = dtv[1]; in tls_get_addr_slow()
5298 memcpy(&newdtv[2], &dtv[2], to_copy * sizeof(Elf_Addr)); in tls_get_addr_slow()
5301 free(dtv); in tls_get_addr_slow()
5304 dtv = *dtvp = newdtv; in tls_get_addr_slow()
5308 if (dtv[index + 1] == 0) { in tls_get_addr_slow()
[all …]
/freebsd-head/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/
HDHexagonDYLDRendezvous.h52 uint32_t dtv_offset; // offset of DTV pointer within pthread
53 uint32_t dtv_slot_size; // size of one DTV slot
55 uint32_t tls_offset; // offset of TLS pointer within DTV slot
HDDynamicLoaderHexagonDYLD.cpp578 // Lookup the DTV structure for this thread. in GetThreadLocalData()
580 addr_t dtv = ReadPointer(dtv_ptr); in GetThreadLocalData() local
581 if (dtv == LLDB_INVALID_ADDRESS) in GetThreadLocalData()
585 addr_t dtv_slot = dtv + metadata.dtv_slot_size * modid; in GetThreadLocalData()
/freebsd-head/contrib/llvm-project/clang/lib/CodeGen/
HDObjectFilePCHContainerOperations.cpp198 DebugTypeVisitor DTV(*Builder->getModuleDebugInfo(), *Ctx); in HandleTopLevelDecl() local
199 DTV.TraverseDecl(I); in HandleTopLevelDecl()
228 DebugTypeVisitor DTV(*Builder->getModuleDebugInfo(), *Ctx); in HandleTagDeclDefinition() local
229 DTV.TraverseDecl(D); in HandleTagDeclDefinition()
/freebsd-head/sys/arm/nvidia/
HDtegra_pinmux.c224 GMUX(0x17C, S, 1, uart3_cts_n_pa1, uartc, sdmmc1, dtv, gmi),
225 GMUX(0x180, C, 0, uart3_rts_n_pc0, uartc, pwm0, dtv, gmi),
235 GMUX(0x1A8, P, 3, dap4_fs_pp4, i2s3, gmi, dtv, rsvd4),
237 GMUX(0x1B0, P, 5, dap4_dout_pp6, i2s3, gmi, dtv, rsvd4),
243 GMUX(0x1C8, I, 7, pi7, rsvd1, trace, gmi, dtv),
261 GMUX(0x210, H, 0, ph0, pwm0, trace, gmi, dtv),
267 GMUX(0x228, H, 6, ph6, sdmmc2, trace, gmi, dtv),
268 GMUX(0x22C, H, 7, ph7, sdmmc2, trace, gmi, dtv),
/freebsd-head/contrib/llvm-project/compiler-rt/lib/lsan/
HDlsan_common.cpp194 // addresses are stored in a dynamically allocated array (the DTV) which is
195 // referenced from the static TLS. Unfortunately, we can't just rely on the DTV
197 // the DTV. This is because the initial DTV is allocated before our interception
504 ForEachDVT(dtls, [&](const DTLS::DTV &dtv, int id) { in ProcessThreads() argument
505 uptr dtls_beg = dtv.beg; in ProcessThreads()
506 uptr dtls_end = dtls_beg + dtv.size; in ProcessThreads()
/freebsd-head/sys/contrib/device-tree/src/arm64/lg/
HDlg1312-ref.dts16 model = "LG Electronics, DTV SoC LG1312 Reference Board";
HDlg1313-ref.dts16 model = "LG Electronics, DTV SoC LG1313 Reference Board";
/freebsd-head/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/
HDDYLDRendezvous.h136 uint32_t dtv_offset; // offset of DTV pointer within pthread
137 uint32_t dtv_slot_size; // size of one DTV slot
139 uint32_t tls_offset; // offset of TLS pointer within DTV slot
HDDynamicLoaderPOSIXDYLD.cpp794 // Lookup the DTV structure for this thread. in GetThreadLocalData()
796 addr_t dtv = ReadPointer(dtv_ptr); in GetThreadLocalData() local
797 if (dtv == LLDB_INVALID_ADDRESS) { in GetThreadLocalData()
798 LLDB_LOGF(log, "GetThreadLocalData error: fail to read dtv"); in GetThreadLocalData()
803 addr_t dtv_slot = dtv + metadata.dtv_slot_size * modid; in GetThreadLocalData()
/freebsd-head/sbin/ipf/ippool/
HDippool.829 -s [-dtv]
/freebsd-head/sys/contrib/device-tree/Bindings/display/msm/
HDmdp4.txt36 Port 3 -> DTV
/freebsd-head/sys/contrib/device-tree/Bindings/pinctrl/
Dnvidia,tegra210-pinmux.yaml86 displayb, dmic1, dmic2, dmic3, dp, dtv, extperiph3, i2c1,
Dnvidia,tegra114-pinmux.yaml89 displaya, displaya_alt, displayb, dtv, emc_dll, extperiph1,
Dnvidia,tegra114-pinmux.txt86 displaya_alt, displayb, dtv, emc_dll, extperiph1, extperiph2,
Dnvidia,tegra30-pinmux.yaml110 cpu_pwr_req, crt, dap, ddr, dev3, displaya, displayb, dtv,
Dnvidia,tegra124-pinmux.yaml104 displaya, displaya_alt, displayb, dtv, extperiph1,
/freebsd-head/sys/contrib/device-tree/Bindings/media/
HDrc.yaml148 - rc-twinhan-dtv-cab-ci

12