| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| sanitizer_tls_get_addr.cc | 38 static __thread DTLS dtls; member in namespace:__sanitizer 40 // Make sure we properly destroy the DTLS objects: 46 static inline void DTLS_Deallocate(DTLS::DTV *dtv, uptr size) { 49 UnmapOrDie(dtv, size * sizeof(DTLS::DTV)); 54 if (dtls.dtv_size >= new_size) return; 56 new_size = Max(new_size, 4096UL / sizeof(DTLS::DTV)); 57 DTLS::DTV *new_dtv = 58 (DTLS::DTV *)MmapOrDie(new_size * sizeof(DTLS::DTV), "DTLS_Resize") [all...] |
| sanitizer_deadlock_detector.h | 199 void ensureCurrentEpoch(DeadlockDetectorTLS<BV> *dtls) { 200 dtls->ensureCurrentEpoch(current_epoch_); 206 bool onLockBefore(DeadlockDetectorTLS<BV> *dtls, uptr cur_node) { 207 ensureCurrentEpoch(dtls); 209 return g_.isReachable(cur_idx, dtls->getLocks(current_epoch_)); 212 u32 findLockContext(DeadlockDetectorTLS<BV> *dtls, uptr node) { 213 return dtls->findLockContext(nodeToIndex(node)); 216 // Add cur_node to the set of locks held currently by dtls. 217 void onLockAfter(DeadlockDetectorTLS<BV> *dtls, uptr cur_node, u32 stk = 0) { 218 ensureCurrentEpoch(dtls); [all...] |
| sanitizer_tls_get_addr.h | 13 // the lack of interface that would tell us about the Dynamic TLS (DTLS). 20 // Before 2.19, every DTLS chunk is allocated with __libc_memalign, 21 // which we intercept and thus know where is the DTLS. 22 // Since 2.19, DTLS chunks are allocated with __signal_safe_memalign, 36 struct DTLS { 37 // Array of DTLS chunks for the current Thread. 53 DTLS::DTV *DTLS_on_tls_get_addr(void *arg, void *res, uptr static_tls_begin, 56 DTLS *DTLS_Get(); 58 // Returns true if DTLS of suspended thread is in destruction process. 59 bool DTLSInDestruction(DTLS *dtls) [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
| sanitizer_deadlock_detector_test.cc | 38 dtls.clear(); 42 DeadlockDetectorTLS<BV> dtls; member in struct:ScopedDD 50 DeadlockDetectorTLS<BV> &dtls = sdd.dtls; local 76 dtls.clear(); 79 EXPECT_FALSE(d.onLock(&dtls, n1)); 80 EXPECT_FALSE(d.onLock(&dtls, n2)); 81 d.onUnlock(&dtls, n2); 82 d.onUnlock(&dtls, n1); 84 EXPECT_FALSE(d.onLock(&dtls, n2)) 141 DeadlockDetectorTLS<BV> &dtls = sdd.dtls; local 247 DeadlockDetectorTLS<BV> &dtls = sdd.dtls; local 292 DeadlockDetectorTLS<BV> &dtls = sdd.dtls; local 324 DeadlockDetectorTLS<BV> &dtls = sdd.dtls; local 351 DeadlockDetectorTLS<BV> &dtls = sdd.dtls; local 389 DeadlockDetectorTLS<BV> &dtls = sdd.dtls; local 419 DeadlockDetectorTLS<BV> &dtls = sdd.dtls; local 457 DeadlockDetectorTLS<BV> &dtls = sdd.dtls; local [all...] |
| /src/crypto/external/bsd/openssl.old/dist/test/ssl-tests/ |
| protocol_version.pm | 75 my ($dtls) = @_; 76 return $dtls ? alldisabled("dtls1", "dtls1_2") : 83 my $dtls = $method eq "DTLS"; 85 undef $method if !$dtls; 87 my @protocols = $dtls ? @dtls_protocols : @tls_protocols; 88 my @min_protocols = $dtls ? @min_dtls_protocols : @min_tls_protocols; 89 my @max_protocols = $dtls ? @max_dtls_protocols : @max_tls_protocols; 90 my $min_enabled = $dtls ? $min_dtls_enabled : $min_tls_enabled; 91 my $max_enabled = $dtls ? $max_dtls_enabled : $max_tls_enabled [all...] |
| /src/crypto/external/apache2/openssl/dist/test/ssl-tests/ |
| protocol_version.pm | 105 my ($dtls, $fips) = @_; 106 if ($dtls && $fips) { 109 return $dtls ? alldisabled("dtls1", "dtls1_2") : 117 my $dtls = $method eq "DTLS"; 119 undef $method if !$dtls; 127 @protocols = $dtls ? @dtls_protocols_fips : @tls_protocols_fips; 128 @min_protocols = $dtls ? @min_dtls_protocols_fips : @min_tls_protocols_fips; 129 @max_protocols = $dtls ? @max_dtls_protocols_fips : @max_tls_protocols_fips; 130 $min_enabled = $dtls ? $min_dtls_enabled_fips : $min_tls_enabled_fips [all...] |
| /src/crypto/external/bsd/openssl/dist/test/ssl-tests/ |
| protocol_version.pm | 105 my ($dtls, $fips) = @_; 106 if ($dtls && $fips) { 109 return $dtls ? alldisabled("dtls1", "dtls1_2") : 117 my $dtls = $method eq "DTLS"; 119 undef $method if !$dtls; 127 @protocols = $dtls ? @dtls_protocols_fips : @tls_protocols_fips; 128 @min_protocols = $dtls ? @min_dtls_protocols_fips : @min_tls_protocols_fips; 129 @max_protocols = $dtls ? @max_dtls_protocols_fips : @max_tls_protocols_fips; 130 $min_enabled = $dtls ? $min_dtls_enabled_fips : $min_tls_enabled_fips [all...] |
| /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| sanitizer_deadlock_detector.h | 195 void ensureCurrentEpoch(DeadlockDetectorTLS<BV> *dtls) { 196 dtls->ensureCurrentEpoch(current_epoch_); 202 bool onLockBefore(DeadlockDetectorTLS<BV> *dtls, uptr cur_node) { 203 ensureCurrentEpoch(dtls); 205 return g_.isReachable(cur_idx, dtls->getLocks(current_epoch_)); 208 u32 findLockContext(DeadlockDetectorTLS<BV> *dtls, uptr node) { 209 return dtls->findLockContext(nodeToIndex(node)); 212 // Add cur_node to the set of locks held currently by dtls. 213 void onLockAfter(DeadlockDetectorTLS<BV> *dtls, uptr cur_node, u32 stk = 0) { 214 ensureCurrentEpoch(dtls); [all...] |
| sanitizer_tls_get_addr.cpp | 32 static __thread DTLS dtls; member in namespace:__sanitizer 34 // Make sure we properly destroy the DTLS objects: 40 static void DTLS_Deallocate(DTLS::DTVBlock *block) { 42 UnmapOrDie(block, sizeof(DTLS::DTVBlock)); 46 static DTLS::DTVBlock *DTLS_NextBlock(atomic_uintptr_t *cur) { 50 DTLS::DTVBlock *next = (DTLS::DTVBlock *)v; 53 DTLS::DTVBlock *new_dtv = 54 (DTLS::DTVBlock *)MmapOrDie(sizeof(DTLS::DTVBlock), "DTLS_NextBlock") [all...] |
| sanitizer_tls_get_addr.h | 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)]; 65 void ForEachDVT(DTLS *dtls, const Fn &fn) { 66 DTLS::DTVBlock *block [all...] |
| /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| sanitizer_deadlock_detector.h | 195 void ensureCurrentEpoch(DeadlockDetectorTLS<BV> *dtls) { 196 dtls->ensureCurrentEpoch(current_epoch_); 202 bool onLockBefore(DeadlockDetectorTLS<BV> *dtls, uptr cur_node) { 203 ensureCurrentEpoch(dtls); 205 return g_.isReachable(cur_idx, dtls->getLocks(current_epoch_)); 208 u32 findLockContext(DeadlockDetectorTLS<BV> *dtls, uptr node) { 209 return dtls->findLockContext(nodeToIndex(node)); 212 // Add cur_node to the set of locks held currently by dtls. 213 void onLockAfter(DeadlockDetectorTLS<BV> *dtls, uptr cur_node, u32 stk = 0) { 214 ensureCurrentEpoch(dtls); [all...] |
| sanitizer_tls_get_addr.cpp | 38 static __thread DTLS dtls; member in namespace:__sanitizer 40 // Make sure we properly destroy the DTLS objects: 46 static void DTLS_Deallocate(DTLS::DTVBlock *block) { 48 UnmapOrDie(block, sizeof(DTLS::DTVBlock)); 52 static DTLS::DTVBlock *DTLS_NextBlock(atomic_uintptr_t *cur) { 56 DTLS::DTVBlock *next = (DTLS::DTVBlock *)v; 59 DTLS::DTVBlock *new_dtv = 60 (DTLS::DTVBlock *)MmapOrDie(sizeof(DTLS::DTVBlock), "DTLS_NextBlock") [all...] |
| sanitizer_tls_get_addr.h | 12 // the lack of interface that would tell us about the Dynamic TLS (DTLS). 19 // Before 2.19, every DTLS chunk is allocated with __libc_memalign, 20 // which we intercept and thus know where is the DTLS. 21 // Since 2.19, DTLS chunks are allocated with __signal_safe_memalign, 36 struct DTLS { 37 // Array of DTLS chunks for the current Thread. 44 DTV dtvs[(4096UL - sizeof(next)) / sizeof(DTLS::DTV)]; 57 void ForEachDVT(DTLS *dtls, const Fn &fn) { 58 DTLS::DTVBlock *block [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/msan/ |
| msan_thread.cc | 38 DTLS *dtls = DTLS_Get(); local 39 CHECK_NE(dtls, 0); 40 for (uptr i = 0; i < dtls->dtv_size; ++i) 41 __msan_unpoison((void *)(dtls->dtv[i].beg), dtls->dtv[i].size);
|
| /src/external/gpl3/gcc/dist/libsanitizer/lsan/ |
| lsan_posix.cpp | 34 DTLS *dtls; member in struct:__lsan::OnStartedArgs 46 dtls_ = args->dtls; 58 args.dtls = DTLS_Get(); 64 uptr *cache_end, DTLS **dtls) { 75 *dtls = context->dtls();
|
| lsan_posix.h | 25 struct DTLS; 36 DTLS *dtls() { return dtls_; } function in class:__lsan::final 41 DTLS *dtls_ = nullptr;
|
| /src/external/gpl3/gcc.old/dist/libsanitizer/lsan/ |
| lsan_posix.cpp | 33 DTLS *dtls; member in struct:__lsan::OnStartedArgs 44 dtls_ = args->dtls; 56 args.dtls = DTLS_Get(); 62 uptr *cache_end, DTLS **dtls) { 73 *dtls = context->dtls();
|
| lsan_posix.h | 25 struct DTLS; 36 DTLS *dtls() { return dtls_; } function in class:__lsan::final 41 DTLS *dtls_ = nullptr;
|
| /src/sys/external/bsd/compiler_rt/dist/lib/lsan/ |
| lsan_thread.cc | 56 DTLS *dtls; member in struct:__lsan::OnStartedArgs 67 dtls_ = args->dtls; 89 args.dtls = DTLS_Get(); 132 uptr *cache_end, DTLS **dtls) { 142 *dtls = context->dtls();
|
| lsan_thread.h | 21 struct DTLS; 37 DTLS *dtls() { return dtls_; } function in class:__lsan::ThreadContext 43 DTLS *dtls_;
|
| lsan_common.cc | 226 DTLS *dtls; local 229 &cache_begin, &cache_end, &dtls); 293 if (dtls && !DTLSInDestruction(dtls)) { 294 for (uptr j = 0; j < dtls->dtv_size; ++j) { 295 uptr dtls_beg = dtls->dtv[j].beg; 296 uptr dtls_end = dtls_beg + dtls->dtv[j].size; 298 LOG_THREADS("DTLS %zu at %p-%p.\n", j, dtls_beg, dtls_end); 299 ScanRangeForPointers(dtls_beg, dtls_end, frontier, "DTLS", [all...] |
| /src/external/gpl3/gcc/dist/libsanitizer/hwasan/ |
| hwasan_thread.h | 49 DTLS *dtls() { return dtls_; } function in class:__hwasan::Thread 88 DTLS *dtls_;
|
| hwasan_thread.cpp | 195 uptr *cache_end, DTLS **dtls) { 206 *dtls = t->dtls();
|
| /src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
| asan_thread.cc | 470 uptr *cache_end, DTLS **dtls) { 480 *dtls = t->dtls();
|
| /src/external/gpl3/gcc.old/dist/libsanitizer/asan/ |
| asan_thread.cpp | 486 uptr *cache_end, DTLS **dtls) { 496 *dtls = t->dtls();
|