Home
last modified time | relevance | path

Searched refs:dtv (Results 1 – 8 of 8) 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.cc356 void **dtv = (void**) segbase[1]; in GetTls()
357 *addr = (uptr) dtv[2]; in GetTls()
358 *size = (*addr == 0) ? 0 : ((uptr) segbase[0] - (uptr) dtv[2]); in GetTls()
Dsanitizer_common_interceptors.inc4213 DTLS::DTV *dtv = DTLS_on_tls_get_addr(arg, res, tls_begin, tls_end);
4214 if (dtv) {
4216 COMMON_INTERCEPTOR_INITIALIZE_RANGE((void *)dtv->beg, dtv->size);
/external/strace/
Dcount.c158 struct timeval tv_cum, dtv; in call_summary_pers() local
181 tv_mul(&dtv, &overhead, counts[i].calls); in call_summary_pers()
182 tv_sub(&counts[i].time, &counts[i].time, &dtv); in call_summary_pers()
197 tv_div(&dtv, &cc->time, cc->calls); in call_summary_pers()
208 (long) (1000000 * dtv.tv_sec + dtv.tv_usec), in call_summary_pers()
Dstrace.c640 struct timeval tv, dtv; in printleader() local
647 tv_sub(&dtv, &tv, &otv); in printleader()
649 (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/valgrind/coregrind/m_gdbserver/
Dtarget.c648 CORE_ADDR *dtv; in valgrind_get_tls_addr() local
680 dtv = *dtv_loc; in valgrind_get_tls_addr()
683 CHECK_DEREF(dtv, 2*sizeof(CORE_ADDR), "dtv 2 first entries"); in valgrind_get_tls_addr()
684 dlog (2, "tid %u dtv %p\n", tst->tid, (void*)dtv); in valgrind_get_tls_addr()
691 CHECK_DEREF(dtv + 2 * modid, sizeof(CORE_ADDR), "dtv[2*modid]"); in valgrind_get_tls_addr()
694 *tls_addr = *(dtv + 2 * modid) + offset; in valgrind_get_tls_addr()