Lines Matching refs:watchdog_pretimeout
22 static usec_t watchdog_pretimeout; /* 0 → disable pretimeout and USEC_INFINITY → don't change preti… variable
158 watchdog_pretimeout = 0; in watchdog_get_pretimeout()
162 watchdog_pretimeout = sec * USEC_PER_SEC; in watchdog_get_pretimeout()
171 assert(watchdog_pretimeout != USEC_INFINITY); in watchdog_set_pretimeout()
173 sec = saturated_usec_to_sec(watchdog_pretimeout); in watchdog_set_pretimeout()
176 watchdog_pretimeout = 0; in watchdog_set_pretimeout()
210 if (watchdog_timeout == USEC_INFINITY || watchdog_pretimeout == USEC_INFINITY) in update_pretimeout()
213 if (!watchdog_supports_pretimeout && watchdog_pretimeout == 0) in update_pretimeout()
238 pt_sec = saturated_usec_to_sec(watchdog_pretimeout); in update_pretimeout()
247 if (watchdog_pretimeout == 0) in update_pretimeout()
251 FORMAT_TIMESPAN(watchdog_pretimeout, 0), in update_pretimeout()
380 if ((watchdog_fd >= 0 && timeout == watchdog_pretimeout) || timeout == USEC_INFINITY) in watchdog_setup_pretimeout()
386 watchdog_pretimeout = timeout; in watchdog_setup_pretimeout()
401 …hdog_supports_pretimeout && timestamp_is_set(watchdog_pretimeout) && watchdog_timeout >= watchdog_… in calc_timeout()
402 return watchdog_timeout - watchdog_pretimeout; in calc_timeout()