Searched refs:QuarantineBatch (Results 1 – 3 of 3) sorted by relevance
27 struct QuarantineBatch { struct29 QuarantineBatch *next; argument37 this->size = size + sizeof(QuarantineBatch); // Account for the batch size. in init() argument42 return size - sizeof(QuarantineBatch); in quarantined_size() argument51 bool can_merge(const QuarantineBatch* const from) const { in can_merge() argument55 void merge(QuarantineBatch* const from) { in merge() argument57 CHECK_GE(size, sizeof(QuarantineBatch)); in merge()65 from->size = sizeof(QuarantineBatch); in merge()69 COMPILER_CHECK(sizeof(QuarantineBatch) <= (1 << 13)); // 8Kb.180 while (QuarantineBatch *b = c->DequeueBatch()) { in DoRecycle()[all …]
19 struct QuarantineBatch { struct23 QuarantineBatch *Next; argument31 this->Size = Size + sizeof(QuarantineBatch); // Account for the Batch Size. in init() argument35 uptr getQuarantinedSize() const { return Size - sizeof(QuarantineBatch); } in getQuarantinedSize() argument43 bool canMerge(const QuarantineBatch *const From) const { in canMerge() argument47 void merge(QuarantineBatch *const From) { in merge() argument49 DCHECK_GE(Size, sizeof(QuarantineBatch)); in merge()57 From->Size = sizeof(QuarantineBatch); in merge()63 static_assert(sizeof(QuarantineBatch) <= (1U << 13), ""); // 8Kb. argument73 uptr getOverheadSize() const { return List.size() * sizeof(QuarantineBatch); } in getOverheadSize()[all …]
91 sizeof(QuarantineBatch) + Chunk::getHeaderSize()); in allocate()101 Header.SizeOrUnusedBytes = sizeof(QuarantineBatch); in allocate()110 reinterpret_cast<uptr>(Ptr) + sizeof(QuarantineBatch)); in allocate()117 sizeof(QuarantineBatch) + Chunk::getHeaderSize()); in deallocate()125 DCHECK_EQ(Header.SizeOrUnusedBytes, sizeof(QuarantineBatch)); in deallocate()