Searched refs:kL1Size (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_dense_alloc.h | 35 template <typename T, uptr kL1Size, uptr kL2Size, u64 kReserved = 0> 41 static_assert((kL1Size & (kL1Size - 1)) == 0, 45 static_assert((kL1Size * kL2Size) <= (1ull << (sizeof(IndexT) * 8)), 47 static_assert(((kL1Size * kL2Size - 1) & kReserved) == 0, 62 for (uptr i = 0; i < kL1Size; i++) { in ~DenseSlabAlloc() 83 DCHECK_LE(idx, kL1Size * kL2Size); in Map() 110 T *map_[kL1Size]; 173 if (fillpos == kL1Size) { in AllocSuperBlock() 174 Printf("ThreadSanitizer: %s overflow (%zu*%zu). Dying.\n", name_, kL1Size, in AllocSuperBlock() 179 fillpos, kL1Size, kL2Size); in AllocSuperBlock()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_deadlock_detector2.cpp | 27 const int kL1Size = 1024; variable 29 const int kMaxMutex = kL1Size * kL2Size; 109 MutexState *mutex[kL1Size]; 158 for (int i = 0; i < kL1Size; i++) { in getMutexId()
|