drivers/xen/xenbus/xenbus_probe_backend.c
Source file repositories/reference/linux-study-clean/drivers/xen/xenbus/xenbus_probe_backend.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/xen/xenbus/xenbus_probe_backend.c- Extension
.c- Size
- 8338 bytes
- Lines
- 317
- Domain
- Driver Families
- Bucket
- drivers/xen
- 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/kernel.hlinux/err.hlinux/string.hlinux/ctype.hlinux/fcntl.hlinux/mm.hlinux/notifier.hlinux/export.hlinux/semaphore.hasm/page.hasm/xen/hypervisor.hasm/hypervisor.hxen/xenbus.hxen/features.hxenbus.h
Detected Declarations
function filefunction xenbus_uevent_backendfunction xenbus_probe_backend_unitfunction xenbus_probe_backendfunction frontend_will_handlefunction frontend_changedfunction backend_changedfunction read_frontend_detailsfunction xenbus_dev_is_onlinefunction __xenbus_register_backendfunction backend_probe_and_watchfunction backend_reclaim_memoryfunction backend_shrink_memory_countfunction xenbus_probe_backend_initmodule init xenbus_probe_backend_initexport xenbus_dev_is_onlineexport __xenbus_register_backend
Annotated Snippet
subsys_initcall(xenbus_probe_backend_init);
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/err.h`, `linux/string.h`, `linux/ctype.h`, `linux/fcntl.h`, `linux/mm.h`, `linux/notifier.h`, `linux/export.h`.
- Detected declarations: `function file`, `function xenbus_uevent_backend`, `function xenbus_probe_backend_unit`, `function xenbus_probe_backend`, `function frontend_will_handle`, `function frontend_changed`, `function backend_changed`, `function read_frontend_details`, `function xenbus_dev_is_online`, `function __xenbus_register_backend`.
- Atlas domain: Driver Families / drivers/xen.
- 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.