Home
last modified time | relevance | path

Searched refs:DTV (Results 1 – 3 of 3) 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()
49 UnmapOrDie(dtv, size * sizeof(DTLS::DTV)); in DTLS_Deallocate()
56 new_size = Max(new_size, 4096UL / sizeof(DTLS::DTV)); in DTLS_Resize()
57 DTLS::DTV *new_dtv = in DTLS_Resize()
58 (DTLS::DTV *)MmapOrDie(new_size * sizeof(DTLS::DTV), "DTLS_Resize"); in DTLS_Resize()
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()
81 DTLS::DTV *DTLS_on_tls_get_addr(void *arg_void, void *res) { in DTLS_on_tls_get_addr()
126 DTLS::DTV *DTLS_on_tls_get_addr(void *arg, void *res) { return 0; }
Dsanitizer_tls_get_addr.h39 struct DTV { struct
44 DTV *dtv; // dtv_size elements, allocated by MmapOrDie.
53 DTLS::DTV *DTLS_on_tls_get_addr(void *arg, void *res); argument
Dsanitizer_common_interceptors.inc3990 DTLS::DTV *dtv = DTLS_on_tls_get_addr(arg, res);