Searched refs:QuarantineBatch (Results 1 - 4 of 4) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dquarantine.h18 struct QuarantineBatch { struct in namespace:scudo
22 QuarantineBatch *Next;
30 this->Size = Size + sizeof(QuarantineBatch); // Account for the Batch Size.
34 uptr getQuarantinedSize() const { return Size - sizeof(QuarantineBatch); }
42 bool canMerge(const QuarantineBatch *const From) const {
46 void merge(QuarantineBatch *const From) {
48 DCHECK_GE(Size, sizeof(QuarantineBatch));
56 From->Size = sizeof(QuarantineBatch);
62 static_assert(sizeof(QuarantineBatch) <= (1U << 13), ""); // 8Kb.
76 uptr getOverheadSize() const { return List.size() * sizeof(QuarantineBatch); }
[all...]
H A Dcombined.h80 sizeof(QuarantineBatch) + Chunk::getHeaderSize());
90 Header.SizeOrUnusedBytes = sizeof(QuarantineBatch);
99 sizeof(QuarantineBatch) + Chunk::getHeaderSize());
107 DCHECK_EQ(Header.SizeOrUnusedBytes, sizeof(QuarantineBatch));
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_quarantine.h27 struct QuarantineBatch { struct in namespace:__sanitizer
29 QuarantineBatch *next;
37 this->size = size + sizeof(QuarantineBatch); // Account for the batch size.
42 return size - sizeof(QuarantineBatch);
51 bool can_merge(const QuarantineBatch* const from) const {
55 void merge(QuarantineBatch* const from) {
57 CHECK_GE(size, sizeof(QuarantineBatch));
65 from->size = sizeof(QuarantineBatch);
69 COMPILER_CHECK(sizeof(QuarantineBatch) <= (1 << 13)); // 8Kb.
184 while (QuarantineBatch *
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_allocator.cpp200 const uptr BatchClassId = SizeClassMap::ClassID(sizeof(QuarantineBatch));
205 const uptr BatchClassId = SizeClassMap::ClassID(sizeof(QuarantineBatch));
210 COMPILER_CHECK(sizeof(QuarantineBatch) < SizeClassMap::kMaxSize);

Completed in 114 milliseconds