Home
last modified time | relevance | path

Searched refs:pruneRows (Results 1 – 2 of 2) sorted by relevance

/system/core/logd/
DLogBuffer.cpp300 unsigned long pruneRows = elements * sizeOver / sizes; in maybePrune() local
301 if (pruneRows < minElements) { in maybePrune()
302 pruneRows = minElements; in maybePrune()
304 if (pruneRows > maxPrune) { in maybePrune()
305 pruneRows = maxPrune; in maybePrune()
307 prune(id, pruneRows); in maybePrune()
487 bool LogBuffer::prune(log_id_t id, unsigned long pruneRows, uid_t caller_uid) { in prune() argument
490 bool clearAll = pruneRows == ULONG_MAX; in prune()
531 oldest->triggerSkip_Locked(id, pruneRows); in prune()
537 pruneRows--; in prune()
[all …]
DLogBuffer.h145 bool prune(log_id_t id, unsigned long pruneRows, uid_t uid = AID_ROOT);