Home
last modified time | relevance | path

Searched defs:QuarantineBatch (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dquarantine.h19 struct QuarantineBatch { struct
23 QuarantineBatch *Next; argument
31 this->Size = Size + sizeof(QuarantineBatch); // Account for the Batch Size. in init() argument
35 uptr getQuarantinedSize() const { return Size - sizeof(QuarantineBatch); } in getQuarantinedSize() argument
43 bool canMerge(const QuarantineBatch *const From) const { in canMerge() argument
47 void merge(QuarantineBatch *const From) { in merge() argument
63 static_assert(sizeof(QuarantineBatch) <= (1U << 13), ""); // 8Kb. argument
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_quarantine.h27 struct QuarantineBatch { struct
29 QuarantineBatch *next; argument
37 this->size = size + sizeof(QuarantineBatch); // Account for the batch size. in init() argument
42 return size - sizeof(QuarantineBatch); in quarantined_size() argument
51 bool can_merge(const QuarantineBatch* const from) const { in can_merge() argument
55 void merge(QuarantineBatch* const from) { in merge() argument