Lines Matching defs:thresh
1191 time_t *timestamp, idletime, now, thresh;
1272 thresh = cur_threshold(dip, i); /* comp i threshold */
1276 timeleft = max(thresh, min_scan);
1279 timeleft, max(thresh, min_scan));
1286 if (idletime >= thresh || PM_IS_PID(dip)) {
1322 timeleft = thresh - idletime;
1324 timeleft = min(timeleft, (thresh - idletime));
3632 int thresh;
3634 thresh = pm_default_nexus_threshold;
3636 thresh = pm_cpu_idle_threshold;
3638 thresh = pm_system_idle_threshold;
3639 return (thresh);
4280 int thresh;
4297 thresh = pm_default_nexus_threshold;
4302 pmc->pmc_thresh[level] = thresh;
4367 thresh = target_threshold / transitions;
4372 pmc->pmc_thresh[level] = thresh;
4380 PMD(PMD_THRESH, ("%s: thresh before %s@%s(%s#%d) "
4389 remainder = target_threshold - thresh * transitions;
4392 PMD(PMD_THRESH, ("%s: remainder=%d target_threshold=%d thresh=%d "
4393 "trans=%d\n", pmf, remainder, target_threshold, thresh,
4412 PMD(PMD_THRESH, ("%s: thresh after %s@%s(%s#%d) "
6155 PMD(PMD_ERROR, ("%s: %s[%d]: thresh=%d, record=%d\n",
8665 time_t idletime, thresh;
8798 thresh = cur_threshold(dip, comp);
8802 ((idletime < thresh) && !PM_IS_PID(dip)))) {
8810 if (idletime < thresh)