Lines Matching refs:pruneRows
445 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()
723 while (!clearAll && (pruneRows > 0)) { in prune()
763 bool gc = pruneRows <= 1; in prune()
837 pruneRows--; in prune()
838 if (pruneRows == 0) { in prune()
886 pruneRows--; in prune()
887 if (pruneRows == 0) { in prune()
935 while ((pruneRows > 0) && (it != mLogElements.end())) { in prune()
960 oldest->triggerSkip_Locked(id, pruneRows); in prune()
973 pruneRows--; in prune()
977 if (whitelist && (pruneRows > 0)) { in prune()
979 while ((it != mLogElements.end()) && (pruneRows > 0)) { in prune()
1000 oldest->triggerSkip_Locked(id, pruneRows); in prune()
1006 pruneRows--; in prune()
1012 return (pruneRows > 0) && busy; in prune()