Home | History | Annotate | Download | only in logd

Lines Matching refs:pruneRows

300         unsigned long pruneRows = elements * sizeOver / sizes;
301 if (pruneRows < minElements) {
302 pruneRows = minElements;
304 if (pruneRows > maxPrune) {
305 pruneRows = maxPrune;
307 prune(id, pruneRows);
440 // prune "pruneRows" of type "id" from the buffer.
487 bool LogBuffer::prune(log_id_t id, unsigned long pruneRows, uid_t caller_uid) {
490 bool clearAll = pruneRows == ULONG_MAX;
511 // Only here if clearAll condition (pruneRows == ULONG_MAX)
531 oldest->triggerSkip_Locked(id, pruneRows);
537 pruneRows--;
545 while (!clearAll && (pruneRows > 0)) {
599 bool gc = pruneRows <= 1;
668 pruneRows--;
669 if (pruneRows == 0) {
713 pruneRows--;
714 if (pruneRows == 0) {
759 while((pruneRows > 0) && (it != mLogElements.end())) {
784 oldest->triggerSkip_Locked(id, pruneRows);
797 pruneRows--;
801 if (whitelist && (pruneRows > 0)) {
803 while((it != mLogElements.end()) && (pruneRows > 0)) {
824 oldest->triggerSkip_Locked(id, pruneRows);
830 pruneRows--;
836 return (pruneRows > 0) && busy;