Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_tls_get_addr.cc46 static inline void DTLS_Deallocate(DTLS::DTV *dtv, uptr size) { in DTLS_Deallocate() argument
48 VPrintf(2, "__tls_get_addr: DTLS_Deallocate %p %zd\n", dtv, size); in DTLS_Deallocate()
49 UnmapOrDie(dtv, size * sizeof(DTLS::DTV)); in DTLS_Deallocate()
64 DTLS::DTV *old_dtv = dtls.dtv; in DTLS_Resize()
66 internal_memcpy(new_dtv, dtls.dtv, dtls.dtv_size * sizeof(DTLS::DTV)); in DTLS_Resize()
67 dtls.dtv = new_dtv; in DTLS_Resize()
78 DTLS_Deallocate(dtls.dtv, s); in DTLS_Destroy()
97 if (dtls.dtv[dso_id].beg) return 0; in DTLS_on_tls_get_addr()
125 dtls.dtv[dso_id].beg = tls_beg; in DTLS_on_tls_get_addr()
126 dtls.dtv[dso_id].size = tls_size; in DTLS_on_tls_get_addr()
[all …]
Dsanitizer_tls_get_addr.h44 DTV *dtv; // dtv_size elements, allocated by MmapOrDie. member
Dsanitizer_linux_libcdep.cc364 void **dtv = (void**) segbase[1]; in GetTls()
365 *addr = (uptr) dtv[2]; in GetTls()
366 *size = (*addr == 0) ? 0 : ((uptr) segbase[0] - (uptr) dtv[2]); in GetTls()
Dsanitizer_common_interceptors.inc4459 DTLS::DTV *dtv = DTLS_on_tls_get_addr(arg, res, tls_begin, tls_end);
4460 if (dtv) {
4462 COMMON_INTERCEPTOR_INITIALIZE_RANGE((void *)dtv->beg, dtv->size);
4492 DTLS::DTV *dtv = DTLS_on_tls_get_addr(arg, ptr, tls_begin, tls_end);
4493 if (dtv) {
4495 COMMON_INTERCEPTOR_INITIALIZE_RANGE((void *)dtv->beg, dtv->size);
/external/strace/
Dcount.c164 struct timeval tv_cum, dtv; in call_summary_pers() local
184 tv_mul(&dtv, &overhead, counts[i].calls); in call_summary_pers()
185 tv_sub(&counts[i].time, &counts[i].time, &dtv); in call_summary_pers()
201 tv_div(&dtv, &cc->time, cc->calls); in call_summary_pers()
209 (long) (1000000 * dtv.tv_sec + dtv.tv_usec), in call_summary_pers()
Dstrace.c654 struct timeval tv, dtv; in printleader() local
661 tv_sub(&dtv, &tv, &otv); in printleader()
663 (long) dtv.tv_sec, (long) dtv.tv_usec); in printleader()
/external/compiler-rt/lib/msan/
Dmsan_thread.cc41 __msan_unpoison((void *)(dtls->dtv[i].beg), dtls->dtv[i].size); in ClearShadowForThreadStackAndTLS()
/external/tensorflow/tensorflow/core/framework/
Dfake_input.cc231 DataTypeVector dtv(dts.begin(), dts.end()); in FakeInput() local
232 return [dtv](const OpDef& op_def, int in_index, const NodeDef& node_def, in FakeInput()
235 impl.SetTypeList(dtv); in FakeInput()
/external/valgrind/coregrind/m_gdbserver/
Dtarget.c674 CORE_ADDR *dtv; in valgrind_get_tls_addr() local
706 dtv = *dtv_loc; in valgrind_get_tls_addr()
709 CHECK_DEREF(dtv, 2*sizeof(CORE_ADDR), "dtv 2 first entries"); in valgrind_get_tls_addr()
710 dlog (2, "tid %u dtv %p\n", tst->tid, (void*)dtv); in valgrind_get_tls_addr()
717 CHECK_DEREF(dtv + 2 * modid, sizeof(CORE_ADDR), "dtv[2*modid]"); in valgrind_get_tls_addr()
720 *tls_addr = *(dtv + 2 * modid); in valgrind_get_tls_addr()
/external/compiler-rt/lib/lsan/
Dlsan_common.cc262 uptr dtls_beg = dtls->dtv[j].beg; in ProcessThreads()
263 uptr dtls_end = dtls_beg + dtls->dtv[j].size; in ProcessThreads()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_interceptors.cc2405 DTLS::DTV *dtv = DTLS_on_tls_get_addr(arg, res, thr->tls_addr, thr->tls_size); in TSAN_INTERCEPTOR() local
2406 if (!dtv) in TSAN_INTERCEPTOR()
2409 MemoryResetRange(thr, 0, dtv->beg, dtv->size); in TSAN_INTERCEPTOR()