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

References

projects/compiler-rt/lib/tsan/rtl/tsan_clock.cpp
  248     dst->tab_ = ctx->clock_alloc.Map(cached_idx_);
  262     atomic_fetch_add(ref_ptr(dst->tab_), 1, memory_order_relaxed);
  300     atomic_uint32_t *ref = ref_ptr(dst->tab_);
  304       atomic_fetch_add(ref_ptr(dst->tab_), 1, memory_order_relaxed);
  381   CHECK_EQ(tab_, 0);
  392   tab_ = 0;
  414     CHECK_EQ(tab_, 0);
  417     tab_ = ctx->clock_alloc.Map(tab_idx_);
  418     internal_memset(tab_, 0, sizeof(*tab_));
  418     internal_memset(tab_, 0, sizeof(*tab_));
  419     atomic_store_relaxed(ref_ptr(tab_), 1);
  426     const uptr move = top * sizeof(tab_->clock[0]);
  427     internal_memcpy(&new_cb->clock[0], tab_->clock, move);
  429     internal_memset(tab_->clock, 0, move);
  459   atomic_uint32_t *ref = ref_ptr(tab_);
  473   old.tab_ = tab_;
  473   old.tab_ = tab_;
  507   return atomic_load_relaxed(ref_ptr(tab_)) == 1;
  519     return tab_->clock[tid];
  538   return tab_->table[ClockBlock::kBlockIdx - bi];
  544   tab_->table[ClockBlock::kBlockIdx - bi] = idx;
  590     pos_ = &parent_->tab_->clock[0];