drivers/watchdog/xen_wdt.c
Source file repositories/reference/linux-study-clean/drivers/watchdog/xen_wdt.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/watchdog/xen_wdt.c- Extension
.c- Size
- 4559 bytes
- Lines
- 209
- Domain
- Driver Families
- Bucket
- drivers/watchdog
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/bug.hlinux/errno.hlinux/fs.hlinux/hrtimer.hlinux/kernel.hlinux/ktime.hlinux/init.hlinux/module.hlinux/moduleparam.hlinux/platform_device.hlinux/watchdog.hxen/xen.hasm/xen/hypercall.hxen/interface/sched.h
Detected Declarations
function set_timeoutfunction xen_wdt_startfunction xen_wdt_stopfunction xen_wdt_kickfunction xen_wdt_get_timeleftfunction xen_wdt_probefunction xen_wdt_suspendfunction xen_wdt_resumefunction xen_wdt_init_modulefunction xen_wdt_cleanup_modulemodule init xen_wdt_init_module
Annotated Snippet
module_init(xen_wdt_init_module);
module_exit(xen_wdt_cleanup_module);
MODULE_AUTHOR("Jan Beulich <jbeulich@novell.com>");
MODULE_DESCRIPTION("Xen WatchDog Timer Driver");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/bug.h`, `linux/errno.h`, `linux/fs.h`, `linux/hrtimer.h`, `linux/kernel.h`, `linux/ktime.h`, `linux/init.h`, `linux/module.h`.
- Detected declarations: `function set_timeout`, `function xen_wdt_start`, `function xen_wdt_stop`, `function xen_wdt_kick`, `function xen_wdt_get_timeleft`, `function xen_wdt_probe`, `function xen_wdt_suspend`, `function xen_wdt_resume`, `function xen_wdt_init_module`, `function xen_wdt_cleanup_module`.
- Atlas domain: Driver Families / drivers/watchdog.
- Implementation status: integration implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.