drivers/parport/procfs.c
Source file repositories/reference/linux-study-clean/drivers/parport/procfs.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/parport/procfs.c- Extension
.c- Size
- 12565 bytes
- Lines
- 598
- Domain
- Driver Families
- Bucket
- drivers/parport
- 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/string.hlinux/init.hlinux/module.hlinux/errno.hlinux/kernel.hlinux/slab.hlinux/parport.hlinux/ctype.hlinux/sysctl.hlinux/device.hlinux/uaccess.h
Detected Declarations
struct parport_sysctl_tablestruct parport_device_sysctl_tablestruct parport_default_sysctl_tablefunction do_active_devicefunction do_autoprobefunction do_hardware_base_addrfunction do_hardware_irqfunction do_hardware_dmafunction do_hardware_modesfunction parport_proc_registerfunction parport_proc_unregisterfunction parport_device_proc_registerfunction parport_device_proc_unregisterfunction parport_default_proc_registerfunction parport_default_proc_unregisterfunction parport_proc_registerfunction parport_proc_unregisterfunction parport_device_proc_registerfunction parport_device_proc_unregisterfunction parport_default_proc_registerfunction parport_default_proc_unregistermodule init parport_default_proc_register
Annotated Snippet
subsys_initcall(parport_default_proc_register)
module_exit(parport_default_proc_unregister)
Annotation
- Immediate include surface: `linux/string.h`, `linux/init.h`, `linux/module.h`, `linux/errno.h`, `linux/kernel.h`, `linux/slab.h`, `linux/parport.h`, `linux/ctype.h`.
- Detected declarations: `struct parport_sysctl_table`, `struct parport_device_sysctl_table`, `struct parport_default_sysctl_table`, `function do_active_device`, `function do_autoprobe`, `function do_hardware_base_addr`, `function do_hardware_irq`, `function do_hardware_dma`, `function do_hardware_modes`, `function parport_proc_register`.
- Atlas domain: Driver Families / drivers/parport.
- 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.