drivers/pcmcia/rsrc_nonstatic.c
Source file repositories/reference/linux-study-clean/drivers/pcmcia/rsrc_nonstatic.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/pcmcia/rsrc_nonstatic.c- Extension
.c- Size
- 30152 bytes
- Lines
- 1243
- Domain
- Driver Families
- Bucket
- drivers/pcmcia
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- 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/module.hlinux/moduleparam.hlinux/init.hlinux/interrupt.hlinux/kernel.hlinux/errno.hlinux/types.hlinux/slab.hlinux/ioport.hlinux/timer.hlinux/pci.hlinux/device.hlinux/io.hasm/irq.hpcmcia/ss.hpcmcia/cistpl.hcs_internal.h
Detected Declarations
struct resource_mapstruct socket_datastruct pcmcia_align_datafunction claim_regionfunction free_regionfunction add_intervalfunction sub_intervalfunction do_io_probefunction readablefunction checksumfunction do_validate_memfunction do_mem_probefunction inv_probefunction validate_memfunction validate_memfunction pcmcia_nonstatic_validate_memfunction pcmcia_common_alignfunction pcmcia_alignfunction __nonstatic_adjust_io_regionfunction nonstatic_find_iofunction adjust_memoryfunction adjust_iofunction nonstatic_autoadd_resourcesfunction nonstatic_autoadd_resourcesfunction nonstatic_initfunction nonstatic_release_resource_dbfunction show_io_dbfunction store_io_dbfunction show_mem_dbfunction store_mem_dbfunction pccard_sysfs_add_rsrcfunction pccard_sysfs_remove_rsrcfunction nonstatic_sysfs_initfunction nonstatic_sysfs_exitmodule init nonstatic_sysfs_initexport pccard_nonstatic_ops
Annotated Snippet
module_init(nonstatic_sysfs_init);
module_exit(nonstatic_sysfs_exit);
Annotation
- Immediate include surface: `linux/module.h`, `linux/moduleparam.h`, `linux/init.h`, `linux/interrupt.h`, `linux/kernel.h`, `linux/errno.h`, `linux/types.h`, `linux/slab.h`.
- Detected declarations: `struct resource_map`, `struct socket_data`, `struct pcmcia_align_data`, `function claim_region`, `function free_region`, `function add_interval`, `function sub_interval`, `function do_io_probe`, `function readable`, `function checksum`.
- Atlas domain: Driver Families / drivers/pcmcia.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
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.