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);
  130   if (sz <= 4 * kPageSize) {
  132     FreeRange(proc, p, sz);
  140     sz -= diff;
  142   diff = p + sz - RoundDown(p + sz, kPageSize);
  142   diff = p + sz - RoundDown(p + sz, kPageSize);
  144     FreeRange(proc, p + sz - diff, diff);
  145     sz -= diff;
  148   CHECK_GT(sz, 0);
  150   CHECK_EQ(sz, RoundUp(sz, kPageSize));
  150   CHECK_EQ(sz, RoundUp(sz, kPageSize));
  152   const uptr sz0 = sz;
  154   for (uptr checked = 0; sz > 0; checked += kPageSize) {
  157     sz -= kPageSize;
  162   for (uptr checked = 0; sz > 0; checked += kPageSize) {
  163     bool has_something = FreeRange(proc, p + sz - kPageSize, kPageSize);
  164     sz -= kPageSize;