Searched refs:watchdog_timeout (Results 1 - 1 of 1) sorted by relevance

/systemd/src/shared/
H A Dwatchdog.c33 static usec_t watchdog_timeout = USEC_INFINITY; variable
41 if (watchdog_timeout == USEC_INFINITY)
43 else if (watchdog_timeout == 0) {
54 sec = (int) ((watchdog_timeout + USEC_PER_SEC - 1) / USEC_PER_SEC);
59 watchdog_timeout = (usec_t) sec * USEC_PER_SEC;
60 log_info("Set hardware watchdog to %s.", format_timespan(buf, sizeof(buf), watchdog_timeout, 0));
101 watchdog_timeout = *usec;
105 if (watchdog_fd < 0 && watchdog_timeout == USEC_INFINITY)
113 *usec = watchdog_timeout;

Completed in 951 milliseconds