Lines Matching full:batch
20 // With the following count, a batch (and the header that protects it) occupy
26 void *Batch[MaxCount]; member
30 Batch[0] = Ptr; in init()
31 this->Size = Size + sizeof(QuarantineBatch); // Account for the Batch Size. in init()
34 // The total size of quarantined nodes recorded in this batch.
39 Batch[Count++] = Ptr; in push_back()
52 Batch[Count + I] = From->Batch[I]; in merge()
60 void shuffle(u32 State) { ::scudo::shuffle(Batch, Count, &State); } in shuffle()
114 // Move all the chunks into the current batch. in mergeBatches()
118 // Remove the next batch From the list and account for its Size. in mergeBatches()
135 for (const QuarantineBatch &Batch : List) { in getStats() local
137 TotalBytes += Batch.Size; in getStats()
138 TotalOverheadBytes += Batch.Size - Batch.getQuarantinedSize(); in getStats()
139 TotalQuarantineChunks += Batch.Count; in getStats()
271 // require some tuning). It saves us merge attempt when the batch list in recycle()
294 CHECK(NumberOfPrefetch <= ARRAY_SIZE(B->Batch)); in doRecycle()
296 PREFETCH(B->Batch[I]); in doRecycle()
299 PREFETCH(B->Batch[I + NumberOfPrefetch]); in doRecycle()
300 Cb.recycle(reinterpret_cast<Node *>(B->Batch[I])); in doRecycle()