reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/tsan/rtl/tsan_dense_alloc.h
   44     CHECK_EQ(kL2Size & (kL2Size - 1), 0);
   44     CHECK_EQ(kL2Size & (kL2Size - 1), 0);
   45     CHECK_GE(1ull << (sizeof(IndexT) * 8), kL1Size * kL2Size);
   57         UnmapOrDie(map_[i], kL2Size * sizeof(T));
   77     return &map_[idx / kL2Size][idx % kL2Size];
   77     return &map_[idx / kL2Size][idx % kL2Size];
  106             name_, kL1Size, kL2Size);
  110           name_, fillpos_, kL1Size, kL2Size);
  111       T *batch = (T*)MmapOrDie(kL2Size * sizeof(T), name_);
  114       for (IndexT i = start; i < kL2Size; i++) {
  116         *(IndexT*)(batch + i) = i + 1 + fillpos_ * kL2Size;
  118       *(IndexT*)(batch + kL2Size - 1) = 0;
  119       freelist_ = fillpos_ * kL2Size + start;