drivers/vdpa/pds/aux_drv.c
Source file repositories/reference/linux-study-clean/drivers/vdpa/pds/aux_drv.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/vdpa/pds/aux_drv.c- Extension
.c- Size
- 3444 bytes
- Lines
- 141
- Domain
- Driver Families
- Bucket
- drivers/vdpa
- 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.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/auxiliary_bus.hlinux/pci.hlinux/vdpa.hlinux/virtio_pci_modern.hlinux/pds/pds_common.hlinux/pds/pds_core_if.hlinux/pds/pds_adminq.hlinux/pds/pds_auxbus.haux_drv.hdebugfs.hvdpa_dev.h
Detected Declarations
function pds_vdpa_device_id_checkfunction pds_vdpa_probefunction pds_vdpa_removefunction pds_vdpa_cleanupfunction pds_vdpa_initmodule init pds_vdpa_init
Annotated Snippet
module_init(pds_vdpa_init);
MODULE_DESCRIPTION(PDS_VDPA_DRV_DESCRIPTION);
MODULE_AUTHOR("Advanced Micro Devices, Inc");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/auxiliary_bus.h`, `linux/pci.h`, `linux/vdpa.h`, `linux/virtio_pci_modern.h`, `linux/pds/pds_common.h`, `linux/pds/pds_core_if.h`, `linux/pds/pds_adminq.h`, `linux/pds/pds_auxbus.h`.
- Detected declarations: `function pds_vdpa_device_id_check`, `function pds_vdpa_probe`, `function pds_vdpa_remove`, `function pds_vdpa_cleanup`, `function pds_vdpa_init`, `module init pds_vdpa_init`.
- Atlas domain: Driver Families / drivers/vdpa.
- 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.