Lines Matching refs:chunk
57 auto chunk = it++; in ClearLogsByUid() local
58 chunk->NotifyReadersOfPrune(log_id); in ClearLogsByUid()
59 chunk->IncReaderRefCount(); in ClearLogsByUid()
62 for (const auto& entry : *chunk) { in ClearLogsByUid()
69 chunk->DecReaderRefCount(); in ClearLogsByUid()
70 new_logs.splice(new_logs.end(), log_buffer, chunk); in ClearLogsByUid()
78 for (const auto& entry : *chunk) { in ClearLogsByUid()
88 chunk->DecReaderRefCount(); in ClearLogsByUid()
89 log_buffer.erase(chunk); in ClearLogsByUid()
177 void SerializedLogBuffer::RemoveChunkFromStats(log_id_t log_id, SerializedLogChunk& chunk) { in RemoveChunkFromStats() argument
178 chunk.IncReaderRefCount(); in RemoveChunkFromStats()
179 for (const auto& entry : chunk) { in RemoveChunkFromStats()
182 chunk.DecReaderRefCount(); in RemoveChunkFromStats()
315 for (const auto& chunk : logs_[id]) { in GetSizeUsed() local
316 total_size += chunk.PruneSize(); in GetSizeUsed()