Lines Matching refs:watchdog
51 #include <sys/watchdog.h>
65 watchdog */
73 SYSCTL_NODE(_hw, OID_AUTO, watchdog, CTLFLAG_RD | CTLFLAG_MPSAFE, 0,
74 "Main watchdog device");
81 static time_t wd_lastpat = 0; /* when the watchdog was last patted */
83 /* Hook for external software watchdog to register for use if needed */
143 * This can be zero (to disable the watchdog)
152 /* Assume all is well; watchdog signals failure. */
155 /* Assume no watchdog available; watchdog flags success */
170 * If we no hardware watchdog responded, we have not tried to
171 * attach an external software watchdog, and one is available,
182 * If we were able to arm/strobe the watchdog, then
250 snprintf(kdb_why, sizeof(kdb_why), "watchdog %s-timeout", type);
256 log(LOG_EMERG, "watchdog %s-timeout, WD_SOFT_LOG\n", type);
258 printf("watchdog %s-timeout, WD_SOFT_PRINTF\n", type);
260 panic("watchdog %s-timeout, WD_SOFT_PANIC set", type);
265 * newtimeout needs to be in the range of 0 to actual watchdog timeout.
268 * current actual watchdog timeout.
283 * so as to disable the pre-watchdog
401 .d_name = "watchdog",
428 DEV_MODULE(watchdog, watchdog_modevent, NULL);