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

References

projects/compiler-rt/lib/sanitizer_common/sanitizer_allocator_primary64.h
  166       return reinterpret_cast<uptr>(p) & ~(kRegionSize - 1);
  168     return ((reinterpret_cast<uptr>(p)  - space_beg) & ~(kRegionSize - 1)) +
  173     return SpaceBeg() + kRegionSize * class_id;
  178       return ((reinterpret_cast<uptr>(p)) / kRegionSize) % kNumClassesRounded;
  179     return ((reinterpret_cast<uptr>(p) - SpaceBeg()) / kRegionSize) %
  247         SpaceBeg() + kRegionSize * class_id);
  253       rss_stats[class_id] = SpaceBeg() + kRegionSize * class_id;
  297       uptr region_beg = SpaceBeg() + class_id * kRegionSize;
  563   static const uptr kFreeArraySize = kRegionSize / 8;
  572   COMPILER_CHECK((kRegionSize) >= (1ULL << (SANITIZER_WORDSIZE / 2)));
  574   COMPILER_CHECK((kRegionSize) <= (1ULL << (SANITIZER_WORDSIZE / 2 + 4)));
  618     return region_beg + kRegionSize - kFreeArraySize;
  625     uptr offset = chunk % kRegionSize;
  677                additional_map_size <= kRegionSize - kFreeArraySize))
  683              kRegionSize >> 20, ClassIdToSize(class_id));