Home
last modified time | relevance | path

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

/system/core/logd/
DLogBuffer.cpp445 unsigned long pruneRows = elements * sizeOver / sizes; in maybePrune() local
446 if (pruneRows < minElements) { in maybePrune()
447 pruneRows = minElements; in maybePrune()
449 if (pruneRows > maxPrune) { in maybePrune()
450 pruneRows = maxPrune; in maybePrune()
452 prune(id, pruneRows); in maybePrune()
660 bool LogBuffer::prune(log_id_t id, unsigned long pruneRows, uid_t caller_uid) { in prune() argument
663 bool clearAll = pruneRows == ULONG_MAX; in prune()
707 oldest->triggerSkip_Locked(id, pruneRows); in prune()
713 if (--pruneRows == 0) { in prune()
[all …]
DLogBuffer.h180 bool prune(log_id_t id, unsigned long pruneRows, uid_t uid = AID_ROOT);