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

References

projects/compiler-rt/lib/sanitizer_common/sanitizer_allocator_local_cache.h
  156     if (UNLIKELY(c->count == 0)) {
  161     void *res = c->batch[--c->count];
  162     PREFETCH(c->batch[c->count - 1]);
  174     if (UNLIKELY(c->count == c->max_count))
  176     c->batch[c->count++] = p;
  183       while (c->count > 0)
  242     c->count = b->Count();
  249     const uptr count = Min(c->max_count / 2, c->count);
  250     const uptr first_idx_to_drain = c->count - count;
  261     c->count -= count;