Lines Matching defs:thresh
7938 unsigned long thresh = READ_ONCE(wq_watchdog_thresh) * HZ;
7947 if (!thresh)
7987 if (time_after(now, ts + thresh)) {
7995 if (!time_after(now, ts + thresh))
8021 mod_timer(&wq_watchdog_timer, jiffies + thresh);
8026 unsigned long thresh = READ_ONCE(wq_watchdog_thresh) * HZ;
8036 if (time_after(now, touch_ts + thresh / 4))
8040 static void wq_watchdog_set_thresh(unsigned long thresh)
8045 if (thresh) {
8046 wq_watchdog_thresh = thresh;
8048 mod_timer(&wq_watchdog_timer, jiffies + thresh * HZ);
8055 unsigned long thresh;
8058 ret = kstrtoul(val, 0, &thresh);
8062 if (thresh > MAX_JIFFY_OFFSET / HZ)
8066 wq_watchdog_set_thresh(thresh);
8068 wq_watchdog_thresh = thresh;
8250 unsigned long thresh;
8274 thresh = 10 * USEC_PER_MSEC;
8279 thresh = min_t(unsigned long, thresh * 4000 / bogo, USEC_PER_SEC);
8282 loops_per_jiffy, bogo, thresh);
8284 wq_cpu_intensive_thresh_us = thresh;