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

References

projects/compiler-rt/lib/tsan/rtl/tsan_sync.cpp
  125     FreeRange(proc, p, sz);
  132     FreeRange(proc, p, sz);
  136   uptr diff = RoundUp(p, kPageSize) - p;
  136   uptr diff = RoundUp(p, kPageSize) - p;
  138     FreeRange(proc, p, diff);
  139     p += diff;
  142   diff = p + sz - RoundDown(p + sz, kPageSize);
  142   diff = p + sz - RoundDown(p + sz, kPageSize);
  144     FreeRange(proc, p + sz - diff, diff);
  149   CHECK_EQ(p, RoundUp(p, kPageSize));
  149   CHECK_EQ(p, RoundUp(p, kPageSize));
  151   const uptr p0 = p;
  155     bool has_something = FreeRange(proc, p, kPageSize);
  156     p += kPageSize;
  163     bool has_something = FreeRange(proc, p + sz - kPageSize, kPageSize);