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
  130   if (sz <= 4 * kPageSize) {
  136   uptr diff = RoundUp(p, kPageSize) - p;
  142   diff = p + sz - RoundDown(p + sz, kPageSize);
  149   CHECK_EQ(p, RoundUp(p, kPageSize));
  150   CHECK_EQ(sz, RoundUp(sz, kPageSize));
  154   for (uptr checked = 0; sz > 0; checked += kPageSize) {
  155     bool has_something = FreeRange(proc, p, kPageSize);
  156     p += kPageSize;
  157     sz -= kPageSize;
  162   for (uptr checked = 0; sz > 0; checked += kPageSize) {
  163     bool has_something = FreeRange(proc, p + sz - kPageSize, kPageSize);
  163     bool has_something = FreeRange(proc, p + sz - kPageSize, kPageSize);
  164     sz -= kPageSize;