Lines Matching defs:DTLS
12 // the lack of interface that would tell us about the Dynamic TLS (DTLS).
15 // Before 2.25: every DTLS chunk is allocated with __libc_memalign,
16 // which we intercept and thus know where is the DTLS.
18 // Since 2.25: DTLS chunks are allocated with malloc. We could co-opt
44 struct DTLS {
45 // Array of DTLS chunks for the current Thread.
52 DTV dtvs[(4096UL - sizeof(next)) / sizeof(DTLS::DTV)];
61 void ForEachDVT(DTLS *dtls, const Fn &fn) {
62 DTLS::DTVBlock *block =
63 (DTLS::DTVBlock *)atomic_load(&dtls->dtv_block, memory_order_acquire);
67 block = (DTLS::DTVBlock *)atomic_load(&block->next, memory_order_acquire);
73 DTLS::DTV *DTLS_on_tls_get_addr(void *arg, void *res, uptr static_tls_begin,
76 DTLS *DTLS_Get();
78 // Returns true if DTLS of suspended thread is in destruction process.
79 bool DTLSInDestruction(DTLS *dtls);