Lines Matching refs:threshold
294 PerStateIoOveruseThreshold threshold; in readPerStateThresholds() local
298 } else if (threshold.name = name; threshold.name.empty()) { in readPerStateThresholds()
302 threshold.perStateWriteBytes = *result; in readPerStateThresholds()
304 return Error() << "Failed to read thresholds for id '" << threshold.name in readPerStateThresholds()
307 thresholds.push_back(threshold); in readPerStateThresholds()
578 for (const auto threshold : thresholds) { in writePackageSpecificThresholds() local
579 if (const auto result = writePerStateThresholds(threshold, childElement); !result.ok()) { in writePackageSpecificThresholds()
580 return Error() << "Failed to write per-state thresholds for '" << threshold.name in writePackageSpecificThresholds()
595 for (const auto threshold : thresholds) { in writeAppCategorySpecificThresholds() local
596 if (const auto result = writePerStateThresholds(threshold, childElement); !result.ok()) { in writeAppCategorySpecificThresholds()
597 return Error() << "Failed to write per-state thresholds for '" << threshold.name in writeAppCategorySpecificThresholds()
642 for (const auto threshold : thresholds) { in writeSystemWideThresholds() local
643 if (const auto result = writeAlertThresholds(threshold, childElement); !result.ok()) { in writeSystemWideThresholds()