Home
last modified time | relevance | path

Searched refs:watchdog_device (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/shared/
Dwatchdog.c20 static char *watchdog_device; variable
310 fn = !watchdog_device || path_equal(watchdog_device, "/dev/watchdog") ? in open_watchdog()
311 "/dev/watchdog0" : watchdog_device; in open_watchdog()
313 r = free_and_strdup(&watchdog_device, fn); in open_watchdog()
317 watchdog_fd = open(watchdog_device, O_WRONLY|O_CLOEXEC); in open_watchdog()
319 … return log_debug_errno(errno, "Failed to open watchdog device %s, ignoring: %m", watchdog_device); in open_watchdog()
322 …no, "Hardware watchdog %s does not support WDIOC_GETSUPPORT ioctl, ignoring: %m", watchdog_device); in open_watchdog()
327 watchdog_device); in open_watchdog()
339 r = free_and_strdup(&watchdog_device, path); in watchdog_set_device()
/systemd-251/test/fuzz/fuzz-unit-file/
Ddirectives-all.service351 systemd.watchdog_device= key