watchdog_stop(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the watchdog_stop(9) page from the Kernel API Manual πŸ’– this is the stop-the-watchdog wrapper and we’re gonna get into the whole vibe: the argument, the lock situation, the 'nowayout' caveat, the return value, and every single SEE ALSO friend. no cap, all the facts are staying right here. 🫢

🌸 NAME 🌸

watchdog_stop β€” wrapper to stop the watchdog. periodt. πŸ’…

✨ SYNOPSIS ✨

int watchdog_stop (struct watchdog_device *wdd );

πŸŽ€ ARGUMENTS πŸŽ€

  • wdd β€” the watchdog device to stop. that’s the one, bestie πŸ¦‹

πŸ’œ DESCRIPTION πŸ’œ

okay so here’s the tea: stop the watchdog if it is still active and unmark it active. ✨

If the 'nowayout' feature was set, the watchdog cannot be stopped β€” like, at all, bestie, no cap. 🚨

The caller must hold wd_data->lock. not optional, not a suggestion, that’s the rule. πŸ”’

⭐ RETURN ⭐

0 on success or a negative errno code for failure. so: slay on 0, sad little negative number on failure 😭

🌈 SEE ALSO 🌈

Kernel file ./drivers/watchdog/watchdog_dev.c β€” plus the whole group chat: watchdog_ping(9), watchdog_start(9), watchdog_get_status(9), watchdog_set_timeout(9), watchdog_set_pretimeout(9), watchdog_get_timeleft(9), watchdog_ioctl_op(9), watchdog_write(9), watchdog_ioctl(9), watchdog_open(9), watchdog_release(9), watchdog_cdev_register(9), watchdog_cdev_unregister(9), watchdog_dev_register(9), watchdog_dev_unregister(9), watchdog_set_last_hw_keepalive(9), watchdog_dev_init(9), watchdog_dev_exit(9). πŸ’–


made with love from ./drivers/watchdog, dated October 2026 πŸŽ€πŸ’– that’s the source/version + date moment, bestie β€” bye! πŸ¦‹

πŸ“¦ where this page comes from